OMNeT++ Parallel Simulation Support 6.1
Discrete Event Simulation Library
cParsimProtocolBase Class Reference

Description

Contains utility functions for implementing parallel simulation protocols.

Inheritance diagram for cParsimProtocolBase:
[legend]
Collaboration diagram for cParsimProtocolBase:
[legend]

Public Member Functions

 cParsimProtocolBase ()
 
virtual ~cParsimProtocolBase ()
 
virtual void processOutgoingMessage (cMessage *msg, const SendOptions &options, int procId, int moduleId, int gateId, void *data) override
 
- Public Member Functions inherited from cParsimSynchronizer
 cParsimSynchronizer ()
 
virtual ~cParsimSynchronizer ()
 
virtual std::string str () const override
 
virtual void setContext (cSimulation *sim, cParsimPartition *seg, cParsimCommunications *co)
 
virtual void startRun () override=0
 
virtual void endRun () override=0
 
virtual cEvent * guessNextEvent () override
 
virtual cEvent * takeNextEvent () override=0
 

Constructor & Destructor Documentation

◆ cParsimProtocolBase()

cParsimProtocolBase ( )
inline

Constructor.

◆ ~cParsimProtocolBase()

virtual ~cParsimProtocolBase ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ processOutgoingMessage()

virtual void processOutgoingMessage ( cMessage *  msg,
const SendOptions &  options,
int  procId,
int  moduleId,
int  gateId,
void *  data 
)
overridevirtual

Performs no optimization, just sends out the cMessage to the given partition.

Implements cParsimSynchronizer.

Reimplemented in cNullMessageProtocol, and cISPEventLogger.


The documentation for this class was generated from the following file: