ChangedSynchronisationModel Class Reference
#include <ChangedSynchronisationModel.h>
Inherits SynchronisationModel.
Collaboration diagram for ChangedSynchronisationModel:

Public Member Functions | |
| ChangedSynchronisationModel () | |
| virtual | ~ChangedSynchronisationModel () |
| virtual void | synchroniseBeforeStep () |
| virtual void | synchroniseAfterStep () |
Protected Member Functions | |
| virtual void | handleSyncMessage (NetMessage *msg) |
| virtual void | handleClientInputMessage (NetMessage *msg) |
Protected Attributes | |
| MessageSizeCounter * | counter |
| Counter for logging the amount of bytes transmitted for synchronisation. | |
| std::map< uint64_t, int > | inactiveRepeatSend |
Static Protected Attributes | |
| static const unsigned | CHANGEDSYNCHRONISATION_MESSAGEID = 2 |
Detailed Description
SynchronisationModel which synchronises every step only changed data. After each simulation step the transformations of the rigid bodies which have changed are distributed.Constructor & Destructor Documentation
| ChangedSynchronisationModel::ChangedSynchronisationModel | ( | ) |
Constructor initializes network-pointer.
| ChangedSynchronisationModel::~ChangedSynchronisationModel | ( | ) | [virtual] |
Empty destructor.
Member Function Documentation
| void ChangedSynchronisationModel::handleClientInputMessage | ( | NetMessage * | msg | ) | [protected, virtual] |
Handles the client input messages
Implements SynchronisationModel.
| void ChangedSynchronisationModel::handleSyncMessage | ( | NetMessage * | msg | ) | [protected, virtual] |
Handles the synchronisation message
Implements SynchronisationModel.
| void ChangedSynchronisationModel::synchroniseAfterStep | ( | ) | [virtual] |
Synchronises data after a simulation step. The method is called from the Physics Module after a simulation step takes place.
Implements SynchronisationModel.
| void ChangedSynchronisationModel::synchroniseBeforeStep | ( | ) | [virtual] |
Synchronises data before a simulation step. The method is called from the Physics Module before a simulation step takes place.
Implements SynchronisationModel.
Member Data Documentation
const unsigned ChangedSynchronisationModel::CHANGEDSYNCHRONISATION_MESSAGEID = 2 [static, protected] |
MessageSizeCounter* ChangedSynchronisationModel::counter [protected] |
Counter for logging the amount of bytes transmitted for synchronisation.
std::map<uint64_t, int> ChangedSynchronisationModel::inactiveRepeatSend [protected] |
The documentation for this class was generated from the following files:
- src/inVRs/Modules/3DPhysics/ChangedSynchronisationModel.h
- src/inVRs/Modules/3DPhysics/ChangedSynchronisationModel.cpp
Generated on Wed Oct 20 16:11:54 2010 for inVRs by
1.5.8