User Manual, Developers Guide and API Documentation

wifimac::convergence::PhyUser Class Reference

Convergence FU to the OFDM(A)-Module. More...

#include <convergence/PhyUser.hpp>

Inheritance diagram for wifimac::convergence::PhyUser:

Inheritance graph
[legend]
Collaboration diagram for wifimac::convergence::PhyUser:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual
wns::service::phy::ofdma::DataTransmission
getDataTransmissionService () const
wns::Ratio getExpectedPostSINRFactor (unsigned int nss, unsigned int numRx)
virtual
wns::service::phy::ofdma::Notification
getNotificationService () const
PhyModeProvidergetPhyModeProvider ()
 Handling of PhyModes.
bool isTransmitting () const
virtual void onData (wns::osi::PDUPtr, wns::service::phy::power::PowerMeasurementPtr)
 Interface to lower layer wns::service::phy::ofdma::Handler.
 PhyUser (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &config)
virtual void setDataTransmissionService (wns::service::Service *phy)
void setFrequency (double frequency)
 Frequency tuning.
virtual void setNotificationService (wns::service::Service *phy)
 Handling of the services.
virtual ~PhyUser ()

Private Types

enum  PhyUserStatus { transmitting, receiving, txrxTurnaround }

Private Member Functions

virtual bool doIsAccepting (const wns::ldk::CompoundPtr &compound) const
virtual void doOnData (const wns::ldk::CompoundPtr &compound)
virtual void doSendData (const wns::ldk::CompoundPtr &sdu)
virtual void doWakeup ()
virtual void onFUNCreated ()
virtual void onTimeout ()
 Your callback. Implement this.

Private Attributes

const bool bfEnabled
wns::pyconfig::View config
wns::ldk::CompoundPtr currentTxCompound
wns::service::phy::ofdma::DataTransmissiondataTransmission
struct
wifimac::convergence::PhyUser::Friends 
friends
wns::simulator::Time lastTxRxTurnaround
wns::logger::Logger logger
const std::string managerName
wns::service::phy::ofdma::NotificationnotificationService
PhyModeProvider phyModes
enum
wifimac::convergence::PhyUser::PhyUserStatus 
phyUserStatus
wns::service::phy::ofdma::Tune tune
const std::string txDurationProviderCommandName
const wns::simulator::Time txrxTurnaroundDelay

Classes

struct  Friends


Detailed Description

The PhyUser represents the lowest FU in the WiFiMAC FUN, it transates the FU-Interface to the notification/request interface of the lower OFDM(A) module.

Furthermore, the PhyUser provides some Phy-dependent functions, e.g access to the different PhyModes (MCSs) via the PhyModeProvider.

Definition at line 103 of file PhyUser.hpp.


Member Enumeration Documentation

Enumerator:
transmitting 
receiving 
txrxTurnaround 

Definition at line 166 of file PhyUser.hpp.


Constructor & Destructor Documentation

PhyUser::PhyUser ( wns::ldk::fun::FUN fun,
const wns::pyconfig::View config 
)

Definition at line 52 of file PhyUser.cpp.

PhyUser::~PhyUser (  )  [virtual]

Definition at line 75 of file PhyUser.cpp.


Member Function Documentation

bool PhyUser::doIsAccepting ( const wns::ldk::CompoundPtr compound  )  const [private, virtual]

Definition at line 84 of file PhyUser.cpp.

void PhyUser::doOnData ( const wns::ldk::CompoundPtr compound  )  [private, virtual]

Definition at line 172 of file PhyUser.cpp.

void PhyUser::doSendData ( const wns::ldk::CompoundPtr sdu  )  [private, virtual]

Definition at line 90 of file PhyUser.cpp.

void PhyUser::doWakeup (  )  [private, virtual]

Definition at line 179 of file PhyUser.cpp.

wns::service::phy::ofdma::DataTransmission * PhyUser::getDataTransmissionService (  )  const [virtual]

Definition at line 324 of file PhyUser.cpp.

wns::Ratio PhyUser::getExpectedPostSINRFactor ( unsigned int  nss,
unsigned int  numRx 
)

Definition at line 242 of file PhyUser.cpp.

wns::service::phy::ofdma::Notification * PhyUser::getNotificationService (  )  const [virtual]

Definition at line 341 of file PhyUser.cpp.

PhyModeProvider * PhyUser::getPhyModeProvider (  ) 

Definition at line 363 of file PhyUser.cpp.

bool wifimac::convergence::PhyUser::isTransmitting (  )  const [inline]

Definition at line 131 of file PhyUser.hpp.

void PhyUser::onData ( wns::osi::PDUPtr  pdu,
wns::service::phy::power::PowerMeasurementPtr  rxPowerMeasurement 
) [virtual]

Implements wns::service::phy::ofdma::Handler.

Definition at line 184 of file PhyUser.cpp.

void PhyUser::onFUNCreated (  )  [private, virtual]

Definition at line 79 of file PhyUser.cpp.

void PhyUser::onTimeout (  )  [private, virtual]

The deriver is forced to implement this method. It gets called, whenever the timer fires.

Implements wns::events::CanTimeout.

Definition at line 279 of file PhyUser.cpp.

void PhyUser::setDataTransmissionService ( wns::service::Service phy  )  [virtual]

Definition at line 315 of file PhyUser.cpp.

void PhyUser::setFrequency ( double  frequency  ) 

Definition at line 347 of file PhyUser.cpp.

void PhyUser::setNotificationService ( wns::service::Service phy  )  [virtual]

Definition at line 330 of file PhyUser.cpp.


Member Data Documentation

Definition at line 159 of file PhyUser.hpp.

Definition at line 148 of file PhyUser.hpp.

Definition at line 173 of file PhyUser.hpp.

Definition at line 152 of file PhyUser.hpp.

Definition at line 174 of file PhyUser.hpp.

Definition at line 149 of file PhyUser.hpp.

const std::string wifimac::convergence::PhyUser::managerName [private]

Definition at line 156 of file PhyUser.hpp.

Definition at line 153 of file PhyUser.hpp.

Definition at line 154 of file PhyUser.hpp.

Definition at line 151 of file PhyUser.hpp.

Definition at line 157 of file PhyUser.hpp.

Definition at line 158 of file PhyUser.hpp.


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

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