Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
orxonox::SynchronisableHeaderLight Class Reference

: stores information about a Synchronisable (light version) More...

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/network/synchronisable/Synchronisable.h>

Inheritance diagram for orxonox::SynchronisableHeaderLight:
orxonox::SynchronisableHeader

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_
 

Detailed Description

: 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_

Constructor & Destructor Documentation

orxonox::SynchronisableHeaderLight::SynchronisableHeaderLight ( uint8_t *  data)
inline

Member Function Documentation

uint16_t orxonox::SynchronisableHeaderLight::getDataSize ( ) const
inline
uint32_t orxonox::SynchronisableHeaderLight::getObjectID ( ) const
inline
static uint32_t orxonox::SynchronisableHeaderLight::getSize ( void  )
inlinestatic
bool orxonox::SynchronisableHeaderLight::isDiffed ( ) const
inline
void orxonox::SynchronisableHeaderLight::operator= ( SynchronisableHeaderLight h)
inline
void orxonox::SynchronisableHeaderLight::setDataSize ( uint16_t  size)
inline
void orxonox::SynchronisableHeaderLight::setDiffed ( bool  b)
inline
void orxonox::SynchronisableHeaderLight::setObjectID ( uint32_t  objectID_)
inline

Member Data Documentation

uint8_t* orxonox::SynchronisableHeaderLight::data_
protected

The documentation for this class was generated from the following file: