![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <scheduler/strategy/staticpriority/DSADrivenRR.hpp>


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 ¤tConnections, 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 | |
Definition at line 40 of file DSADrivenRR.hpp.
| 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.
| wns::scheduler::MapInfoCollectionPtr DSADrivenRR::doStartSubScheduling | ( | SchedulerStatePtr | schedulerState, | |
| wns::scheduler::SchedulingMapPtr | schedulingMap | |||
| ) | [virtual] |
| 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] |
Implements wns::scheduler::strategy::staticpriority::SubStrategyInterface.
Definition at line 57 of file DSADrivenRR.cpp.
wns::scheduler::ConnectionID wns::scheduler::strategy::staticpriority::DSADrivenRR::lastServedConnection [protected] |
Definition at line 60 of file DSADrivenRR.hpp.
1.5.5