GComm
0.2.3
|
Public Member Functions | |
StateMessage (int version) | |
![]() | |
Message (const int version=-1, const Type type=T_NONE, const uint32_t seq=0, const NodeMap &node_map=NodeMap()) | |
Message (const Message &msg) | |
int | version () const |
Type | type () const |
uint32_t | seq () const |
void | flags (int flags) |
int | flags () const |
void | checksum (uint16_t crc16, bool flag) |
uint16_t | checksum () const |
const NodeMap & | node_map () const |
NodeMap & | node_map () |
const Node & | node (const UUID &uuid) const |
Node & | node (const UUID &uuid) |
size_t | unserialize (const gu::byte_t *buf, const size_t buflen, const size_t offset) |
size_t | serialize (gu::byte_t *buf, const size_t buflen, const size_t offset) const |
size_t | serial_size () const |
std::string | to_string () const |
Additional Inherited Members | |
![]() | |
enum | Type { T_NONE, T_STATE, T_INSTALL, T_USER, T_MAX } |
enum | { F_CRC16 = 0x1, F_BOOTSTRAP = 0x2, F_WEIGHT_CHANGE = 0x4 } |
![]() | |
static const char * | to_string (Type t) |