#include <Parameter.h>
Inheritance diagram for dtpf::SpecificParameter:
SpecificParameter
extends Parameter
to managing a value of templated type.
This inheritance relationship allows Parameter
s to be treated polymorphically for some operations since there is a single common superclass, while SpecificParameter
s can be treated generically using templated types.
Public Member Functions | |
virtual | ~SpecificParameter () |
Destroy a SpecificParameter . | |
virtual void | SetValue (const T &value) |
Set a parameter's value. | |
virtual T | GetValue () const |
Get a parameter's value. | |
virtual void | SetDefault (const T &default) |
Set a parameter's default value. | |
virtual T | GetDefault () const |
Get a parameter's default value. | |
Protected Member Functions | |
SpecificParameter (const muscle::String &name, ParamType paramType, ParamUIType uiType, const T &value, const T &default) | |
Construct a specific parameter with the given name, parameter type, UI type, and initial and default values. | |
Protected Attributes | |
T | m_value |
The current parameter value. | |
T | m_default |
The default parameter value. |
|
Destroy a
|
|
Construct a specific parameter with the given name, parameter type, UI type, and initial and default values.
|
|
Get a parameter's default value.
|
|
Get a parameter's value.
|
|
Set a parameter's default value.
|
|
Set a parameter's value.
Reimplemented in dtpf::GroupParameter, dtpf::RangeParameter, dtpf::FileParameter, and dtpf::TextParameter. |
|
The default parameter value.
|
|
The current parameter value.
|