User Manual, Developers Guide and API Documentation

wns::scheduler::strategy::staticpriority::DSADrivenRR Class Reference

#include <scheduler/strategy/staticpriority/DSADrivenRR.hpp>

Inheritance diagram for wns::scheduler::strategy::staticpriority::DSADrivenRR:

Inheritance graph
[legend]
Collaboration diagram for wns::scheduler::strategy::staticpriority::DSADrivenRR:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual
wns::scheduler::MapInfoCollectionPtr 
doStartSubScheduling (SchedulerStatePtr schedulerState, wns::scheduler::SchedulingMapPtr schedulingMap)
 The main work is done here. Called by StaticPriority master scheduler.
 DSADrivenRR (const wns::pyconfig::View &config)
virtual
wns::scheduler::ConnectionID 
getNextConnection (const ConnectionSet &currentConnections, ConnectionID cid) const
 gives the next cid to schedule
virtual void initialize ()
 this method is used to initialize datastructures. Please overload/implement this for your derived class
 ~DSADrivenRR ()

Protected Attributes

wns::scheduler::ConnectionID lastServedConnection
 keep track which connection was last served


Detailed Description

Definition at line 40 of file DSADrivenRR.hpp.


Constructor & Destructor Documentation

DSADrivenRR::DSADrivenRR ( const wns::pyconfig::View config  ) 

Definition at line 47 of file DSADrivenRR.cpp.

DSADrivenRR::~DSADrivenRR (  ) 

Definition at line 52 of file DSADrivenRR.cpp.


Member Function Documentation

wns::scheduler::MapInfoCollectionPtr DSADrivenRR::doStartSubScheduling ( SchedulerStatePtr  schedulerState,
wns::scheduler::SchedulingMapPtr  schedulingMap 
) [virtual]

Parameters:
SchedulerState contains all the input parameters and current state of the scheduler.
SchedulingMap contains the (incomplete) result so far and will be updated by this method.

Implements wns::scheduler::strategy::staticpriority::SubStrategyInterface.

Definition at line 78 of file DSADrivenRR.cpp.

wns::scheduler::ConnectionID DSADrivenRR::getNextConnection ( const ConnectionSet currentConnections,
ConnectionID  cid 
) const [virtual]

Definition at line 62 of file DSADrivenRR.cpp.

void DSADrivenRR::initialize (  )  [virtual]


Member Data Documentation

Definition at line 60 of file DSADrivenRR.hpp.


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

Generated on Sun May 27 03:33:05 2012 for openWNS by  doxygen 1.5.5