Open Lighting Architecture
Latest Git
|
The ACN component identifier.
Public Types | |
enum | { CID_LENGTH = 16 } |
The length of the CID data. More... | |
Public Member Functions | |
CID () | |
Create a new uninitialized CID. | |
CID (const CID &other) | |
Copy constructor. | |
~CID () | |
CID destructor. | |
bool | IsNil () const |
Returns true if the CID is uninitialized. | |
void | Pack (uint8_t *output) const |
Pack a CID into the binary representation. More... | |
std::string | ToString () const |
Return the CID as a human readable string. More... | |
void | Write (ola::io::OutputBufferInterface *output) const |
Write the CID to an OutputBufferInterface. | |
CID & | operator= (const CID &c1) |
Assignment operator. | |
bool | operator== (const CID &c1) const |
Equality operator. | |
bool | operator!= (const CID &c1) const |
Inequality operator. | |
bool | operator< (const CID &c1) const |
Less than operator. | |
Static Public Member Functions | |
static CID | Generate () |
Generate a new CID. | |
static CID | FromData (const uint8_t *data) |
Create a new CID from a binary representation. More... | |
static CID | FromString (const std::string &cid) |
Create a new CID from a human readable string. More... | |
|
static |
|
static |
void ola::acn::CID::Pack | ( | uint8_t * | output | ) | const |
string ola::acn::CID::ToString | ( | ) | const |
Return the CID as a human readable string.