#include <Parameter.h>
Inheritance diagram for dtpf::RangeParameter:

RangeParameter is a SpecificParameter for numeric parameters with a value between minimum and maximum bounds with a increment step.
Public Member Functions | |
| RangeParameter (const muscle::String &name, const T &value, const T &default, const T &min, const T &max, const T &step) | |
Construct a RangeParameter with the given name; given initial, default, minimum and maximum values; and given step between values. | |
| virtual | ~RangeParameter () |
Destroy a RangeParameter. | |
| virtual void | SetValue (const T &value) |
| Set the parameter value which must lie between the minimum and maximum, inclusive. | |
| void | SetMinimum (const T &min) |
| Set the minimum allowable value. | |
| T | GetMinimum () const |
| Get the minimum allowable value. | |
| void | SetMaximum (const T &max) |
| Set the maximum allowable value. | |
| T | GetMaximum () const |
| Get the maximum allowable value. | |
| void | SetStep (const T &step) |
| Set the step between allowable values. | |
| T | GetStep () const |
| Get the step between allowable values. | |
| virtual void | SetUIType (ParameterUIType uiType) |
| Set the UI type to one comaptible with a numeric range parameter. | |
Protected Attributes | |
| T | m_min |
| The minimum allowable parameter value. | |
| T | m_max |
| The maximum allowable parameter value. | |
| T | m_step |
| The step between allowable values. | |
|
||||||||||||||||||||||||||||
|
Construct a
|
|
|
Destroy a
|
|
|
Get the maximum allowable value.
|
|
|
Get the minimum allowable value.
|
|
|
Get the step between allowable values.
|
|
|
Set the maximum allowable value. The new maximum must be greater than the minimum.
|
|
|
Set the minimum allowable value. The new minimum must be less than the maximum.
|
|
|
Set the step between allowable values. The step must be positive and no larger than the difference between the minimum and maximum values. |
|
|
Set the UI type to one comaptible with a numeric range parameter.
Implements dtpf::Parameter. |
|
|
Set the parameter value which must lie between the minimum and maximum, inclusive.
If the step has been set to a non-zero value, the new value must satisfy:
Reimplemented from dtpf::SpecificParameter. |
|
|
The maximum allowable parameter value.
|
|
|
The minimum allowable parameter value.
|
|
|
The step between allowable values.
|
1.3.9.1