Client-side interface for injecting log data into the log queue.
Definition: Logger.h:30
Module(Str name, Str description)
Protected constructor for abstract base class.
Definition: Module.cpp:101
Behavior *(* BehaviorCreator)(const Str &, const Module *module)
Behavor factory interfaces.
Definition: Behavior.h:137
void unregisterComponent(Component *comp)
Definition: Module.cpp:67
virtual void loadComponents(Logger &logger)=0
loads the collection of components belonging to this module
Contains the Component class definition.
virtual ~Module()
destructor
Definition: Module.cpp:17
virtual FlexArray< Component * > * getComponents()
returns a vector of components in the module
Definition: Module.cpp:37
Str description_
Definition: Module.h:74
Definition: ElementURI.h:166
Contains the Behavior class definition.
Module is the abstract base class for a collection of Component objects that can be contained in a lo...
Definition: Module.h:45
Str name_
Definition: Module.h:73
Replacement for standard template class string.
Definition: Str.h:12
Abstract Base class for software components.
Definition: Component.h:53
Module * create_module_t()
Class factories.
Definition: Module.h:95
bool loadAtStartup(const ConfigURI &loadCfg, Logger &logger, bool forceIfMissing=false)
Definition: Module.cpp:89
FlexArray< Component * > components_
Definition: Module.h:77
void registerBehaviorCreator(const Str &creatorName, BehaviorCreator behaviorCreator)
Definition: Module.cpp:62
Code unit that represents the slate.
Definition: Slate.h:73
virtual const Str & getDescription()
returns a description of the module
Definition: Module.cpp:49
virtual const Str & getName() const
returns the name of the module
Definition: Module.cpp:43
void registerComponent(Component *comp)
Definition: Module.cpp:54
void destroy_module_t(Module *)
destroy_module must be implemented, following the class implementation: extern "C" void destroy(Modul...
Definition: Module.h:102