RINASim  October 2016
Documentation of framework for OMNeT++
IterativeScheduling::IterativeScheduling Class Reference

#include <IterativeScheduling.h>

Inheritance diagram for IterativeScheduling::IterativeScheduling:
RMTSchedulingBase

Public Member Functions

void addQueue (RMTPort *port, RMTQueue *q)
 
void removeQueue (RMTPort *port, RMTQueue *q)
 
void finish ()
 

Protected Attributes

map< RMTPort *, set< RMTQueue * > > queues
 
map< RMTPort *, set< RMTQueue * >::iterator > lastQ
 
- Protected Attributes inherited from RMTSchedulingBase
RMTModuleAllocatorrmtAllocator
 

Private Member Functions

void processQueues (RMTPort *port, RMTQueueType direction)
 

Additional Inherited Members

- Protected Member Functions inherited from RMTSchedulingBase
virtual void onPolicyInit ()
 
void scheduleReinvocation (simtime_t time, RMTPort *port, RMTQueueType direction)
 
void handleMessage (cMessage *msg)
 

Detailed Description

Definition at line 28 of file IterativeScheduling.h.

Member Function Documentation

void IterativeScheduling::IterativeScheduling::addQueue ( RMTPort port,
RMTQueue q 
)

Definition at line 25 of file IterativeScheduling.cc.

void IterativeScheduling::IterativeScheduling::finish ( )

Definition at line 64 of file IterativeScheduling.cc.

void IterativeScheduling::IterativeScheduling::processQueues ( RMTPort port,
RMTQueueType  direction 
)
privatevirtual

A hook method invoked on multiple occasions. 1) A PDU arrives into a queue. 2) An (N-1)-port becomes ready to serve. 3) By self-postponed scheduler invocation.

Parameters
portthe (N-1)-port
directionthe direction of data flow (in/out)

Reimplemented from RMTSchedulingBase.

Definition at line 35 of file IterativeScheduling.cc.

void IterativeScheduling::IterativeScheduling::removeQueue ( RMTPort port,
RMTQueue q 
)

Definition at line 29 of file IterativeScheduling.cc.

Member Data Documentation

map<RMTPort*, set<RMTQueue *>::iterator> IterativeScheduling::IterativeScheduling::lastQ
protected

Definition at line 39 of file IterativeScheduling.h.

map<RMTPort*, set<RMTQueue *> > IterativeScheduling::IterativeScheduling::queues
protected

Definition at line 38 of file IterativeScheduling.h.


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