ParameterSettableCreator Class Referenceabstract
The base class for object creators. The implementation is in the template class below. More...
Inheritance diagram for ParameterSettableCreator:
Public Member Functions | |
virtual | ~ParameterSettableCreator () |
Destructor. | |
virtual bool | canDeferConfiguration () const =0 |
Returns true if the object that is created can be configured after creation. | |
virtual ParameterSettable * | create (ConfigurationParameters &settings, QString prefix, bool configure) const =0 |
Creates an instance and configures it. | |
Detailed Description
The base class for object creators. The implementation is in the template class below.
Definition at line 45 of file realfactory.h.
Constructor & Destructor Documentation
|
inlinevirtual |
Destructor.
Definition at line 51 of file realfactory.h.
Member Function Documentation
|
pure virtual |
Returns true if the object that is created can be configured after creation.
- Returns
- true if the object that is created can be configured after creation
Implemented in ParameterSettableCreatorT< T, false >, and ParameterSettableCreatorT< T, ConfigureInConstructor >.
|
pure virtual |
Creates an instance and configures it.
The implementation is in the template class below
- 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) configure if true the object is created and configured, if false only the creation step is performed. This is only taken into account if the canDeferConfiguration() function below returns true, otherwise is ignored (and the object is created and configured)
- Returns
- the new object
Implemented in ParameterSettableCreatorT< T, false >, and ParameterSettableCreatorT< T, ConfigureInConstructor >.
The documentation for this class was generated from the following file:
- configuration/include/realfactory.h