OMNeT++ Parallel Simulation Support  6.0.3
cParsimProtocolBase Class Reference

#include <cparsimprotocolbase.h>

Description

Contains utility functions for implementing parallel simulation protocols.

Inheritance diagram for cParsimProtocolBase:
cParsimSynchronizer cScheduler cObject cISimulationLifecycleListener cIdealSimulationProtocol cNoSynchronization cNullMessageProtocol cISPEventLogger

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 cEventguessNextEvent () override
 
virtual cEventtakeNextEvent () 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: