#include <Parameter.h>
Inheritance diagram for dtpf::Parameter:
Parameter
itself has a ParameterType
which indicates the type of value the parameter represents, and a ParameterUIType
representing the preferred user interface to use for input and display of a Parameter
.
Parameter
is an ParameterTreeVertex
with no child vertices.
Public Member Functions | |
virtual | ~Parameter () |
Release a Parameter 's memory. | |
virtual ParameterType | GetParameterType () const |
Get a Parameter 's type. | |
virtual void | SetUIType (ParameterUIType uiType)=0 |
Set the preferred UI type. | |
virtual ParameterUIType | GetUIType () const |
Get a Parameter 's preferred UI type. | |
virtual uint32 | TypeCode () const |
Get the type code identifying the Parameter class. | |
virtual uint32 | FlattenedSize () const |
Returns the number of bytes needed to store a ParameterTreeVertex object in its current state. | |
virtual void | Flatten (uint8 *buffer) const |
Write a ParameterTreeVertex 's state to a byte array. | |
virtual status_t | Unflatten (const uint8 *buffer, uint32 size) |
Set an object's state from a byte array. | |
Protected Member Functions | |
Parameter () | |
Constuct an empty Parameter . | |
Parameter (const muscle::String &name, ParameterType paramType, ParameterUIType uiType) | |
Construct a Parameter with the given name, parameter type and UI type. | |
Parameter (const Parameter &that) | |
Construct a Parameter from another. | |
Parameter & | operator= (const Parameter &that) |
Assign one Parameter from another. | |
Protected Attributes | |
ParameterType | m_paramType |
The ParameterType , set by subclasses. | |
ParameterUIType | m_uiType |
The ParameterUIType . |
|
Release a
|
|
Constuct an empty
|
|
Construct a
|
|
Construct a
|
|
Write a
Reimplemented from dtpf::ParameterTreeVertex. |
|
Returns the number of bytes needed to store a Overridden to return the flattened size for a particular subclass.
Reimplemented from dtpf::ParameterTreeVertex. |
|
Get a
|
|
Get a
|
|
Assign one
|
|
Set the preferred UI type.
Implemented in dtpf::OnOffParameter, dtpf::GroupParameter, dtpf::RangeParameter, dtpf::FileParameter, and dtpf::TextParameter. |
|
Get the type code identifying the
Implements dtpf::ParameterTreeVertex. |
|
Set an object's state from a byte array.
The
Reimplemented from dtpf::ParameterTreeVertex. |
|
The
|
|
The
|