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

Public Member Functions | |
| virtual MapInfoCollectionPtr | getMapInfo () const =0 |
| returns member var bursts which is set in the derived strategies in doStartScheduling by bursts.push_back(currentBurst) | |
| virtual wns::scheduler::PowerCapabilities | getPowerCapabilities (const UserID user) const =0 |
| retrieve info about a peer user's power capabilities (for master UL scheduling) | |
| virtual float | getResourceUsage () const =0 |
| obtain percentage of resources allocated during last round | |
| virtual wns::scheduler::SchedulerSpotType | getSchedulerSpotType () const =0 |
| there are three positions for the scheduler. Only used in WinProSt. | |
| virtual bool | isNewStrategy () const =0 |
| indicates if strategy is of 'old' (before 2009) or 'new' type (>=2009). Used in assertions. | |
| virtual bool | isTx () const =0 |
| indicates type of ResourceScheduler (TX or RX). Only used in WinProSt. | |
| virtual void | onColleaguesKnown ()=0 |
| can be overloaded by derived classes to perform initialization code. The derived class should call this base class method first. | |
| virtual void | setColleagues (queue::QueueInterface *_queue, grouper::GroupingProviderInterface *_grouper, RegistryProxyInterface *_registry, wns::scheduler::harq::HARQInterface *_harq)=0 |
| called in specialized scheduler (WinProSt,WiMAC,...) for defining the objects which operate closely together: strategy,queues,spatialGrouper,registryProxy | |
| virtual void | setFriends (wns::service::phy::ofdma::BFInterface *)=0 |
| called in specialized scheduler (WinProSt,WiMAC,...) for defining friends | |
| virtual StrategyResult | startScheduling (const StrategyInput &StrategyInput)=0 |
| (for AP) determines the order of PDUs in the given full set of resources. calls doStartScheduling() of derived class. | |
| virtual | ~StrategyInterface () |
Protected Member Functions | |
| virtual StrategyResult | doStartScheduling (SchedulerStatePtr schedulerState, SchedulingMapPtr schedulingMap)=0 |
| (non-virtual-interface) called in startScheduling(..) | |
| virtual SchedulerStatePtr | getNewSchedulerState ()=0 |
| The strategies need a new state. Implement this in the derived classes. | |
| virtual SchedulerStatePtr | getSchedulerState ()=0 |
| Get the scheduler state here. Implement this in the derived classes. | |
| virtual SchedulerStatePtr | revolveSchedulerState (const StrategyInput &strategyInput)=0 |
| The state is revolved before a new doStartScheduling() call. Implement this in the derived classes. | |
Friends | |
| class | wns::scheduler::strategy::tests::StrategyTest |
Definition at line 245 of file StrategyInterface.hpp.
| virtual wns::scheduler::strategy::StrategyInterface::~StrategyInterface | ( | ) | [inline, virtual] |
Definition at line 248 of file StrategyInterface.hpp.
| virtual StrategyResult wns::scheduler::strategy::StrategyInterface::doStartScheduling | ( | SchedulerStatePtr | schedulerState, | |
| SchedulingMapPtr | schedulingMap | |||
| ) | [protected, pure virtual] |
| SchedulerStatePtr | schedulerState |
Implemented in wns::scheduler::strategy::StaticPriority.
| virtual MapInfoCollectionPtr wns::scheduler::strategy::StrategyInterface::getMapInfo | ( | ) | const [pure virtual] |
Implemented in wns::scheduler::strategy::Strategy.
| virtual SchedulerStatePtr wns::scheduler::strategy::StrategyInterface::getNewSchedulerState | ( | ) | [protected, pure virtual] |
Implemented in wns::scheduler::strategy::Strategy.
| virtual wns::scheduler::PowerCapabilities wns::scheduler::strategy::StrategyInterface::getPowerCapabilities | ( | const UserID | user | ) | const [pure virtual] |
Implemented in wns::scheduler::strategy::Strategy.
| virtual float wns::scheduler::strategy::StrategyInterface::getResourceUsage | ( | ) | const [pure virtual] |
Implemented in wns::scheduler::strategy::StaticPriority, and wns::scheduler::strategy::Strategy.
| virtual wns::scheduler::SchedulerSpotType wns::scheduler::strategy::StrategyInterface::getSchedulerSpotType | ( | ) | const [pure virtual] |
Implemented in wns::scheduler::strategy::Strategy.
| virtual SchedulerStatePtr wns::scheduler::strategy::StrategyInterface::getSchedulerState | ( | ) | [protected, pure virtual] |
Implemented in wns::scheduler::strategy::Strategy.
| virtual bool wns::scheduler::strategy::StrategyInterface::isNewStrategy | ( | ) | const [pure virtual] |
Implemented in wns::scheduler::strategy::StaticPriority, and wns::scheduler::strategy::Strategy.
| virtual bool wns::scheduler::strategy::StrategyInterface::isTx | ( | ) | const [pure virtual] |
Implemented in wns::scheduler::strategy::Strategy.
| virtual void wns::scheduler::strategy::StrategyInterface::onColleaguesKnown | ( | ) | [pure virtual] |
Implemented in wns::scheduler::strategy::StaticPriority, and wns::scheduler::strategy::Strategy.
| virtual SchedulerStatePtr wns::scheduler::strategy::StrategyInterface::revolveSchedulerState | ( | const StrategyInput & | strategyInput | ) | [protected, pure virtual] |
Implemented in wns::scheduler::strategy::Strategy.
| virtual void wns::scheduler::strategy::StrategyInterface::setColleagues | ( | queue::QueueInterface * | _queue, | |
| grouper::GroupingProviderInterface * | _grouper, | |||
| RegistryProxyInterface * | _registry, | |||
| wns::scheduler::harq::HARQInterface * | _harq | |||
| ) | [pure virtual] |
Implemented in wns::scheduler::strategy::Strategy.
| virtual void wns::scheduler::strategy::StrategyInterface::setFriends | ( | wns::service::phy::ofdma::BFInterface * | ) | [pure virtual] |
Implemented in wns::scheduler::strategy::Strategy.
| virtual StrategyResult wns::scheduler::strategy::StrategyInterface::startScheduling | ( | const StrategyInput & | StrategyInput | ) | [pure virtual] |
| StrategyInput | contains parameters set by the caller. |
Implemented in wns::scheduler::strategy::Strategy.
friend class wns::scheduler::strategy::tests::StrategyTest [friend] |
Definition at line 331 of file StrategyInterface.hpp.
1.5.5