CHAI SDK
Version 1.3
|
Notification handler for Controller. More...
Public Member Functions | |
virtual void | OnController_ConnectionStatus (CPNS::IController *const pNotifiedObject, CPNS::boolean const fConnected) |
This is called on destination change. More... | |
virtual void | OnController_RefreshCurrentModifierParameterValue (CPNS::IController *const pNotifiedObject, CPNS::Value const &Value, CPNS::char8 const *const utf8ValueText, CPNS::CombinedRefreshValueAttributes const attributes) |
This to inform the application that a modifier parameter changed of value. More... | |
virtual void | OnController_RefreshCurrentSelectorParameterValue (CPNS::IController *const pNotifiedObject, CPNS::uint16 const wValue, CPNS::char8 const *const utf8ValueText, CPNS::CombinedRefreshValueAttributes const attributes, CPNS::uint16 const wProportionalValue) |
This to inform the application that a selector parameter changed of value. More... | |
virtual void | OnController_RefreshCurrentTextParameterValue (CPNS::IController *const pNotifiedObject, CPNS::char8 const *const utf8ValueText, CPNS::CombinedRefreshValueAttributes const attributes) |
This to inform the application that a text parameter changed of value. More... | |
virtual void | OnController_Assign (CPNS::IController *const pNotifiedObject, CPNS::Enums::ControllerAssignReasons const reason, CPNS::ControllerAssignment const &assignment)=0 |
This notification is called to assign a controller to a specific message. More... | |
virtual void | OnParameterPathReply (CPNS::IController *const pNotifiedObject, CPNS::char8 const *const utf8ParameterPath) |
Notify about the currently assigned parameter path. More... | |
virtual void | OnLearningModeChange (CPNS::IController *const pNotifiedObject, CPNS::boolean const isLearning) |
Notify about learning mode status change for this controller. More... | |
Notification handler for Controller.
|
pure virtual |
This notification is called to assign a controller to a specific message.
Current controller assignment data is maintained internally in the CHAI by the Controller object. It can be collected and restored by the SnapShot procedure. The CHAI is always trying to provide a parameter path. So this notification can be called with no utf8OptionalParameterPath during the original assignment, and then later with a valid utf8OptionalParameterPath when this becomes available.
[in] | pNotifiedObject | Pointer to the notified output object |
[in] | reason | tells more about this notification call. |
[in] | assignment | the current assignment data |
|
inlinevirtual |
This is called on destination change.
This can be used to know when a controller is connected to the input hosting the target parameter.
[in] | pNotifiedObject | Pointer to the notified controller object |
[in] | fConnected | TRUE if the controller is currently connected to the target endpoint |
|
inlinevirtual |
This to inform the application that a modifier parameter changed of value.
It is useful to reflect current remote parameter value on a front panel for instance.
|
inlinevirtual |
This to inform the application that a selector parameter changed of value.
It is useful to reflect current remote parameter value on a front panel for instance.
[in] | pNotifiedObject | Pointer to the notified output object |
[in] | wValue | New parameter value |
[in] | utf8ValueText | Value string representation |
[in] | attributes | Additional attributes |
[in] | wProportionalValue | Full scale value, can be used to update knob or slider position. |
|
inlinevirtual |
This to inform the application that a text parameter changed of value.
It is useful to reflect current remote parameter value on a front panel for instance.
[in] | pNotifiedObject | Pointer to the notified output object |
[in] | source | Destination endpoint sending the notification |
[in] | paramID | Parameter ID |
[in] | utf8ValueText | Value string representation |
[in] | attributes | Additional attributes |
|
inlinevirtual |
Notify about learning mode status change for this controller.
[in] | pNotifiedObject | Pointer to the notified output object |
[in] | isLearning | TRUE if the controller is currently learning. |
|
inlinevirtual |
Notify about the currently assigned parameter path.
This is called in response of CPNS::IController::QueryParameterPath.
[in] | pNotifiedObject | Pointer to the notified output object |
[in] | utf8ParameterPath | string describing the target parameter path (i.e. "RootDeviceName/SubDeviceName/InputName/ParamName"). |