orxonox::packet::GamestateHeader Class Reference

#include <src/network/packet/Gamestate.h>

List of all members.

Public Member Functions

 GamestateHeader (uint8_t *data, GamestateHeader *h)
 GamestateHeader (uint8_t *data)
int32_t getBaseID () const
uint32_t getCompSize () const
uint32_t getDataSize () const
int32_t getID () const
bool isComplete () const
bool isCompressed () const
bool isDiffed () const
void operator= (GamestateHeader &h)
void setBaseID (int32_t id)
void setComplete (bool b)
void setCompressed (bool b)
void setCompSize (uint32_t size)
void setDataSize (uint32_t size)
void setDiffed (bool b)
void setID (int32_t id)

Static Public Member Functions

static uint32_t getSize ()

Private Attributes

uint8_t * data_


Constructor & Destructor Documentation

orxonox::packet::GamestateHeader::GamestateHeader ( uint8_t *  data  )  [inline]

orxonox::packet::GamestateHeader::GamestateHeader ( uint8_t *  data,
GamestateHeader h 
) [inline]

References data_.


Member Function Documentation

int32_t orxonox::packet::GamestateHeader::getBaseID (  )  const [inline]

uint32_t orxonox::packet::GamestateHeader::getCompSize (  )  const [inline]

uint32_t orxonox::packet::GamestateHeader::getDataSize (  )  const [inline]

int32_t orxonox::packet::GamestateHeader::getID (  )  const [inline]

static uint32_t orxonox::packet::GamestateHeader::getSize (  )  [inline, static]

bool orxonox::packet::GamestateHeader::isComplete (  )  const [inline]

bool orxonox::packet::GamestateHeader::isCompressed (  )  const [inline]

bool orxonox::packet::GamestateHeader::isDiffed (  )  const [inline]

void orxonox::packet::GamestateHeader::operator= ( GamestateHeader h  )  [inline]

References data_.

void orxonox::packet::GamestateHeader::setBaseID ( int32_t  id  )  [inline]

void orxonox::packet::GamestateHeader::setComplete ( bool  b  )  [inline]

void orxonox::packet::GamestateHeader::setCompressed ( bool  b  )  [inline]

void orxonox::packet::GamestateHeader::setCompSize ( uint32_t  size  )  [inline]

void orxonox::packet::GamestateHeader::setDataSize ( uint32_t  size  )  [inline]

void orxonox::packet::GamestateHeader::setDiffed ( bool  b  )  [inline]

void orxonox::packet::GamestateHeader::setID ( int32_t  id  )  [inline]


Member Data Documentation

Referenced by GamestateHeader(), and operator=().


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

Generated on Tue Jul 28 16:23:23 2009 for Orxonox by  doxygen 1.5.6