Orxonox
0.0.5 Codename: Arcturus
|
: stores information about a Synchronisable More...
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/network/synchronisable/Synchronisable.h>
Public Member Functions | |
SynchronisableHeader (uint8_t *data) | |
uint32_t | getClassID () const |
uint32_t | getContextID () const |
void | operator= (SynchronisableHeader &h) |
void | setClassID (uint32_t classID_) |
void | setContextID (uint32_t contextID_) |
Public Member Functions inherited from orxonox::SynchronisableHeaderLight | |
SynchronisableHeaderLight (uint8_t *data) | |
uint16_t | getDataSize () const |
uint32_t | getObjectID () const |
bool | isDiffed () const |
void | operator= (SynchronisableHeaderLight &h) |
void | setDataSize (uint16_t size) |
void | setDiffed (bool b) |
void | setObjectID (uint32_t objectID_) |
Static Public Member Functions | |
static uint32_t | getSize () |
Static Public Member Functions inherited from orxonox::SynchronisableHeaderLight | |
static uint32_t | getSize () |
Additional Inherited Members | |
Protected Attributes inherited from orxonox::SynchronisableHeaderLight | |
uint8_t * | data_ |
: stores information about a Synchronisable
This class stores the information about a Synchronisable (objectID_, classID_, contextID_, dataSize) in an emulated bitset. Bit 1 to 31 store the size of the Data the synchronisable consumes in the stream Bit 32 is a bool and defines whether the variables are stored in diff mode Byte 5 to 8: objectID_ Byte 9 to 12: classID_ Byte 13 to 16: contextID_
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |