User Manual, Developers Guide and API Documentation

wns::scheduler::strategy::staticpriority::SubStrategy Class Reference

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

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

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual bool scheduleCid (SchedulerStatePtr schedulerState, wns::scheduler::SchedulingMapPtr schedulingMap, const wns::scheduler::ConnectionID cid, int &pduCounter, const int blockSize, MapInfoCollectionPtr mapInfoCollection)
 schedule PDUs of this cid on any available subchannel. Limited by blockSize PDUs.
virtual void setColleagues (wns::scheduler::strategy::Strategy *_strategy, wns::scheduler::queue::QueueInterface *_queue, wns::scheduler::RegistryProxyInterface *_registry, wns::scheduler::harq::HARQInterface *_harq)
 this method is called at the very beginning Do not overload. At least call this base class method first.
 SubStrategy (const wns::pyconfig::View &config)
 this is the constructor which the subStrategies must implement:
 SubStrategy ()
virtual bool usesHARQ ()
virtual ~SubStrategy ()

Protected Attributes

struct
wns::scheduler::strategy::staticpriority::SubStrategy::Colleagues 
colleagues
wns::logger::Logger logger
int minimumSegmentSize
 if the queue allows dynamic Segmentation, this is the smallest unit
bool useDynamicSegmentation
 true if the queue allows dynamic Segmentation:
bool useHARQ
 Indicates whether HARQ is enabled for this priority class.

Classes

struct  Colleagues


Detailed Description

Definition at line 43 of file SubStrategy.hpp.


Constructor & Destructor Documentation

virtual wns::scheduler::strategy::staticpriority::SubStrategy::~SubStrategy (  )  [inline, virtual]

Definition at line 47 of file SubStrategy.hpp.

SubStrategy::SubStrategy (  ) 

Definition at line 39 of file SubStrategy.cpp.

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

Definition at line 48 of file SubStrategy.cpp.


Member Function Documentation

bool SubStrategy::scheduleCid ( SchedulerStatePtr  schedulerState,
wns::scheduler::SchedulingMapPtr  schedulingMap,
const wns::scheduler::ConnectionID  cid,
int pduCounter,
const int  blockSize,
MapInfoCollectionPtr  mapInfoCollection 
) [virtual]

Definition at line 78 of file SubStrategy.cpp.

void SubStrategy::setColleagues ( wns::scheduler::strategy::Strategy _strategy,
wns::scheduler::queue::QueueInterface _queue,
wns::scheduler::RegistryProxyInterface _registry,
wns::scheduler::harq::HARQInterface _harq 
) [virtual]

bool SubStrategy::usesHARQ (  )  [virtual]


Member Data Documentation

Definition at line 75 of file SubStrategy.hpp.

Definition at line 86 of file SubStrategy.hpp.

Definition at line 84 of file SubStrategy.hpp.

Definition at line 91 of file SubStrategy.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