Open Lighting Architecture
0.9.1
|
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. | |
std::string | ToString () const |
Return the CID as a human readable string. | |
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. |
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. | |
static CID | FromString (const std::string &cid) |
Create a new CID from a human readable string. |
anonymous enum |
|
static |
|
static |
void ola::acn::CID::Pack | ( | uint8_t * | output | ) | const |
std::string ola::acn::CID::ToString | ( | ) | const |
Return the CID as a human readable string.