WorldStateSerializerBehavior Class Reference#include <WorldStateSerializerBehavior.h>
Inheritance diagram for WorldStateSerializerBehavior:
[legend]List of all members.
Detailed Description
Copies WorldState into a buffer for transmission over the network.
To determine the communication protocol, just look in the processEvent() function - it's pretty straightforward binary copy of values
Definition at line 14 of file WorldStateSerializerBehavior.h.
Constructor & Destructor Documentation
WorldStateSerializerBehavior::WorldStateSerializerBehavior |
( |
|
) |
|
|
Member Function Documentation
void WorldStateSerializerBehavior::DoStart |
( |
|
) |
[virtual] |
|
void WorldStateSerializerBehavior::DoStop |
( |
|
) |
[virtual] |
|
template<class T> |
void WorldStateSerializerBehavior::encode |
( |
char ** |
dst, |
|
|
const T * |
src, |
|
|
int |
num |
|
) |
[inline, static, protected] |
|
template<class T> |
void WorldStateSerializerBehavior::encode |
( |
char ** |
dst, |
|
|
const T & |
value |
|
) |
[inline, static, protected] |
|
std::string WorldStateSerializerBehavior::getClassDescription |
( |
|
) |
[inline, static] |
|
virtual std::string WorldStateSerializerBehavior::getName |
( |
|
) |
const [inline, virtual] |
|
void WorldStateSerializerBehavior::processEvent |
( |
const EventBase & |
e |
) |
[virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following files:
|