cNMPLookahead Class Reference¶
|
Parallel Simulation API
|
cNMPLookahead Class Referenceabstract
Inheritance diagram for cNMPLookahead:
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 |
Description
Base class of lookahead calculations for cNullMessageProtocol which implements the "null message algorithm".
Constructor & Destructor Documentation
◆ cNMPLookahead()
|
inline |
Constructor.
◆ ~cNMPLookahead()
|
inlinevirtual |
Destructor.
Member Function Documentation
◆ setContext()
|
inline |
Pass objects it has to cooperate with.
◆ startRun()
|
pure virtual |
Hook called at start of simulation run.
Implemented in cAdvancedLinkDelayLookahead, and cLinkDelayLookahead.
◆ endRun()
|
pure virtual |
Hook called at end of simulation run.
Implemented in cAdvancedLinkDelayLookahead, and cLinkDelayLookahead.
◆ getCurrentLookahead() [1/2]
|
pure virtual |
Performs lookahead calculation when a message gets sent out from the partition.
Implemented in cAdvancedLinkDelayLookahead, and cLinkDelayLookahead.
◆ getCurrentLookahead() [2/2]
|
pure virtual |
Returns current lookahead.
Implemented in cAdvancedLinkDelayLookahead, and cLinkDelayLookahead.
Generated on for Parallel Simulation API by