Fawkes API  Fawkes Development Version
fawkes::ModuleManagerFactory Class Reference

Class with just one static method to retrieve a module manager for the specified type. More...

#include <utils/system/dynamic_module/module_manager_factory.h>

List of all members.

Public Types

enum  ModuleManagerType { MMT_DL = 1 }
 The module manager type. More...

Static Public Member Functions

static ModuleManagergetInstance (ModuleManagerType mmt, const char *module_base_dir="")
 Retrieve an module manager instance of the desired type.

Detailed Description

Class with just one static method to retrieve a module manager for the specified type.

The main reason for this class is to hide the ModuleManagerTemplate definition from ordinary processes.


Member Enumeration Documentation

The module manager type.

Enumerator:
MMT_DL 

Standard dl modules, used on Linux systems.

Definition at line 37 of file module_manager_factory.h.


Member Function Documentation

ModuleManager * fawkes::ModuleManagerFactory::getInstance ( ModuleManagerType  mmt,
const char *  module_base_dir = "" 
) [static]

Retrieve an module manager instance of the desired type.

Parameters:
mmtModuleManagerType
module_base_dirThe base directory where to look for modules, plainly copied to the module manager, defaults to the empty string which is in most cases not desired
Returns:
Returns an instance of a ModuleManager implementation. Delete after you are done with this!

Definition at line 46 of file module_manager_factory.cpp.

References MMT_DL.

Referenced by fawkes::BlackBoardInstanceFactory::BlackBoardInstanceFactory(), and fawkes::PluginLoader::PluginLoader().


The documentation for this class was generated from the following files: