Base class of lookahead calculations for cNullMessageProtocol which implements the "null message algorithm".
Public Member Functions | |
cNMPLookahead () | |
virtual | ~cNMPLookahead () |
void | setContext (cSimulation *simul, cParsimPartition *seg, cParsimCommunications *co) |
virtual void | startRun ()=0 |
virtual void | endRun ()=0 |
virtual simtime_t | getCurrentLookahead (cMessage *msg, int procId, void *data)=0 |
virtual simtime_t | getCurrentLookahead (int procId)=0 |
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
|
inline |
Pass objects it has to cooperate with.
|
pure virtual |
Hook called at start of simulation run.
Implemented in cLinkDelayLookahead, and cAdvancedLinkDelayLookahead.
|
pure virtual |
Hook called at end of simulation run.
Implemented in cLinkDelayLookahead, and cAdvancedLinkDelayLookahead.
|
pure virtual |
Performs lookahead calculation when a message gets sent out from the partition.
Implemented in cLinkDelayLookahead, and cAdvancedLinkDelayLookahead.
|
pure virtual |
Returns current lookahead.
Implemented in cLinkDelayLookahead, and cAdvancedLinkDelayLookahead.