User Manual, Developers Guide and API Documentation

wifimac::pathselection::StationForwarding Class Reference

Forwarding of data frames from a STA perspective. More...

#include <pathselection/StationForwarding.hpp>

Inheritance diagram for wifimac::pathselection::StationForwarding:

Inheritance graph
[legend]
Collaboration diagram for wifimac::pathselection::StationForwarding:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 StationForwarding (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &config)
 Constructor.
virtual ~StationForwarding ()
 Destructor.

Private Member Functions

virtual bool doIsAccepting (const wns::ldk::CompoundPtr &_compound) const
 If associated, we accept if the lower FU is accepting.
virtual void doOnData (const wns::ldk::CompoundPtr &_compound)
 Exchange target source agains original source and deliver.
virtual void doSendData (const wns::ldk::CompoundPtr &_compound)
 The target address becomes the final destination, the association address becomes the target.
virtual void doWakeup ()
 Forward the wakeup call.
virtual void onFUNCreated ()
 Initialize the FU.

Private Attributes

const wns::pyconfig::View config
 The config.
wifimac::Layer2layer2
 Pointer to Layer2.
wns::logger::Logger logger
 The logger.
const std::string ucName
 Name of the upper convergence FU.


Detailed Description

The forwarding of data frames in a STA is very easy: Frames are always send to the AP to which the STA is associated to.

Definition at line 52 of file StationForwarding.hpp.


Constructor & Destructor Documentation

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

Definition at line 44 of file StationForwarding.cpp.

StationForwarding::~StationForwarding (  )  [virtual]

Definition at line 53 of file StationForwarding.cpp.


Member Function Documentation

bool StationForwarding::doIsAccepting ( const wns::ldk::CompoundPtr _compound  )  const [private, virtual]

Definition at line 70 of file StationForwarding.cpp.

void StationForwarding::doOnData ( const wns::ldk::CompoundPtr _compound  )  [private, virtual]

Definition at line 92 of file StationForwarding.cpp.

void StationForwarding::doSendData ( const wns::ldk::CompoundPtr _compound  )  [private, virtual]

Definition at line 136 of file StationForwarding.cpp.

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

Definition at line 85 of file StationForwarding.cpp.

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

Definition at line 59 of file StationForwarding.cpp.


Member Data Documentation

Definition at line 84 of file StationForwarding.hpp.

Definition at line 93 of file StationForwarding.hpp.

Definition at line 87 of file StationForwarding.hpp.

Definition at line 90 of file StationForwarding.hpp.


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

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