CHAI SDK
Version 1.3
|
Section ID definition class. More...
Public Member Functions | |
CPNS::Enums::SectionTypes | GetSectionTypes () const |
Section type, combination of CPNS::Enums::SectionTypes flags. More... | |
CPNS::uint16 | GetInstance () const |
Section instance. More... | |
SectionID () | |
Default constructor. More... | |
SectionID (CPNS::Enums::SectionTypes const sectionTypes, CPNS::uint16 const wInstance) | |
Constructor. More... | |
SectionID (SectionID const &data) | |
Constructor. More... | |
CPNS::boolean | operator== (SectionID const &a) const |
Equality check operator. More... | |
CPNS::boolean | operator!= (SectionID const &a) const |
Difference check operator. More... | |
SectionID & | operator= (SectionID const &a) |
Assignment operator. More... | |
CPNS::boolean | operator< (SectionID const &a) const |
Less than check operator. More... | |
CPNS::boolean | operator> (SectionID const &a) const |
Greater than check operator. More... | |
CPNS::boolean | IsEmpty () const |
Empty check. More... | |
CPNS::UTF8String | ToString () const |
String representation. More... | |
CPNS::boolean | IsMatching (SectionID const &secID) |
Check if the section id is matching another one (taking care of type and instance wildcard) More... | |
SectionID | WithInstance (CPNS::uint16 wInstance) const |
Get a copy of the ParameterID replacing the instance. More... | |
Static Public Member Functions | |
static SectionID | AnyInstanceOf (CPNS::Enums::SectionTypes const sectionTypes) |
Create a SectionID with a 'any' instance wildcard. More... | |
Static Public Attributes | |
static SectionID | NullSectionID |
Empty section id value. More... | |
static SectionID | AnySectionID |
"Any" wildcard More... | |
Section ID definition class.
Each Input is associated to a SectionID giving information about its role. A set of Outputs owned y a single Device can be associated to a SectionID, allowing to group multiple Controller Outputs into a single Section.
|
inline |
Default constructor.
No section type, null instance.
|
inline |
Constructor.
[in] | sectionTypes | Section type bit field, see CPNS::Enums::SectionTypes |
[in] | wInstance | Section instance |
|
inline |
Constructor.
[in] | data | SectionID to copy |
|
inlinestatic |
|
inline |
Section instance.
The value 0xFFFF is a 'any' wildcard for section searching.
|
inline |
Section type, combination of CPNS::Enums::SectionTypes flags.
|
inline |
Empty check.
CPNS::boolean CPNS::SectionID::IsMatching | ( | SectionID const & | secID | ) |
Check if the section id is matching another one (taking care of type and instance wildcard)
[in] | secID | The sectionID to be compared |
|
inline |
Difference check operator.
[in] | a | compared value |
CPNS::boolean CPNS::SectionID::operator< | ( | SectionID const & | a | ) | const |
Less than check operator.
[in] | a | compared value |
Assignment operator.
[in] | a | source value |
|
inline |
Equality check operator.
[in] | a | compared value |
CPNS::boolean CPNS::SectionID::operator> | ( | SectionID const & | a | ) | const |
Greater than check operator.
[in] | a | compared value |
CPNS::UTF8String CPNS::SectionID::ToString | ( | ) | const |
String representation.
|
inline |
Get a copy of the ParameterID replacing the instance.
|
static |
"Any" wildcard
|
static |
Empty section id value.