Orxonox
0.0.5 Codename: Arcturus
|
: stores information about a Synchronisable (light version) More...
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/network/synchronisable/Synchronisable.h>
Public Member Functions | |
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 () |
Protected Attributes | |
uint8_t * | data_ |
: stores information about a Synchronisable (light version)
This class stores the information about a Synchronisable (objectID_, 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_
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |