ChangedSynchronisationModel Class Reference

#include <ChangedSynchronisationModel.h>

Inherits SynchronisationModel.

Collaboration diagram for ChangedSynchronisationModel:

List of all members.


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

MessageSizeCountercounter
 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]

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:

Generated on Wed Oct 20 16:11:54 2010 for inVRs by doxygen 1.5.8