ParameterSettableCreatorT< T, false > Class Template Reference

The class implementing the create function of the class above. More...

Inheritance diagram for ParameterSettableCreatorT< T, false >:

Public Member Functions

virtual ~ParameterSettableCreatorT ()
 Destructor.
 
virtual bool canDeferConfiguration () const
 Returns true if the object that is created can be configured after creation.
 
virtual
ParameterSettableWithConfigureFunction
create (ConfigurationParameters &settings, QString prefix, bool configure) const
 Creates an instance and configures it.
 
- Public Member Functions inherited from ParameterSettableCreator
virtual ~ParameterSettableCreator ()
 Destructor.
 

Detailed Description

template<class T>
class farsa::ParameterSettableCreatorT< T, false >

The class implementing the create function of the class above.

Use this for classes having a configure function

Note
All methods are reentrant

Definition at line 139 of file realfactory.h.

Constructor & Destructor Documentation

virtual ~ParameterSettableCreatorT ( )
inlinevirtual

Destructor.

Definition at line 145 of file realfactory.h.

Member Function Documentation

virtual bool canDeferConfiguration ( ) const
inlinevirtual

Returns true if the object that is created can be configured after creation.

Returns
always true

Implements ParameterSettableCreator.

Definition at line 169 of file realfactory.h.

ParameterSettableWithConfigureFunction * create ( ConfigurationParameters settings,
QString  prefix,
bool  configure 
) const
virtual

Creates an instance and configures it.

Parameters
settingsthe object with configuration settings for initializing the newly created object
prefixthe prefix for configuration parameters (i.e. the group containing parameters). When calling configure for the new object, prefix is appended with the separator
configureif true the object is created and configured, if false only the creation step is performed
Returns
the new object

Implements ParameterSettableCreator.

Definition at line 434 of file realfactory.h.

References ConfigurationParameters::GroupSeparator().


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