Om
1.0.0
A universal framework for multimedia simulation
|
A class that represents information about a particular SoundFilter parameter. More...
#include <omSoundFilterParameterInfo.h>
Public Member Functions | |
FilterParameterInfo () | |
Create an uninitialized filter parameter information class. More... | |
FilterParameterInfo (UInt32 newIndex, const UTF8String &newName, FilterParameterType newType, FilterParameterUnits newUnits, FilterParameterCurve newCurve, FilterParameterValue newMinimum, FilterParameterValue newMaximum, FilterParameterValue newDefault, FilterParameterFlags newFlags) | |
Create a new parameter information object with the specified attributes. More... | |
UInt32 | getIndex () const |
Return the index of this parameter within its host SoundFilter. More... | |
const UTF8String & | getName () const |
Return a reference to a human-readable name string for this parameter. More... | |
FilterParameterType | getType () const |
Return an object indicating the actual type of this filter parameter. More... | |
FilterParameterUnits | getUnits () const |
Return an object indicating the units of this filter parameter. More... | |
FilterParameterCurve | getCurve () const |
Return an object indicating the display curve of this filter parameter. More... | |
FilterParameterFlags | getFlags () const |
Return an object indicating boolean attributes of this filter parameter. More... | |
Bool | getMinimum (Bool &booleanValue) const |
Query a boolean minimum value of this filter parameter. More... | |
Bool | getMinimum (Int64 &integerValue) const |
Query an integer or enumeration minimum value of this filter parameter. More... | |
Bool | getMinimum (Float32 &floatValue) const |
Query a float minimum value of this filter parameter. More... | |
Bool | getMinimum (Float64 &doubleValue) const |
Query a double minimum value of this filter parameter. More... | |
FilterParameter | getMinimum () const |
Return a generic-typed minimum value for this parameter. More... | |
Bool | getMaximum (Bool &booleanValue) const |
Query a boolean maximum value of this filter parameter. More... | |
Bool | getMaximum (Int64 &integerValue) const |
Query an integer or enumeration maximum value of this filter parameter. More... | |
Bool | getMaximum (Float32 &floatValue) const |
Query a float maximum value of this filter parameter. More... | |
Bool | getMaximum (Float64 &doubleValue) const |
Query a double maximum value of this filter parameter. More... | |
FilterParameter | getMaximum () const |
Return a generic-typed maximum value for this parameter. More... | |
Bool | getDefault (Bool &booleanValue) const |
Query a boolean default value of this filter parameter. More... | |
Bool | getDefault (Int64 &integerValue) const |
Query an integer or enumeration default value of this filter parameter. More... | |
Bool | getDefault (Float32 &floatValue) const |
Query a float default value of this filter parameter. More... | |
Bool | getDefault (Float64 &doubleValue) const |
Query a double default value of this filter parameter. More... | |
FilterParameter | getDefault () const |
Return a generic-typed default value for this parameter. More... | |
A class that represents information about a particular SoundFilter parameter.
|
inline |
Create an uninitialized filter parameter information class.
The information stored in this class does not represent any valid parameter information.
|
inline |
Create a new parameter information object with the specified attributes.
|
inline |
Return the index of this parameter within its host SoundFilter.
|
inline |
Return a reference to a human-readable name string for this parameter.
|
inline |
Return an object indicating the actual type of this filter parameter.
|
inline |
Return an object indicating the units of this filter parameter.
|
inline |
Return an object indicating the display curve of this filter parameter.
|
inline |
Return an object indicating boolean attributes of this filter parameter.
Query a boolean minimum value of this filter parameter.
If this parameter can be converted to a type of BOOLEAN, the method returns TRUE and the minimum boolean value for this parameter is placed in the output parameter. Otherwise, FALSE is returned and no minimum value is set.
Query an integer or enumeration minimum value of this filter parameter.
If this parameter can be converted to a type of INTEGER or ENUMERATION, the method returns TRUE and the minimum integer value for this parameter is placed in the output parameter. Otherwise, FALSE is returned and no minimum value is set.
Query a float minimum value of this filter parameter.
If this parameter can be converted to a type of FLOAT, the method returns TRUE and the minimum float value for this parameter is placed in the output parameter. Otherwise, FALSE is returned and no minimum value is set.
Query a double minimum value of this filter parameter.
If this parameter can be converted to a type of DOUBLE, the method returns TRUE and the minimum double value for this parameter is placed in the output parameter. Otherwise, FALSE is returned and no minimum value is set.
|
inline |
Return a generic-typed minimum value for this parameter.
Query a boolean maximum value of this filter parameter.
If this parameter can be converted to a type of BOOLEAN, the method returns TRUE and the maximum boolean value for this parameter is placed in the output parameter. Otherwise, FALSE is returned and no maximum value is set.
Query an integer or enumeration maximum value of this filter parameter.
If this parameter can be converted to a type of INTEGER or ENUMERATION, the method returns TRUE and the maximum integer value for this parameter is placed in the output parameter. Otherwise, FALSE is returned and no maximum value is set.
Query a float maximum value of this filter parameter.
If this parameter can be converted to a type of FLOAT, the method returns TRUE and the maximum float value for this parameter is placed in the output parameter. Otherwise, FALSE is returned and no maximum value is set.
Query a double maximum value of this filter parameter.
If this parameter can be converted to a type of DOUBLE, the method returns TRUE and the maximum double value for this parameter is placed in the output parameter. Otherwise, FALSE is returned and no maximum value is set.
|
inline |
Return a generic-typed maximum value for this parameter.
Query a boolean default value of this filter parameter.
If this parameter can be converted to a type of BOOLEAN, the method returns TRUE and the default boolean value for this parameter is placed in the output parameter. Otherwise, FALSE is returned and no default value is set.
Query an integer or enumeration default value of this filter parameter.
If this parameter can be converted to a type of INTEGER or ENUMERATION, the method returns TRUE and the default integer value for this parameter is placed in the output parameter. Otherwise, FALSE is returned and no default value is set.
Query a float default value of this filter parameter.
If this parameter can be converted to a type of FLOAT, the method returns TRUE and the default float value for this parameter is placed in the output parameter. Otherwise, FALSE is returned and no default value is set.
Query a double default value of this filter parameter.
If this parameter can be converted to a type of DOUBLE, the method returns TRUE and the default double value for this parameter is placed in the output parameter. Otherwise, FALSE is returned and no default value is set.
|
inline |
Return a generic-typed default value for this parameter.