OMNeT++ Parallel Simulation Support  6.0.3
cLinkDelayLookahead Class Reference

#include <clinkdelaylookahead.h>

Description

Lookahead calculation based on inter-partition link delays only.

Inheritance diagram for cLinkDelayLookahead:
cNMPLookahead cObject

Public Member Functions

 cLinkDelayLookahead ()
 
virtual ~cLinkDelayLookahead ()
 
virtual void startRun () override
 
virtual void endRun () override
 
virtual simtime_t getCurrentLookahead (cMessage *msg, int procId, void *data) override
 
virtual simtime_t getCurrentLookahead (int procId) override
 
- Public Member Functions inherited from cNMPLookahead
 cNMPLookahead ()
 
virtual ~cNMPLookahead ()
 
void setContext (cSimulation *simul, cParsimPartition *seg, cParsimCommunications *co)
 

Constructor & Destructor Documentation

◆ cLinkDelayLookahead()

cLinkDelayLookahead ( )
inline

Constructor.

◆ ~cLinkDelayLookahead()

virtual ~cLinkDelayLookahead ( )
virtual

Destructor.

Member Function Documentation

◆ startRun()

virtual void startRun ( )
overridevirtual

Sets up algorithm for new simulation run.

Implements cNMPLookahead.

◆ endRun()

virtual void endRun ( )
overridevirtual

Called at end of simulation run.

Implements cNMPLookahead.

◆ getCurrentLookahead() [1/2]

virtual simtime_t getCurrentLookahead ( cMessage msg,
int  procId,
void *  data 
)
overridevirtual

Updates lookahead information, based on the delay of the link where message is sent out. Returns EOT.

Implements cNMPLookahead.

◆ getCurrentLookahead() [2/2]

virtual simtime_t getCurrentLookahead ( int  procId)
overridevirtual

Returns minimum of link delays toward the given partition.

Implements cNMPLookahead.


The documentation for this class was generated from the following file: