OMNeT++ Parallel Simulation Support  6.0.3
cAdvancedLinkDelayLookahead Class Reference

#include <cadvlinkdelaylookahead.h>

Description

Lookahead calculation based on inter-partition link delays only.

Inheritance diagram for cAdvancedLinkDelayLookahead:
cNMPLookahead cObject

Public Member Functions

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

Constructor & Destructor Documentation

◆ cAdvancedLinkDelayLookahead()

Constructor.

◆ ~cAdvancedLinkDelayLookahead()

virtual ~cAdvancedLinkDelayLookahead ( )
virtual

Destructor.

Member Function Documentation

◆ startRun()

virtual void startRun ( )
virtual

Sets up algorithm for new simulation run.

Implements cNMPLookahead.

◆ endRun()

virtual void endRun ( )
virtual

Called at end of simulation run.

Implements cNMPLookahead.

◆ getCurrentLookahead() [1/2]

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

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)
virtual

Returns minimum of link delays toward the given partition.

Implements cNMPLookahead.


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