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

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

Static Public Member Functions

static void addCall (uint32_t functionID, uint32_t objectID, uint32_t peerID, const MultiType &mt1, const MultiType &mt2, const MultiType &mt3, const MultiType &mt4, const MultiType &mt5)
 
static void bufferIncomingFunctionCall (const FunctionCall &fctCall, uint32_t minGamestateID, uint32_t peerID)
 Place an incoming function call in the queue for processing. More...
 
static void processBufferedFunctionCalls ()
 Process queue of incoming function calls. More...
 
static void sendCalls (orxonox::Host *host)
 Send all function calls in sPeerMap_ to a given host, then clear sPeerMap_. More...
 

Static Public Attributes

static std::vector< std::pair< FunctionCall, std::pair< uint32_t, uint32_t > > > sIncomingFunctionCallBuffer_
 
static std::map< uint32_t, packet::FunctionCalls * > sPeerMap_
 

Protected Member Functions

 FunctionCallManager ()
 
 ~FunctionCallManager ()
 

Detailed Description

Author

Constructor & Destructor Documentation

orxonox::FunctionCallManager::FunctionCallManager ( )
protected
orxonox::FunctionCallManager::~FunctionCallManager ( )
protected

Member Function Documentation

void orxonox::FunctionCallManager::addCall ( uint32_t  functionID,
uint32_t  objectID,
uint32_t  peerID,
const MultiType mt1,
const MultiType mt2,
const MultiType mt3,
const MultiType mt4,
const MultiType mt5 
)
static
void orxonox::FunctionCallManager::bufferIncomingFunctionCall ( const FunctionCall fctCall,
uint32_t  minGamestateID,
uint32_t  peerID 
)
static

Place an incoming function call in the queue for processing.

void orxonox::FunctionCallManager::processBufferedFunctionCalls ( )
static

Process queue of incoming function calls.

void orxonox::FunctionCallManager::sendCalls ( orxonox::Host host)
static

Send all function calls in sPeerMap_ to a given host, then clear sPeerMap_.

Parameters
hostThe host to send the function calls to

Member Data Documentation

std::vector< std::pair< FunctionCall, std::pair< uint32_t, uint32_t > > > orxonox::FunctionCallManager::sIncomingFunctionCallBuffer_
static
std::map< uint32_t, packet::FunctionCalls * > orxonox::FunctionCallManager::sPeerMap_
static

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