17 #ifndef __OMNETPP_CPARSIMCOMM_H 18 #define __OMNETPP_CPARSIMCOMM_H 26 #define PARSIM_ANY_TAG -1 58 virtual void init() = 0;
63 virtual void shutdown() = 0;
70 virtual int getNumPartitions()
const = 0;
75 virtual int getProcId()
const = 0;
87 virtual void recycleCommBuffer(
cCommBuffer *buffer) = 0;
92 virtual void send(
cCommBuffer *buffer,
int tag,
int destination) = 0;
98 virtual void broadcast(
cCommBuffer *buffer,
int tag);
104 virtual bool receiveBlocking(
int filtTag,
cCommBuffer *buffer,
int& receivedTag,
int& sourceProcId) = 0;
111 virtual bool receiveNonblocking(
int filtTag,
cCommBuffer *buffer,
int& receivedTag,
int& sourceProcId) = 0;
virtual ~cParsimCommunications()
Definition: cparsimcomm.h:45
Root of the OMNeT++ class hierarchy. cObject is a lightweight class without any data members...
Definition: cobject.h:58
Buffer for the communications layer of parallel simulation.
Definition: ccommbuffer.h:41
Definition: cabstracthistogram.h:21
Basic communications layer for parallel simulation. It provides an abstraction layer above MPI...
Definition: cparsimcomm.h:39