ChangeSynchronisationModelEvent Class Reference

#include <ChangeSynchronisationModelEvent.h>

Inherits Event.

Collaboration diagram for ChangeSynchronisationModelEvent:

List of all members.


Public Types

typedef EventFactory
< ChangeSynchronisationModelEvent
Factory

Public Member Functions

 ChangeSynchronisationModelEvent ()
 ChangeSynchronisationModelEvent (std::string modelName, ArgumentVector *args)
virtual ~ChangeSynchronisationModelEvent ()
virtual void encode (NetMessage *message)
virtual void decode (NetMessage *message)
virtual void execute ()
virtual std::string toString ()

Protected Attributes

std::string modelName
 Name of the new SynchronisationModel.
ArgumentVectorargs
 Arguments passed to the SynchroniationModel.

Detailed Description

Event for changing the SynchronisationModel during runtime The event changes the used SynchronisationModel on all participating hosts

Member Typedef Documentation


Constructor & Destructor Documentation

ChangeSynchronisationModelEvent::ChangeSynchronisationModelEvent (  ) 

Default Constructor needed for factory.

ChangeSynchronisationModelEvent::ChangeSynchronisationModelEvent ( std::string  modelName,
ArgumentVector args 
)

Constructor

ChangeSynchronisationModelEvent::~ChangeSynchronisationModelEvent (  )  [virtual]

Empty Destructor


Member Function Documentation

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

Reimplemented from Event.

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

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

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

Reimplemented from Event.

void ChangeSynchronisationModelEvent::execute (  )  [virtual]

Process the Event.

Todo:
write more precise description

Implements Event.

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

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

Reimplemented from Event.


Member Data Documentation

Arguments passed to the SynchroniationModel.

Name of the new SynchronisationModel.


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