DUNE: Uniform Navigational Environment  2.5.0
DUNE::Tasks::EntityDataBase Class Reference

Classes

struct  Entity
 
struct  InvalidId
 
struct  InvalidLabel
 
struct  NonexistentLabel
 
struct  ReservedUnique
 

Public Member Functions

 EntityDataBase (void)
 
 ~EntityDataBase (void)
 
bool labelExists (const std::string &name)
 
bool idExists (unsigned int id)
 
unsigned int reserve (const std::string &label, const std::string &task_name, uint16_t act_time, uint16_t deact_time)
 
unsigned int resolve (const std::string &label)
 
std::string resolveTaskName (const std::string &label)
 
const std::string & resolve (unsigned int id)
 
void contents (std::vector< Entity * > &devs)
 
std::map< unsigned, std::string > entries (void)
 

Constructor & Destructor Documentation

DUNE::Tasks::EntityDataBase::EntityDataBase ( void  )
inline
DUNE::Tasks::EntityDataBase::~EntityDataBase ( void  )
inline

Member Function Documentation

void DUNE::Tasks::EntityDataBase::contents ( std::vector< Entity * > &  devs)
inline
std::map<unsigned, std::string> DUNE::Tasks::EntityDataBase::entries ( void  )
inline
bool DUNE::Tasks::EntityDataBase::idExists ( unsigned int  id)
inline
bool DUNE::Tasks::EntityDataBase::labelExists ( const std::string &  name)
inline
unsigned int DUNE::Tasks::EntityDataBase::reserve ( const std::string &  label,
const std::string &  task_name,
uint16_t  act_time,
uint16_t  deact_time 
)
inline
unsigned int DUNE::Tasks::EntityDataBase::resolve ( const std::string &  label)
inline
const std::string& DUNE::Tasks::EntityDataBase::resolve ( unsigned int  id)
inline
std::string DUNE::Tasks::EntityDataBase::resolveTaskName ( const std::string &  label)
inline

Referenced by DUNE::Daemon::consume().

Collaboration diagram for DUNE::Tasks::EntityDataBase:
Collaboration graph