User Manual, Developers Guide and API Documentation

glue::convergence::Lower2OFDMAPhy Class Reference

#include <convergence/Lower2OFDMAPhy.hpp>

Inheritance diagram for glue::convergence::Lower2OFDMAPhy:

Inheritance graph
[legend]
Collaboration diagram for glue::convergence::Lower2OFDMAPhy:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual
wns::service::phy::ofdma::DataTransmission
getDataTransmissionService () const
virtual
wns::service::phy::ofdma::Notification
getNotificationService () const
 Lower2OFDMAPhy (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &config)
virtual void onData (wns::osi::PDUPtr, wns::service::phy::power::PowerMeasurementPtr)
 : (new) interface for incoming SDUs (upstack)
virtual void setDataTransmissionService (wns::service::Service *phy)
virtual void setMACAddress (const wns::service::dll::UnicastAddress &address)
virtual void setNotificationService (wns::service::Service *phy)
virtual ~Lower2OFDMAPhy ()

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 ()
bool hasCommandOf (FunctionalUnit *routing, const wns::ldk::CompoundPtr &compound) const
virtual void onFUNCreated ()
 Resolve inter-FU dependencies.
void stopTransmitting (const wns::ldk::CompoundPtr &compound)

Private Attributes

wns::service::dll::UnicastAddress address_
wns::service::phy::ofdma::DataTransmissiondataTransmission_
struct
glue::convergence::Lower2OFDMAPhy::Friends 
friends_
wns::logger::Logger logger_
wns::service::phy::ofdma::NotificationnotificationService_
wns::service::phy::phymode::PhyModeMapperInterfacephyModeMapper_
bool transmitting_
std::string upperBroadcastName_
std::string upperUnicastName_

Classes

struct  Friends


Detailed Description

Definition at line 44 of file Lower2OFDMAPhy.hpp.


Constructor & Destructor Documentation

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

Definition at line 42 of file Lower2OFDMAPhy.cpp.

Lower2OFDMAPhy::~Lower2OFDMAPhy (  )  [virtual]

Definition at line 60 of file Lower2OFDMAPhy.cpp.


Member Function Documentation

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

Definition at line 75 of file Lower2OFDMAPhy.cpp.

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

Definition at line 118 of file Lower2OFDMAPhy.cpp.

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

Definition at line 83 of file Lower2OFDMAPhy.cpp.

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

Definition at line 130 of file Lower2OFDMAPhy.cpp.

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

Implements glue::convergence::Lower.

Definition at line 183 of file Lower2OFDMAPhy.cpp.

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

Implements glue::convergence::Lower.

Definition at line 200 of file Lower2OFDMAPhy.cpp.

bool glue::convergence::Lower2OFDMAPhy::hasCommandOf ( FunctionalUnit *  routing,
const wns::ldk::CompoundPtr compound 
) const [inline, private]

Definition at line 94 of file Lower2OFDMAPhy.hpp.

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

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

Definition at line 136 of file Lower2OFDMAPhy.cpp.

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

Often FunctionalUnits require the collaboration with other FunctionalUnits to accomplish their task. For the collaboration between FunctionalUnits we coined the term "friendship".

The onFUNCreated method is a hook being called after the complete FUN has been set up. FunctionalUnits requiring the collaboration with other FunctionalUnits should resolve these dependencies by implementing this hook accordingly.

Finding friends is usually done calling wns::ldk::fun::FUN::findFriend.

When building reconfigurable FUNs, this method may get called multiple times (e.g., after each FUN reconfiguration). Keep that in mind when allocating resources in your onFUNCreated implementation.

Reimplemented from wns::ldk::FunctionalUnit.

Definition at line 64 of file Lower2OFDMAPhy.cpp.

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

Implements glue::convergence::Lower.

Definition at line 175 of file Lower2OFDMAPhy.cpp.

void Lower2OFDMAPhy::setMACAddress ( const wns::service::dll::UnicastAddress address  )  [virtual]

Implements glue::convergence::Lower.

Definition at line 207 of file Lower2OFDMAPhy.cpp.

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

Implements glue::convergence::Lower.

Definition at line 190 of file Lower2OFDMAPhy.cpp.

void Lower2OFDMAPhy::stopTransmitting ( const wns::ldk::CompoundPtr compound  )  [private]

Definition at line 108 of file Lower2OFDMAPhy.cpp.


Member Data Documentation

Definition at line 116 of file Lower2OFDMAPhy.hpp.

Definition at line 114 of file Lower2OFDMAPhy.hpp.

Definition at line 102 of file Lower2OFDMAPhy.hpp.

Definition at line 115 of file Lower2OFDMAPhy.hpp.

Definition at line 118 of file Lower2OFDMAPhy.hpp.

Definition at line 112 of file Lower2OFDMAPhy.hpp.

Definition at line 110 of file Lower2OFDMAPhy.hpp.

Definition at line 109 of file Lower2OFDMAPhy.hpp.


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

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