17 #ifndef __OMNETPP_CFILECOMM_H
18 #define __OMNETPP_CFILECOMM_H
20 #include "omnetpp/cparsimcomm.h"
21 #include "omnetpp/simutil.h"
42 opp_string commDirPrefix;
43 opp_string readDirPrefix;
44 bool preserveReadFiles;
62 virtual void init(
int numPartitions)
override;
67 virtual void shutdown()
override;
72 virtual int getNumPartitions()
const override;
77 virtual int getProcId()
const override;
82 virtual cCommBuffer *createCommBuffer()
override;
87 virtual void recycleCommBuffer(cCommBuffer *buffer)
override;
92 virtual void send(cCommBuffer *buffer,
int tag,
int destination)
override;
98 virtual bool receiveBlocking(
int filtTag, cCommBuffer *buffer,
int& receivedTag,
int& sourceProcId)
override;
105 virtual bool receiveNonblocking(
int filtTag, cCommBuffer *buffer,
int& receivedTag,
int& sourceProcId)
override;