Builder for objects with configuration. More...
#include <moduleInterface.hpp>
Public Member Functions | |
ConfiguredBuilder (const char *title, const char *section, const char *keyword, const char *className) | |
Constructor. More... | |
virtual | ~ConfiguredBuilder () |
virtual const char * | objectClassName () const |
virtual ObjectConstructorBase::ObjectType | objectType () const =0 |
Get the type of the object: filter, audit, command handler etc. This is not the same as the objectName. More... | |
virtual config::NamedConfiguration * | configuration (const char *logPrefix)=0 |
Get the configuration for the object. More... | |
virtual ObjectConstructorBase * | constructor ()=0 |
get the virtual constructor for the object More... | |
Public Member Functions inherited from _Wolframe::module::BuilderBase | |
virtual | ~BuilderBase () |
Protected Attributes | |
const char * | m_title |
used for printing (logging etc.) More... | |
const char * | m_section |
const char * | m_keyword |
const char * | m_className |
Friends | |
class | ModulesDirectory |
Builder for objects with configuration.
|
inline |
Constructor.
title | string used for printing purposes, usually logging. |
section | configuration section (parent node) |
keyword | keyword in the configuration section. The object configuration is bind to the section, keyword pair |
className | the name of the class that the built constructor will build |
|
inlinevirtual |
|
pure virtual |
Get the configuration for the object.
logPrefix | string to print before the log messages generated inside this object. Same as for any confiuration object. |
Implemented in _Wolframe::module::ConfiguredBuilderDescription< Tconstructor, Tconf >.
|
pure virtual |
get the virtual constructor for the object
Implements _Wolframe::module::BuilderBase.
Implemented in _Wolframe::module::ConfiguredBuilderDescription< Tconstructor, Tconf >.
|
inlinevirtual |
Implements _Wolframe::module::BuilderBase.
|
pure virtual |
Get the type of the object: filter, audit, command handler etc. This is not the same as the objectName.
Implements _Wolframe::module::BuilderBase.
Implemented in _Wolframe::module::ConfiguredBuilderDescription< Tconstructor, Tconf >.
|
friend |
|
protected |
|
protected |
|
protected |
configuration section to which the configuration parser reacts
|
protected |
used for printing (logging etc.)
Copyright © 2014 - Project Wolframe - All Rights Reserved