SynchronisePhysicsEvent Class Reference
#include <SynchronisePhysicsEvent.h>
Inherits Event.
Collaboration diagram for SynchronisePhysicsEvent:

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 | |
| NetMessage * | objectManagerMsg |
| 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] |
| std::string SynchronisePhysicsEvent::toString | ( | ) | [virtual] |
Member Data Documentation
NetMessage* SynchronisePhysicsEvent::objectManagerMsg [protected] |
synchronisation message of PhysicsObjectManager
double SynchronisePhysicsEvent::simulationStartTime [protected] |
map containing userData of all known users
time when the server started the simulation
unsigned SynchronisePhysicsEvent::simulationTime [protected] |
simulation time when Event was created
float SynchronisePhysicsEvent::stepSize [protected] |
number of seconds between two simulation steps
The documentation for this class was generated from the following files:
- src/inVRs/Modules/3DPhysics/SynchronisePhysicsEvent.h
- src/inVRs/Modules/3DPhysics/SynchronisePhysicsEvent.cpp
Generated on Wed Oct 20 16:12:01 2010 for inVRs by
1.5.8