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


Public Member Functions | |
| virtual MapInfoCollectionPtr | doStartSubScheduling (SchedulerStatePtr schedulerState, wns::scheduler::SchedulingMapPtr schedulingMap) |
| The main work is done here. Called by StaticPriority master scheduler. | |
| virtual wns::scheduler::ConnectionID | getNextConnection (const ConnectionSet ¤tConnections, ConnectionID cid) const |
| gives the next cid to schedule | |
| virtual wns::scheduler::ConnectionID | getValidCurrentConnection (const ConnectionSet ¤tConnections, ConnectionID cid) const |
| gives the current cid or the next one, if it doesn't exist anymore | |
| HARQRetransmission (const wns::pyconfig::View &config) | |
| virtual void | initialize () |
| this method is used to initialize datastructures. Please overload/implement this for your derived class | |
| ~HARQRetransmission () | |
Protected Attributes | |
| int | blockSize |
| Number of packets to schedule of the same cid before proceeding to the next one. (PyConfig parameter). | |
| wns::scheduler::ConnectionID | lastScheduledConnection |
| keep state of RR pointer | |
Private Member Functions | |
| std::vector< int > | getUsableSubChannelsIDs (wns::scheduler::UserID user, const wns::scheduler::SchedulingMapPtr &schedulingMap) |
Private Attributes | |
| wns::distribution::StandardUniform | randomDist |
Definition at line 49 of file HARQRetransmission.hpp.
| HARQRetransmission::HARQRetransmission | ( | const wns::pyconfig::View & | config | ) |
Definition at line 47 of file HARQRetransmission.cpp.
| HARQRetransmission::~HARQRetransmission | ( | ) |
Definition at line 54 of file HARQRetransmission.cpp.
| wns::scheduler::MapInfoCollectionPtr HARQRetransmission::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 137 of file HARQRetransmission.cpp.
| wns::scheduler::ConnectionID HARQRetransmission::getNextConnection | ( | const ConnectionSet & | currentConnections, | |
| ConnectionID | cid | |||
| ) | const [virtual] |
Definition at line 83 of file HARQRetransmission.cpp.
| std::vector< int > HARQRetransmission::getUsableSubChannelsIDs | ( | wns::scheduler::UserID | user, | |
| const wns::scheduler::SchedulingMapPtr & | schedulingMap | |||
| ) | [private] |
Definition at line 105 of file HARQRetransmission.cpp.
| wns::scheduler::ConnectionID HARQRetransmission::getValidCurrentConnection | ( | const ConnectionSet & | currentConnections, | |
| ConnectionID | cid | |||
| ) | const [virtual] |
Definition at line 68 of file HARQRetransmission.cpp.
| void HARQRetransmission::initialize | ( | ) | [virtual] |
Implements wns::scheduler::strategy::staticpriority::SubStrategyInterface.
Definition at line 59 of file HARQRetransmission.cpp.
Definition at line 77 of file HARQRetransmission.hpp.
wns::scheduler::ConnectionID wns::scheduler::strategy::staticpriority::HARQRetransmission::lastScheduledConnection [protected] |
Definition at line 74 of file HARQRetransmission.hpp.
wns::distribution::StandardUniform wns::scheduler::strategy::staticpriority::HARQRetransmission::randomDist [private] |
Definition at line 80 of file HARQRetransmission.hpp.
1.5.5