SynchronisePhysicsEvent Class Reference

#include <SynchronisePhysicsEvent.h>

Inherits Event.

Collaboration diagram for SynchronisePhysicsEvent:

List of all members.


Public Types

typedef EventFactory
< SynchronisePhysicsEvent
Factory

Public Member Functions

 SynchronisePhysicsEvent ()
virtual ~SynchronisePhysicsEvent ()
void addPhysicsObjectManagerMsg (NetMessage *msg)
virtual void encode (NetMessage *message)
virtual void decode (NetMessage *message)
virtual void execute ()
virtual std::string toString ()

Protected Attributes

NetMessageobjectManagerMsg
 synchronisation message of PhysicsObjectManager
double simulationStartTime
 map containing userData of all known users
unsigned simulationTime
 simulation time when Event was created
float stepSize
 number of seconds between two simulation steps

Member Typedef Documentation


Constructor & Destructor Documentation

SynchronisePhysicsEvent::SynchronisePhysicsEvent (  ) 

SynchronisePhysicsEvent::~SynchronisePhysicsEvent (  )  [virtual]


Member Function Documentation

void SynchronisePhysicsEvent::addPhysicsObjectManagerMsg ( NetMessage msg  ) 

Adds the synchronisation message of the PhysicsObjectManager.

void SynchronisePhysicsEvent::decode ( NetMessage message  )  [virtual]

Reimplemented from Event.

void SynchronisePhysicsEvent::encode ( NetMessage message  )  [virtual]

Todo:
should Event::decode() and Event::encode() be protected?

describe Event::decode() and Event::encode()

Reimplemented from Event.

void SynchronisePhysicsEvent::execute (  )  [virtual]

Process the Event.

Todo:
write more precise description

Implements Event.

std::string SynchronisePhysicsEvent::toString (  )  [virtual]

Return a string representation of the Event, containing all attributes.

Reimplemented from Event.


Member Data Documentation

map containing userData of all known users

time when the server started the simulation

simulation time when Event was created

number of seconds between two simulation steps


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

Generated on Wed Oct 20 16:12:01 2010 for inVRs by doxygen 1.5.8