Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Protected Member Functions | List of all members
orxonox::GamestateHandler Class Referenceabstract

An interface for any class that wants to handle gamestates. More...

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

Inheritance diagram for orxonox::GamestateHandler:
orxonox::GamestateManager orxonox::Host orxonox::Client orxonox::Server

Public Member Functions

virtual bool ackGamestate (unsigned int gamestateID, unsigned int clientID)=0
 
virtual bool addGamestate (packet::Gamestate *gs, unsigned int clientID)=0
 
virtual uint32_t getCurrentGamestateID ()=0
 
virtual uint32_t getLastReceivedGamestateID (unsigned int clientID)=0
 

Protected Member Functions

 GamestateHandler ()
 
virtual ~GamestateHandler ()
 

Detailed Description

An interface for any class that wants to handle gamestates.

Author
Oliver Scheuss

Constructor & Destructor Documentation

orxonox::GamestateHandler::GamestateHandler ( )
protected
orxonox::GamestateHandler::~GamestateHandler ( )
protectedvirtual

Member Function Documentation

virtual bool orxonox::GamestateHandler::ackGamestate ( unsigned int  gamestateID,
unsigned int  clientID 
)
pure virtual

Implemented in orxonox::GamestateManager.

virtual bool orxonox::GamestateHandler::addGamestate ( packet::Gamestate gs,
unsigned int  clientID 
)
pure virtual

Implemented in orxonox::GamestateManager.

virtual uint32_t orxonox::GamestateHandler::getCurrentGamestateID ( )
pure virtual

Implemented in orxonox::GamestateManager.

virtual uint32_t orxonox::GamestateHandler::getLastReceivedGamestateID ( unsigned int  clientID)
pure virtual

Implemented in orxonox::GamestateManager.


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