"Dummy" implementation -- just pass messages between partitions, without any synchronization. More...
#include <cnosynchronization.h>
Public Member Functions | |
cNoSynchronization () | |
virtual | ~cNoSynchronization () |
virtual void | startRun () |
virtual void | endRun () |
virtual cMessage * | getNextEvent () |
"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.
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.