Used to communicate the state between the UI and the RT and read/write to stream.
More...
#include <NormalizedState.h>
Used to communicate the state between the UI and the RT and read/write to stream.
◆ NormalizedState() [1/2]
| NormalizedState |
( |
SaveOrder const * | iSaveOrder | ) |
|
|
explicit |
◆ ~NormalizedState()
◆ NormalizedState() [2/2]
| NormalizedState |
( |
NormalizedState const & | other | ) |
|
◆ copyValuesFrom()
Copy values from the source (iSource) state to this state.
This call will only copies the values that this state can handle.
- Parameters
-
| iSource | the source to copy the values from |
- Returns
- the number of values actually copied
◆ copyValuesTo()
Copy values from this to the destination (oDestination) state.
This call will only copies the values that oDestination state can handle.
- Parameters
-
| oDestination | the destination to copy the values to |
- Returns
- the number of values actually copied
◆ findParamIndex()
| int findParamIndex |
( |
ParamID | iParamID | ) |
const |
The index for the given param.
- Returns
- the index or -1 if not found
◆ get()
| ParamValue get |
( |
int | iIdx | ) |
const |
|
inline |
◆ getCount()
◆ getNormalizedValue()
| tresult getNormalizedValue |
( |
ParamID | iParamID, |
|
|
ParamValue & | oValue ) const |
Returns the normalized value for the given param id if it exists.
- Returns
- kResultTrue if the value existed and oValue is populated, kResultFalse otherwise
◆ getVersion()
| int16 getVersion |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ readFromStream()
| tresult readFromStream |
( |
Parameters const * | iParameters, |
|
|
IBStreamer & | iStreamer ) |
|
virtual |
◆ set()
| void set |
( |
int | iIdx, |
|
|
ParamValue | iParamValue ) |
|
inline |
◆ setNormalizedValue()
| tresult setNormalizedValue |
( |
ParamID | iParamID, |
|
|
ParamValue | iValue ) |
Sets the normalized value for the given param id if it exists.
- Returns
- kResultTrue if the param existed, kResultFalse otherwise
◆ toString()
| std::string toString |
( |
| ) |
const |
◆ writeToStream()
| tresult writeToStream |
( |
Parameters const * | iParameters, |
|
|
IBStreamer & | oStreamer ) const |
|
virtual |
◆ fSaveOrder
◆ fValues
| ParamValue* fValues {nullptr} |
The documentation for this class was generated from the following files: