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

: stores information about a Synchronisable More...

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

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

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_
 

Detailed Description

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

Constructor & Destructor Documentation

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

Member Function Documentation

uint32_t orxonox::SynchronisableHeader::getClassID ( ) const
inline
uint32_t orxonox::SynchronisableHeader::getContextID ( ) const
inline
static uint32_t orxonox::SynchronisableHeader::getSize ( void  )
inlinestatic
void orxonox::SynchronisableHeader::operator= ( SynchronisableHeader h)
inline
void orxonox::SynchronisableHeader::setClassID ( uint32_t  classID_)
inline
void orxonox::SynchronisableHeader::setContextID ( uint32_t  contextID_)
inline

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