17 #ifndef __OMNETPP_CPARSIMSYNCHR_H
18 #define __OMNETPP_CPARSIMSYNCHR_H
20 #include "omnetpp/cscheduler.h"
21 #include "omnetpp/simtime_t.h"
27 class cParsimPartition;
28 class cParsimCommunications;
54 cParsimCommunications *comm;
70 virtual std::string str()
const override;
76 {setSimulation(sim); partition = seg; comm = co;}
81 virtual void startRun()
override = 0;
86 virtual void endRun()
override = 0;
91 virtual cEvent *guessNextEvent()
override;
96 virtual cEvent *takeNextEvent()
override = 0;
104 virtual void processOutgoingMessage(cMessage *msg,
const SendOptions& options,
int procId,
int moduleId,
int gateId,
void *data) = 0;