The Message struct.
More...
#include <message.h>
|
template<typename T > |
static T | readType (const std::vector< uint8_t > &vect, size_t start) |
| readType More...
|
|
template<typename T > |
static void | writeType (std::vector< uint8_t > &data, T val) |
| writeType More...
|
|
◆ Message() [1/2]
RDM::Message::Message |
( |
const Message & |
obj | ) |
|
◆ Message() [2/2]
RDM::Message::Message |
( |
const std::vector< uint8_t > & |
data | ) |
|
◆ appendData()
template<typename T >
void RDM::Message::appendData |
( |
const T & |
val | ) |
|
|
inline |
◆ checksum()
uint16_t RDM::Message::checksum |
( |
| ) |
const |
◆ data()
const std::vector< uint8_t > * RDM::Message::data |
( |
| ) |
const |
◆ length()
uint8_t RDM::Message::length |
( |
| ) |
const |
◆ nak()
void RDM::Message::nak |
( |
uint16_t |
reason | ) |
|
◆ read()
void RDM::Message::read |
( |
const std::vector< uint8_t > & |
data | ) |
|
◆ readType()
template<typename T >
static T RDM::Message::readType |
( |
const std::vector< uint8_t > & |
vect, |
|
|
size_t |
start |
|
) |
| |
|
inlinestatic |
readType
- Parameters
-
- Returns
◆ requiredLength()
bool RDM::Message::requiredLength |
( |
const size_t |
length, |
|
|
MsgPtr |
response |
|
) |
| const |
◆ write()
void RDM::Message::write |
( |
std::vector< uint8_t > & |
data | ) |
const |
◆ writeType()
template<typename T >
static void RDM::Message::writeType |
( |
std::vector< uint8_t > & |
data, |
|
|
T |
val |
|
) |
| |
|
inlinestatic |
The documentation for this struct was generated from the following files:
- /home/kevin/Code/viewer/lib/OpenLCP/protocols/rdm/message.h
- /home/kevin/Code/viewer/lib/OpenLCP/protocols/rdm/message.cpp