ParameterSettableCreatorT< T, ConfigureInConstructor > Class Template Reference
The class implementing the create function of the class above. More...
Inheritance diagram for ParameterSettableCreatorT< T, ConfigureInConstructor >:
Public Member Functions | |
virtual | ~ParameterSettableCreatorT () |
Destructor. More... | |
virtual bool | canDeferConfiguration () const |
Returns true if the object that is created can be configured after creation. More... | |
virtual ParameterSettableInConstructor * | create (ConfigurationParameters &settings, QString prefix, bool configure) const |
Creates an instance and configures it. More... | |
Public Member Functions inherited from ParameterSettableCreator | |
virtual | ~ParameterSettableCreator () |
Destructor. More... | |
Detailed Description
template<class T, bool ConfigureInConstructor>
class farsa::ParameterSettableCreatorT< T, ConfigureInConstructor >
The class implementing the create function of the class above.
Use this for classes requesting configuration in the constructor
- Note
- All methods are reentrant
Definition at line 93 of file realfactory.h.
Constructor & Destructor Documentation
|
inlinevirtual |
Destructor.
Definition at line 99 of file realfactory.h.
Member Function Documentation
|
inlinevirtual |
Returns true if the object that is created can be configured after creation.
- Returns
- always false
Implements ParameterSettableCreator.
Definition at line 123 of file realfactory.h.
|
virtual |
Creates an instance and configures it.
- Parameters
-
settings the object with configuration settings for initializing the newly created object prefix the prefix for configuration parameters (i.e. the group containing parameters). When calling configure for the new object, prefix is appended with the separator configure ignored (the object is always created and configured)
- Returns
- the new object
Implements ParameterSettableCreator.
Definition at line 412 of file realfactory.h.
References ConfigurationParameters::GroupSeparator().
The documentation for this class was generated from the following file:
- configuration/include/realfactory.h