User Manual, Developers Guide and API Documentation

wns::scheduler::strategy::staticpriority::HARQRetransmission Class Reference

subscheduler specialized for HARQ retransmissions. In this case the items to schedule are not "normal PDUs" but "resource blocks" which must remain unchanged during retransmission. Also the PhyMode and Power should be unchanged.

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

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

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

Collaboration graph
[legend]

List of all members.

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 &currentConnections, ConnectionID cid) const
 gives the next cid to schedule
virtual
wns::scheduler::ConnectionID 
getValidCurrentConnection (const ConnectionSet &currentConnections, 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< intgetUsableSubChannelsIDs (wns::scheduler::UserID user, const wns::scheduler::SchedulingMapPtr &schedulingMap)

Private Attributes

wns::distribution::StandardUniform randomDist


Detailed Description

Definition at line 49 of file HARQRetransmission.hpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

wns::scheduler::MapInfoCollectionPtr HARQRetransmission::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 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]


Member Data Documentation

Definition at line 77 of file HARQRetransmission.hpp.

Definition at line 74 of file HARQRetransmission.hpp.

Definition at line 80 of file HARQRetransmission.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