OMNeT++ Parallel Simulation Support
6.0.3
|
17 #ifndef __OMNETPP_CNULLMESSAGEPROT_H
18 #define __OMNETPP_CNULLMESSAGEPROT_H
20 #include "omnetpp/cmessage.h"
21 #include "cparsimprotocolbase.h"
48 PartitionInfo *segInfo =
nullptr;
56 MK_PARSIM_EIT = MK_PARSIM_BEGIN - 1,
57 MK_PARSIM_RESENDEOT = MK_PARSIM_BEGIN - 2
66 virtual void processReceivedBuffer(
cCommBuffer *buffer,
int tag,
int sourceProcId)
override;
69 virtual void processReceivedEIT(
int sourceProcId,
simtime_t eit);
72 virtual void sendNullMessage(
int procId,
simtime_t now);
111 virtual void startRun()
override;
116 virtual void endRun()
override;
121 virtual cEvent *takeNextEvent()
override;
126 virtual void putBackEvent(
cEvent *event)
override;
133 virtual void processOutgoingMessage(
cMessage *msg,
const SendOptions& options,
int procId,
int moduleId,
int gateId,
void *data)
override;
double getLaziness()
Definition: cnullmessageprot.h:106
void setLaziness(double d)
Definition: cnullmessageprot.h:101
Base class of lookahead calculations for cNullMessageProtocol which implements the "null message algo...
Definition: cnmplookahead.h:37
Represents one partition in a parallel simulation. Knows about partitions and the links between this ...
Definition: cparsimpartition.h:58
Contains utility functions for implementing parallel simulation protocols.
Definition: cparsimprotocolbase.h:32
Implements the "null message algorithm". Lookahead calculation is encapsulated into a separate object...
Definition: cnullmessageprot.h:36