17 #ifndef __OMNETPP_CPARSIMPARTITION_H
18 #define __OMNETPP_CPARSIMPARTITION_H
20 #include "omnetpp/simkerneldefs.h"
21 #include "omnetpp/cobject.h"
22 #include "omnetpp/simtime_t.h"
23 #include "omnetpp/clifecyclelistener.h"
28 class cParsimSynchronizer;
29 class cParsimCommunications;
32 class cTerminationException;
61 cSimulation *sim =
nullptr;
62 cParsimCommunications *comm =
nullptr;
68 void connectRemoteGates();
74 virtual void lifecycleEvent(SimulationLifecycleEventType eventType, cObject *details)
override;
113 virtual void processOutgoingMessage(cMessage *msg,
const SendOptions& options,
int procId,
int moduleId,
int gateId,
void *data);
121 virtual void processReceivedBuffer(cCommBuffer *buffer,
int tag,
int sourceProcId);
130 virtual void processReceivedMessage(cMessage *msg,
const SendOptions& options,
int destModuleId,
int destGateId,
int sourceProcId);
140 virtual void broadcastTerminationException(cTerminationException& e);
150 virtual void broadcastException(std::exception& e);