cNoSynchronization Class Reference
[Parallel simulation support]

"Dummy" implementation -- just pass messages between partitions, without any synchronization. More...

#include <cnosynchronization.h>

Inheritance diagram for cNoSynchronization:
cParsimProtocolBase cParsimSynchronizer cScheduler cObject

List of all members.

Public Member Functions

 cNoSynchronization ()
virtual ~cNoSynchronization ()
virtual void startRun ()
virtual void endRun ()
virtual cMessagegetNextEvent ()

Detailed Description

"Dummy" implementation -- just pass messages between partitions, without any synchronization.

Of course incausalities may occur which terminate the simulation with error, so this class is only useful as a base "template" for implementing "real" synchronization protocols.


Member Function Documentation

virtual cMessage* cNoSynchronization::getNextEvent (  )  [virtual]

Scheduler function.

It processes whatever comes from other partitions, then returns msgQueue.peekFirst(). Performs no synchronization with other partitions, so incausalities may occur which stop the simulation with an error (see also class comment).

Implements cParsimSynchronizer.


The documentation for this class was generated from the following file:
Generated on Mon Jul 14 12:57:28 2014 for OMNeT++ Parallel Simulation Support by  doxygen 1.6.3