User Manual, Developers Guide and API Documentation

wimemac::convergence::PhyUser Class Reference

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

#include <convergence/PhyUser.hpp>

Inheritance diagram for wimemac::convergence::PhyUser:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

wns::service::phy::ofdma::DataTransmissiongetDataTransmissionService () const
wns::Power getInterference (const wns::ldk::CommandPool *commandPool)
wns::service::phy::ofdma::NotificationgetNotificationService () const
PhyModeProvidergetPhyModeProvider ()
 Handling of PhyModes.
wns::Power getRxPower (const wns::ldk::CommandPool *commandPool)
 Provides information about the rxPower and interference for a given compound.
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)
void setDataTransmissionService (wns::service::Service *phy)
void setFrequency (double frequency)
 Frequency tuning.
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

wns::pyconfig::View config
wns::ldk::CompoundPtr currentTxCompound
wns::service::phy::ofdma::DataTransmissiondataTransmission
struct
wimemac::convergence::PhyUser::Friends 
friends
wns::probe::bus::ContextCollectorPtr interferenceProbe_
wns::logger::Logger logger
const std::string managerName
wns::service::phy::ofdma::NotificationnotificationService
PhyModeProvider phyModes
enum
wimemac::convergence::PhyUser::PhyUserStatus 
phyUserStatus
wns::probe::bus::ContextCollectorPtr rxProbe_
 Probe Front-ends.
wns::probe::bus::ContextCollectorPtr SINRProbe_
wns::probe::bus::ContextCollectorPtr SINRweightedProbe_
wns::service::phy::ofdma::Tune tune
const std::string txDurationCommandName
const wns::simulator::Time txrxTurnaroundDelay

Classes

struct  Friends


Detailed Description

The PhyUser represents the lowest FU in the WiMeMAC 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 65 of file PhyUser.hpp.


Member Enumeration Documentation

Enumerator:
transmitting 
receiving 
txrxTurnaround 

Definition at line 135 of file PhyUser.hpp.


Constructor & Destructor Documentation

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

virtual wimemac::convergence::PhyUser::~PhyUser (  )  [virtual]


Member Function Documentation

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

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

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

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

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

wns::Power wimemac::convergence::PhyUser::getInterference ( const wns::ldk::CommandPool commandPool  )  [virtual]

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

PhyModeProvider* wimemac::convergence::PhyUser::getPhyModeProvider (  )  [virtual]

wns::Power wimemac::convergence::PhyUser::getRxPower ( const wns::ldk::CommandPool commandPool  )  [virtual]

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

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

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

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

Implements wns::events::CanTimeout.

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

void wimemac::convergence::PhyUser::setFrequency ( double  frequency  ) 

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


Member Data Documentation

Definition at line 111 of file PhyUser.hpp.

Definition at line 142 of file PhyUser.hpp.

Definition at line 115 of file PhyUser.hpp.

Definition at line 123 of file PhyUser.hpp.

Definition at line 112 of file PhyUser.hpp.

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

Definition at line 119 of file PhyUser.hpp.

Definition at line 116 of file PhyUser.hpp.

Definition at line 117 of file PhyUser.hpp.

Definition at line 122 of file PhyUser.hpp.

Definition at line 124 of file PhyUser.hpp.

Definition at line 125 of file PhyUser.hpp.

Definition at line 114 of file PhyUser.hpp.

Definition at line 127 of file PhyUser.hpp.

Definition at line 128 of file PhyUser.hpp.


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

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