CHAI SDK
Version 1.3
|
Controller assignment definition class. More...
Public Member Functions | |
CPNS::Endpoint | GetTarget () const |
Target endpoint. More... | |
CPNS::Enums::MessageTypes | GetMessageType () const |
Message type, matching CPNS::Enums::MessageTypes. More... | |
void | SetMessageType (CPNS::Enums::MessageTypes const msgType) |
CPNS::uint16 | GetMessageNumber () const |
Message Number. More... | |
void | SetMessageNumber (CPNS::uint16 const wNumber) |
CPNS::uint16 | GetMessageIndex () const |
Message Index. More... | |
void | SetMessageIndex (CPNS::uint16 const wIndex) |
CPNS::uint16 | GetInformationProfile () const |
Information profile related to the message type. More... | |
CPNS::Enums::AssignControllerAvailableValues | GetAvailableValues () const |
Available extra values. More... | |
CPNS::uint16 | GetValueDown () const |
Value for Down action. More... | |
CPNS::uint16 | GetValueUp () const |
Value for Up action. More... | |
ControllerAssignment () | |
Default constructor. More... | |
ControllerAssignment (CPNS::Endpoint const &target, CPNS::Enums::MessageTypes const msgType, CPNS::uint16 const wMsgNum, CPNS::uint16 const wMsgIndex, CPNS::uint16 const wInformationProfile, CPNS::Enums::AssignControllerAvailableValues const availableValues, CPNS::uint16 const wValueDown, CPNS::uint16 const wValueUp) | |
Constructor. More... | |
ControllerAssignment (ControllerAssignment const &data) | |
Constructor. More... | |
CPNS::boolean | IsEmpty () const |
Empty check. More... | |
CPNS::UTF8String | ToString () const |
String representation. More... | |
CPNS::ParameterID | GetTargetParameterID () |
Static Public Attributes | |
static ControllerAssignment | NullControllerAssignment |
Empty controller id value. More... | |
Controller assignment definition class.
|
inline |
Default constructor.
|
inline |
Constructor.
[in] | msgType | The message type |
[in] | wMsgNum | The message number |
[in] | wMsgIndex | Message index. CAUTION: first item is related to message index 1! |
[in] | wInformationProfile | information profile related to the message type. |
[in] | availableValues | tells which of the following optional values are valid (if it makes sense for the assigned message). |
[in] | wValueDown | The value to be sent on button down event. Usually used with Selectors assigned to PushButton controllers. |
[in] | wValueUp | The value to be sent on button up event. Usually used with Selectors assigned to PushButton controllers. |
|
inline |
Constructor.
[in] | data | Controller assignment to copy |
|
inline |
Available extra values.
|
inline |
Information profile related to the message type.
|
inline |
Message Index.
|
inline |
Message Number.
|
inline |
Message type, matching CPNS::Enums::MessageTypes.
|
inline |
Target endpoint.
|
inline |
Value for Down action.
|
inline |
Value for Up action.
|
inline |
Empty check.
CPNS::UTF8String CPNS::ControllerAssignment::ToString | ( | ) | const |
String representation.
|
static |
Empty controller id value.