#include <ParameterGroup.h>
Inheritance diagram for dtpf::ParameterGroup:
ParameterGroup
provides grouping and management of Parameter
s for use by DTPF Node
s and client applications.
A ParameterGroup
can contain Parameter
s and other ParameterGroup
s. Inherits from muscle::Flattenable
to support writing the state to a byte array.
Public Member Functions | |
ParameterGroup () | |
Create an empty, unnamed ParameterGroup . | |
ParameterGroup (const muscle::String &name) | |
Create an empty, named ParameterGroup . | |
ParameterGroup (const ParameterGroup &that) | |
Create a deep copy of an existing ParameterGroup , recursively including all children. | |
virtual | ~ParameterGroup () |
Delete a ParameterGroup and any memory it owns. | |
ParameterGroup & | operator= (const ParameterGroup &that) |
Assign a ParameterGroup from another. | |
bool | operator== (const ParameterGroup &that) const |
Compare against another ParameterGroup for equality. | |
bool | operator!= (const ParameterGroup &that) const |
Compare against another ParameterGroup for inequality. | |
status_t | AddParameter (Parameter *param) |
Add a Parameter . | |
Parameter * | RemoveParameter (Parameter *param) |
Remove a given Parameter . | |
Parameter * | RemoveParameter (const muscle::String ¶mName) |
Remove a given Parameter by name. | |
bool | HasParameter (Parameter *param) const |
Find out if a ParameterGroup contains a Parameter . | |
bool | HasParameter (const muscle::String ¶mName) const |
Find out if a ParameterGroup contains a Parameter by name. | |
Parameter * | GetParameter (const muscle::String ¶mName) const |
Retrieve a Parameter by name. | |
const muscle::List< Parameter * > & | GetParameters () const |
Retrieve a list of Parameter s contained in a ParameterGroup . | |
uint32 | CountParameters () const |
Get the number of Parameter s a ParameterGroup contains. | |
status_t | ParameterChanged (ParameterGroup *updateGroup) |
Update parameters when they are changed to reflect the current state. | |
virtual uint32 | TypeCode () const |
Get the type code for the ParameterGroup class. | |
virtual uint32 | FlattenedSize () const |
Returns the number of bytes needed to store a ParameterGroup object in its current state. | |
virtual void | Flatten (uint8 *buffer) const |
Write a ParameterGroup 's state to a byte array. | |
virtual status_t | Unflatten (const uint8 *buffer, uint32 size) |
Set a ParameterGroup object's state from a byte array. |
|
Create an empty, unnamed A name must be given to the group before it can be used. |
|
Create an empty, named
|
|
Create a deep copy of an existing
|
|
Delete a
|
|
Add a
The
|
|
Get the number of
|
|
Write a
Reimplemented from dtpf::ParameterTreeVertex. Reimplemented in dtpf::DataFormat, and dtpf::ParameterTree. |
|
Returns the number of bytes needed to store a
Reimplemented from dtpf::ParameterTreeVertex. Reimplemented in dtpf::DataFormat, and dtpf::ParameterTree. |
|
Retrieve a
This does not consider child
|
|
Retrieve a list of
If this group contains no
|
|
Find out if a
This does not consider child
|
|
Find out if a
This does not consider child
|
|
Compare against another
This is the logical negation of the
|
|
Assign a
Copies will recursively be made of all children in the parameter tree rooted at the copied
|
|
Compare against another
Two
|
|
Update parameters when they are changed to reflect the current state.
|
|
Remove a given
This does not consider child
|
|
Remove a given
This does not consider child
|
|
Get the type code for the
Implements dtpf::ParameterTreeVertex. Reimplemented in dtpf::DataFormat, and dtpf::ParameterTree. |
|
Set a
Reimplemented from dtpf::ParameterTreeVertex. Reimplemented in dtpf::DataFormat, and dtpf::ParameterTree. |