parametersettable.h
62 Default = 0x0000,
64 IsList = 0x0001,
66 IsMandatory = 0x0002,
71 AllowMultiple = 0x0004
245 ParameterSettable::runtimeParameters[paramPath] = new MethodSetter<T, QString>( paramPath, setter, getter );
293 ParameterSettable::runtimeParameters[paramPath] = new MethodSetter<T, int>( paramPath, setter, getter );
342 ParameterSettable::runtimeParameters[paramPath] = new MethodSetter<T, double>( paramPath, setter, getter );
358 ParameterSettable::runtimeParameters[paramPath] = new MethodSetter<T, float>( paramPath, setter, getter );
399 ParameterSettable::runtimeParameters[paramPath] = new MethodSetter<T, bool>( paramPath, setter, getter );
442 ParameterSettable::runtimeParameters[paramPath] = new MethodSetter<T, unsigned int>( paramPath, setter, getter );
696 static Descriptor addTypeDescription( QString type, QString shortHelp, QString longHelp=QString("") );
707 // this friend allow to correctly set the typeName of a ParameterSettable only by the RealFactory
This file contains the common type defitions used on the whole framework.
Utility Class for customize the description of Enum-like parameter.
Definition: parametersettable.h:418
The class implementing the setter when the parameter can changed by directly access to the value usin...
Definition: runtimeparametersetters.h:157
Utility Class for customize the description of an object parameter.
Definition: parametersettable.h:461
Utility Class for customize the description of String parameter.
Definition: parametersettable.h:223
RealDescriptor & runtime(void(T::*setter)(double), double(T::*getter)() const )
set the runtime accessors for this parameter
Definition: parametersettable.h:339
virtual void get(ParameterSettable *object, QString &ret)
Return the value of the object's parameter supposing that the parameter's type is QString...
Definition: runtimeparametersetters.cpp:64
virtual ParameterSettableUI * getUIManager()
Return an instance of the ParameterSettableUI class that handle the viewers for the GUI...
Definition: parametersettable.h:130
Utility Class for customize the description of Real valued parameter.
Definition: parametersettable.h:312
StringDescriptor & runtime(void(T::*setter)(QString), QString(T::*getter)() const )
set the runtime accessors for this parameter
Definition: parametersettable.h:243
virtual void onParameterChanges(ParameterSettable *object, QString paramName)=0
called when a runtime parameter changes its value
RealDescriptor & runtime(void(T::*setter)(float), float(T::*getter)() const )
set the runtime accessors for this parameter
Definition: parametersettable.h:355
virtual void postConfigureInitialization()
This function is called after all linked objects have been configured.
Definition: parametersettable.h:123
Definition: configurationhelper.cpp:24
The class containing configuration parameters.
Definition: configurationparameters.h:259
the interface for any observer who needs to be notified when a runtime parameter changes ...
Definition: runtimeparametersetters.h:33
The base for classes that can be configured using a ConfigurationParameters object passed to the cons...
Definition: parametersettable.h:741
The base for classes that can be configured/saved using a ConfigurationParameters object...
Definition: parametersettable.h:51
void setRuntimeParameter(QString paramName, T newvalue)
set the value of the object's parameter previously marked as runtime modifiable
Definition: parametersettable.h:145
This is the base class for the hierarchy for wrapping the methods for setting a runtime modifiable pa...
Definition: runtimeparametersetters.h:48
Utility Class for customize the description of a subgroup.
Definition: parametersettable.h:487
EnumDescriptor & runtime(void(T::*setter)(unsigned int), unsigned int(T::*getter)() const )
set the runtime accessors for this parameter
Definition: parametersettable.h:440
Utility Class for describe the parameters of a ParameterSettable.
Definition: parametersettable.h:583
Utility Class for customize the description of Integer parameter.
Definition: parametersettable.h:264
IntDescriptor & runtime(void(T::*setter)(int), int(T::*getter)() const )
set the runtime accessors for this parameter
Definition: parametersettable.h:291
The ParameterSettableUI is the base (abstract) class that manage/create the graphic user interface fo...
Definition: parametersettableui.h:67
The base for classes that can be configured using a ConfigurationParameters object.
Definition: parametersettable.h:789
T getRuntimeParameter(QString paramName)
return the value of the object's parameter previously marked as runtime modifiable ...
Definition: parametersettable.h:166
Property
this enum is used to describe the properties of a parameter or a subgroup in a type description ...
Definition: parametersettable.h:60
BoolDescriptor & runtime(void(T::*setter)(bool), bool(T::*getter)() const )
set the runtime accessors for this parameter
Definition: parametersettable.h:397
virtual QString set(ParameterSettable *object, QString newvalue)
Set the value of the object's parameter supposing that the parameter's type is QString.
Definition: runtimeparametersetters.cpp:28
Utility Class for customize the description of Boolean parameter.
Definition: parametersettable.h:377
ParameterSettableInConstructor(ConfigurationParameters &, QString)
Constructor.
Definition: parametersettable.h:767
The exception thrown when requested a runtime modification of a parameter not marked as runtime modif...
Definition: configurationexceptions.h:865