CHAI SDK
Version 1.3
|
Notification handler for Parameters handling. More...
Public Member Functions | |
virtual void | OnParameter_RequestRefreshCurrentValue (CPNS::IParameter *const pNotifiedObject, CPNS::uint16 const wIndex)=0 |
Called by the CHAI to request a current value refresh related to a specific parameter. More... | |
virtual void | OnParameter_OnModifierUpdate (CPNS::IParameter *const pNotifiedObject, CPNS::uint16 const wUpdatedRawValue, CPNS::IModifierMessage *const pModifier) |
An Modifier message related to this Parameter has been received. More... | |
virtual void | OnParameter_OnSelectorUpdate (CPNS::IParameter *const pNotifiedObject, CPNS::SelectorItem const *const pItem, CPNS::ISelectorMessage *const pSelector) |
A Selector message related to this Parameter has been received. More... | |
virtual void | OnParameter_OnTextUpdate (CPNS::IParameter *const pNotifiedObject, CPNS::ITextMessage *const pText) |
A Text message related to this Parameter has been received. More... | |
Notification handler for Parameters handling.
|
inlinevirtual |
An Modifier message related to this Parameter has been received.
The updated raw value argument contains the value provided by the Modifier message, except in case of relative Modifier. In this case, an absolute raw value is calculated from the last known current value and the offset provided in the Modifier. The original Modifier message object is also forwarded to provide all of its content to the application (automation,...).
[in] | pNotifiedObject | Pointer to the related parameter |
[in] | wUpdatedRawValue | Raw value, always absolute within range 0x0000..0xFFFF |
[in] | pModifier | Pointer to the Modifier message |
|
inlinevirtual |
A Selector message related to this Parameter has been received.
The updated item argument points corresponds to the value provided by the Selector message, except in case of proportional or relative Selector. In this case, the selected item is calculated from the Selector Item list size (proportional mode) or from the last known current value (relative mode). The original Selector message object is also forwarded to provide all of its content to the application (automation,...).
[in] | pNotifiedObject | Pointer to the related parameter |
[in] | pItem | Pointer to the Selector Item |
[in] | pSelector | Pointer to the Selector message |
|
inlinevirtual |
A Text message related to this Parameter has been received.
[in] | pNotifiedObject | Pointer to the related parameter |
[in] | pText | Pointer to the Text message |
|
pure virtual |
Called by the CHAI to request a current value refresh related to a specific parameter.
When this method is called, the application should reply using IParameter::RefreshCurrentModifierParameterValue | IParameter::RefreshCurrentSelectorParameterValue | IParameter::RefreshCurrentTextParameterValue
[in] | pNotifiedObject | Pointer to the related parameter |
[in] | wIndex | index related to the expected current value, or 0 if no index. |