CHAI SDK
Version 1.3
|
Parameter ID definition class. More...
Public Member Functions | |
CPNS::Enums::MessageTypes | GetMessageType () const |
Message type, matching CPNS::Enums::MessageTypes. More... | |
CPNS::uint16 | GetInputID () const |
Related input ID. More... | |
CPNS::uint16 | GetMessageNumber () const |
Message Number. More... | |
CPNS::uint16 | GetMessageIndex () const |
Message Index. More... | |
ParameterID () | |
Default constructor. More... | |
ParameterID (CPNS::uint16 const wInputID, CPNS::Enums::MessageTypes const msgType, CPNS::uint16 const wMsgNum, CPNS::uint16 const wMsgIndex) | |
Constructor. More... | |
ParameterID (ParameterID const &data) | |
Constructor. More... | |
CPNS::boolean | operator== (ParameterID const &a) const |
Equality check operator. More... | |
CPNS::boolean | operator!= (ParameterID const &a) const |
Difference check operator. More... | |
ParameterID & | operator= (ParameterID const &a) |
Assignment operator. More... | |
CPNS::boolean | IsEmpty () const |
Empty check. More... | |
CPNS::UTF8String | ToString () const |
String representation. More... | |
ParameterID | WithMessageNumber (CPNS::uint16 wMsgNum) const |
Get a copy of the ParameterID replacing the Message Number. More... | |
ParameterID | WithMessageIndex (CPNS::uint16 wMsgIndex) const |
Get a copy of the ParameterID replacing the Message Index. More... | |
CPNS::boolean | IsCompatibleWithConrollerType (CPNS::CombinedControllerTypes const ctrlType) |
Static Public Attributes | |
static ParameterID | NullParameterID |
Empty section id value. More... | |
static ParameterID | AnyParameterID |
"Any" wildcard More... | |
Parameter ID definition class.
This class contains a strong parameter identity related to a Device. Knowing a ParameterID and its owning Device gives enough information to build the related message and to know where to send it in order to update the Parameter.
|
inline |
Default constructor.
|
inline |
Constructor.
[in] | wInputID | Related input ID |
[in] | msgType | Message type, matching CPNS::Enums::MessageTypes |
[in] | wMsgNum | Message Number |
[in] | wMsgIndex | Message Index |
|
inline |
Constructor.
[in] | data | ParameterID to copy |
|
inline |
Related input ID.
|
inline |
Message Index.
|
inline |
Message Number.
|
inline |
Message type, matching CPNS::Enums::MessageTypes.
|
inline |
Empty check.
|
inline |
Difference check operator.
|
inline |
Assignment operator.
|
inline |
Equality check operator.
CPNS::UTF8String CPNS::ParameterID::ToString | ( | ) | const |
String representation.
|
inline |
Get a copy of the ParameterID replacing the Message Index.
|
inline |
Get a copy of the ParameterID replacing the Message Number.
|
static |
"Any" wildcard
|
static |
Empty section id value.