User Manual, Developers Guide and API Documentation

wns::scheduler::strategy::dsastrategy::BestChannel Class Reference

#include <scheduler/strategy/dsastrategy/BestChannel.hpp>

Inheritance diagram for wns::scheduler::strategy::dsastrategy::BestChannel:

Inheritance graph
[legend]
Collaboration diagram for wns::scheduler::strategy::dsastrategy::BestChannel:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 BestChannel (const wns::pyconfig::View &config)
virtual DSAResult getSubChannelWithDSA (RequestForResource &request, SchedulerStatePtr schedulerState, SchedulingMapPtr schedulingMap)
 determine subChannel for request. This is only a suggestion. The allocation/fixation is done outside.
virtual void initialize (SchedulerStatePtr schedulerState, SchedulingMapPtr schedulingMap)
 call this before each timeSlot/frame. Important to reset starting values.
bool requiresCQI () const
 true if the strategy must have CQI information. E.g. for getBestSubChannel based on CQI
 ~BestChannel ()

Private Types

typedef std::vector< boolUsedSubChannels
typedef std::map< UserID,
UserInfo
UserInfoMap

Private Attributes

ChannelQualitiesOfAllUsersPtr channelQualitiesOfAllUsers
 SmartPtr created in the CQI; no need for memory tracking later.
UserInfoMap userInfoMap

Classes

class  UserInfo


Detailed Description

Definition at line 37 of file BestChannel.hpp.


Member Typedef Documentation

Definition at line 57 of file BestChannel.hpp.

Definition at line 78 of file BestChannel.hpp.


Constructor & Destructor Documentation

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

Definition at line 44 of file BestChannel.cpp.

BestChannel::~BestChannel (  ) 

Definition at line 51 of file BestChannel.cpp.


Member Function Documentation

DSAResult BestChannel::getSubChannelWithDSA ( RequestForResource request,
SchedulerStatePtr  schedulerState,
SchedulingMapPtr  schedulingMap 
) [virtual]

void BestChannel::initialize ( SchedulerStatePtr  schedulerState,
SchedulingMapPtr  schedulingMap 
) [virtual]

Reimplemented from wns::scheduler::strategy::dsastrategy::DSAStrategy.

Definition at line 57 of file BestChannel.cpp.

bool wns::scheduler::strategy::dsastrategy::BestChannel::requiresCQI (  )  const [inline, virtual]


Member Data Documentation

Definition at line 52 of file BestChannel.hpp.

Definition at line 79 of file BestChannel.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