DUNE: Uniform Navigational Environment  2016.05.0
DUNE::Tasks::Factory Struct Reference

Public Types

typedef std::map< std::string,
Creator
Table
 

Static Public Member Functions

static DUNE::Tasks::Taskproduce (const std::string &name, const std::string &label, Context &ctx)
 
static bool exists (const std::string &name)
 
static void registerStaticTask (const std::string &name, task_creator_t creator)
 
static void registerDynamicTask (const char *file)
 
static void registerDynamicTasks (const char *folder)
 
static int getRegisteredCount (void)
 
static TablegetTable (void)
 

Member Typedef Documentation

typedef std::map<std::string, Creator> DUNE::Tasks::Factory::Table

Low-level task table.

Member Function Documentation

bool DUNE::Tasks::Factory::exists ( const std::string &  name)
static
int DUNE::Tasks::Factory::getRegisteredCount ( void  )
static

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

Factory::Table & DUNE::Tasks::Factory::getTable ( void  )
static
DUNE::Tasks::Task * DUNE::Tasks::Factory::produce ( const std::string &  name,
const std::string &  label,
Context ctx 
)
static

References exists().

void DUNE::Tasks::Factory::registerDynamicTask ( const char *  file)
static

References DUNE::FileSystem::Path.

Referenced by registerDynamicTasks().

void DUNE::Tasks::Factory::registerDynamicTasks ( const char *  folder)
static
void DUNE::Tasks::Factory::registerStaticTask ( const std::string &  name,
task_creator_t  creator 
)
static
Collaboration diagram for DUNE::Tasks::Factory:
Collaboration graph