User Manual, Developers Guide and API Documentation

wimemac::drp::DRPManager Class Reference

#include <drp/DRPManager.hpp>

Inheritance diagram for wimemac::drp::DRPManager:

Inheritance graph
[legend]
Collaboration diagram for wimemac::drp::DRPManager:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void AddReservation (wimemac::management::BeaconCommand::ReasonCode mergeReasonCode_, Vector mergeMap_)
bool areMASsAvailable (Vector DRPGlobal)
void CreateAdditionalPattern (Vector DRPGlobal)
 DRPManager (wns::service::dll::UnicastAddress TargetAddress, wimemac::management::BeaconCommand::ReservationType InitialType, wimemac::management::BeaconCommand::ReasonCode InitialReason, wimemac::management::BeaconCommand::DeviceType InitialDevice, Vector DRPSlotMap, helper::IDRPQueueInterface *QueueInterface, wns::logger::Logger logger_, wimemac::lowerMAC::Manager *manager_, int numberOfBPSlots_, bool useRateAdaptation_, double patternPEROffset_)
 DRPManager (wns::service::dll::UnicastAddress TargetAddress, wimemac::management::BeaconCommand::ReservationType InitialType, wimemac::management::BeaconCommand::ReasonCode InitialReason, wimemac::management::BeaconCommand::DeviceType InitialDevice, Vector DRPSlotMap, helper::IDRPQueueInterface *QueueInterface, wns::logger::Logger logger_, wimemac::lowerMAC::Manager *manager_, int numberOfBPSlots_, bool useRateAdaptation_, double patternPEROffset_, wimemac::convergence::PhyMode DefPhyMode)
void FindNewPattern (Vector DRPGlobal)
wns::service::dll::UnicastAddress GetAddress ()
wimemac::management::BeaconCommand::DeviceType GetDeviceType ()
Vector GetMergePattern ()
wimemac::management::BeaconCommand::ReasonCode GetMergeReasonCode ()
bool GetMergeStatus ()
Vector GetPattern ()
wimemac::management::BeaconCommand::ReasonCode GetReasonCode ()
wimemac::management::BeaconCommand::ReservationType GetReservationType ()
bool GetStatus ()
bool HasPendingDRPMerge ()
bool IsMapCreated ()
void MergePatterns ()
bool NeedsAdditionalPattern ()
void RegisterReservation (wns::simulator::Time BPDuration)
void ResolveConflict ()
void ResolveMergeConflict ()
void SetDeviceType (wimemac::management::BeaconCommand::DeviceType deviceType)
void SetMergePattern (Vector DRPreservation)
void SetMergeReasonCode (wimemac::management::BeaconCommand::ReasonCode)
void SetMergeStatus (bool ConnectionStatus)
void SetPattern (Vector DRPreservation)
void SetReasonCode (wimemac::management::BeaconCommand::ReasonCode)
void SetReservationType (wimemac::management::BeaconCommand::ReservationType)
void SetStatus (bool ConnectionStatus)
void StartRegisterReservation (wns::simulator::Time BPDuration)
void Transmit (wns::simulator::Time duration)
void UpdatePhyModeDown (wimemac::convergence::PhyMode phyMode_)

Private Attributes

wns::events::scheduler::Callable call
bool connectionstatus
enum
wimemac::management::BeaconCommand::DeviceType 
devicetype
Vector DRPAllocMap
wns::simulator::Time duration
bool hasPendingDRPMerge
Vector::iterator it
wns::logger::Logger logger
bool mergeconnectionstatus
enum
wimemac::management::BeaconCommand::ReasonCode 
mergereasoncode
bool needsAdditionalPattern
wns::service::dll::UnicastAddress peerAddress
helper::IDRPQueueInterfaceQueueInterface
enum
wimemac::management::BeaconCommand::ReasonCode 
reasoncode
wns::simulator::Time ReservationStart
enum
wimemac::management::BeaconCommand::ReservationType 
reservationtype
wns::events::scheduler::Interfacescheduler
wns::service::dll::UnicastAddress test
Vector tmpDRPAllocMap
Vector tmpDRPMergeMap
const bool useRateAdaptation
int waitSFsForNewAvailIE


Detailed Description

Definition at line 53 of file DRPManager.hpp.


Constructor & Destructor Documentation

wimemac::drp::DRPManager::DRPManager ( wns::service::dll::UnicastAddress  TargetAddress,
wimemac::management::BeaconCommand::ReservationType  InitialType,
wimemac::management::BeaconCommand::ReasonCode  InitialReason,
wimemac::management::BeaconCommand::DeviceType  InitialDevice,
Vector  DRPSlotMap,
helper::IDRPQueueInterface QueueInterface,
wns::logger::Logger  logger_,
wimemac::lowerMAC::Manager manager_,
int  numberOfBPSlots_,
bool  useRateAdaptation_,
double  patternPEROffset_,
wimemac::convergence::PhyMode  DefPhyMode 
)

wimemac::drp::DRPManager::DRPManager ( wns::service::dll::UnicastAddress  TargetAddress,
wimemac::management::BeaconCommand::ReservationType  InitialType,
wimemac::management::BeaconCommand::ReasonCode  InitialReason,
wimemac::management::BeaconCommand::DeviceType  InitialDevice,
Vector  DRPSlotMap,
helper::IDRPQueueInterface QueueInterface,
wns::logger::Logger  logger_,
wimemac::lowerMAC::Manager manager_,
int  numberOfBPSlots_,
bool  useRateAdaptation_,
double  patternPEROffset_ 
)


Member Function Documentation

void DRPManager::AddReservation ( wimemac::management::BeaconCommand::ReasonCode  mergeReasonCode_,
Vector  mergeMap_ 
)

Definition at line 362 of file DRPManager.cpp.

bool DRPManager::areMASsAvailable ( Vector  DRPGlobal  ) 

Definition at line 137 of file DRPManager.cpp.

void DRPManager::CreateAdditionalPattern ( Vector  DRPGlobal  ) 

Definition at line 183 of file DRPManager.cpp.

void DRPManager::FindNewPattern ( Vector  DRPGlobal  ) 

Definition at line 150 of file DRPManager.cpp.

wns::service::dll::UnicastAddress DRPManager::GetAddress (  ) 

Definition at line 93 of file DRPManager.cpp.

BeaconCommand::DeviceType DRPManager::GetDeviceType (  ) 

Definition at line 270 of file DRPManager.cpp.

Vector DRPManager::GetMergePattern (  ) 

Definition at line 235 of file DRPManager.cpp.

BeaconCommand::ReasonCode DRPManager::GetMergeReasonCode (  ) 

Definition at line 131 of file DRPManager.cpp.

bool DRPManager::GetMergeStatus (  ) 

Definition at line 304 of file DRPManager.cpp.

Vector DRPManager::GetPattern (  ) 

Definition at line 229 of file DRPManager.cpp.

BeaconCommand::ReasonCode DRPManager::GetReasonCode (  ) 

Definition at line 118 of file DRPManager.cpp.

BeaconCommand::ReservationType DRPManager::GetReservationType (  ) 

Definition at line 105 of file DRPManager.cpp.

bool DRPManager::GetStatus (  ) 

Definition at line 292 of file DRPManager.cpp.

bool DRPManager::HasPendingDRPMerge (  ) 

Definition at line 347 of file DRPManager.cpp.

bool DRPManager::IsMapCreated (  ) 

Definition at line 310 of file DRPManager.cpp.

void DRPManager::MergePatterns (  ) 

Definition at line 370 of file DRPManager.cpp.

bool DRPManager::NeedsAdditionalPattern (  ) 

Definition at line 319 of file DRPManager.cpp.

void DRPManager::RegisterReservation ( wns::simulator::Time  BPDuration  ) 

Definition at line 410 of file DRPManager.cpp.

void DRPManager::ResolveConflict (  ) 

Definition at line 241 of file DRPManager.cpp.

void DRPManager::ResolveMergeConflict (  ) 

Definition at line 253 of file DRPManager.cpp.

void wimemac::drp::DRPManager::SetDeviceType ( wimemac::management::BeaconCommand::DeviceType  deviceType  ) 

void DRPManager::SetMergePattern ( Vector  DRPreservation  ) 

Definition at line 223 of file DRPManager.cpp.

void wimemac::drp::DRPManager::SetMergeReasonCode ( wimemac::management::BeaconCommand::ReasonCode   ) 

void DRPManager::SetMergeStatus ( bool  ConnectionStatus  ) 

Definition at line 298 of file DRPManager.cpp.

void DRPManager::SetPattern ( Vector  DRPreservation  ) 

Definition at line 217 of file DRPManager.cpp.

void wimemac::drp::DRPManager::SetReasonCode ( wimemac::management::BeaconCommand::ReasonCode   ) 

void wimemac::drp::DRPManager::SetReservationType ( wimemac::management::BeaconCommand::ReservationType   ) 

void DRPManager::SetStatus ( bool  ConnectionStatus  ) 

Definition at line 285 of file DRPManager.cpp.

void DRPManager::StartRegisterReservation ( wns::simulator::Time  BPDuration  ) 

Definition at line 278 of file DRPManager.cpp.

void DRPManager::Transmit ( wns::simulator::Time  duration  ) 

Definition at line 477 of file DRPManager.cpp.

void DRPManager::UpdatePhyModeDown ( wimemac::convergence::PhyMode  phyMode_  ) 

Definition at line 392 of file DRPManager.cpp.


Member Data Documentation

Definition at line 137 of file DRPManager.hpp.

Definition at line 120 of file DRPManager.hpp.

Definition at line 118 of file DRPManager.hpp.

Definition at line 128 of file DRPManager.hpp.

Definition at line 133 of file DRPManager.hpp.

Definition at line 123 of file DRPManager.hpp.

Vector::iterator wimemac::drp::DRPManager::it [private]

Definition at line 131 of file DRPManager.hpp.

Reimplemented from wimemac::drp::DRPPatternCreator.

Definition at line 139 of file DRPManager.hpp.

Definition at line 121 of file DRPManager.hpp.

Definition at line 117 of file DRPManager.hpp.

Definition at line 122 of file DRPManager.hpp.

Definition at line 132 of file DRPManager.hpp.

Definition at line 142 of file DRPManager.hpp.

Definition at line 116 of file DRPManager.hpp.

Definition at line 134 of file DRPManager.hpp.

Definition at line 115 of file DRPManager.hpp.

Definition at line 136 of file DRPManager.hpp.

Definition at line 140 of file DRPManager.hpp.

Definition at line 129 of file DRPManager.hpp.

Definition at line 130 of file DRPManager.hpp.

Definition at line 126 of file DRPManager.hpp.

Definition at line 124 of file DRPManager.hpp.


The documentation for this class was generated from the following files:

Generated on Sat May 26 03:32:49 2012 for openWNS by  doxygen 1.5.5