#include <cnmplookahead.h>

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 |
| cNMPLookahead::cNMPLookahead | ( | ) | [inline] |
Constructor.
| virtual cNMPLookahead::~cNMPLookahead | ( | ) | [inline, virtual] |
Destructor.
| void cNMPLookahead::setContext | ( | cSimulation * | simul, | |
| cParsimPartition * | seg, | |||
| cParsimCommunications * | co | |||
| ) | [inline] |
Pass objects it has to cooperate with.
| virtual void cNMPLookahead::startRun | ( | ) | [pure virtual] |
Hook called at start of simulation run.
Implemented in cAdvancedLinkDelayLookahead, and cLinkDelayLookahead.
| virtual void cNMPLookahead::endRun | ( | ) | [pure virtual] |
Hook called at end of simulation run.
Implemented in cAdvancedLinkDelayLookahead, and cLinkDelayLookahead.
| virtual simtime_t cNMPLookahead::getCurrentLookahead | ( | cMessage * | msg, | |
| int | procId, | |||
| void * | data | |||
| ) | [pure virtual] |
Performs lookahead calculation when a message gets sent out from the partition.
Implemented in cAdvancedLinkDelayLookahead, and cLinkDelayLookahead.
| virtual simtime_t cNMPLookahead::getCurrentLookahead | ( | int | procId | ) | [pure virtual] |
1.5.5