User Manual, Developers Guide and API Documentation

glue::Aloha Class Reference

#include <mac/Aloha.hpp>

Inheritance diagram for glue::Aloha:

Inheritance graph
[legend]
Collaboration diagram for glue::Aloha:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Aloha (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &config)
virtual ~Aloha ()

Private Member Functions

virtual void allowTransmissionAfterElapsedBackoff ()
virtual bool doIsAccepting (const wns::ldk::CompoundPtr &compound) const
virtual void doOnData (const wns::ldk::CompoundPtr &compound)
virtual void doSendData (const wns::ldk::CompoundPtr &compound)
virtual void doWakeup ()

Private Attributes

bool allowTransmission
wns::logger::Logger logger
wns::simulator::Time maxWait
wns::distribution::Uniform uniform


Detailed Description

Definition at line 43 of file Aloha.hpp.


Constructor & Destructor Documentation

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

Definition at line 27 of file Aloha.cpp.

Aloha::~Aloha (  )  [virtual]

Definition at line 50 of file Aloha.cpp.


Member Function Documentation

void Aloha::allowTransmissionAfterElapsedBackoff (  )  [private, virtual]

Definition at line 100 of file Aloha.cpp.

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

Definition at line 57 of file Aloha.cpp.

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

Definition at line 93 of file Aloha.cpp.

void Aloha::doSendData ( const wns::ldk::CompoundPtr compound  )  [private, virtual]

Definition at line 64 of file Aloha.cpp.

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

Definition at line 85 of file Aloha.cpp.


Member Data Documentation

Definition at line 77 of file Aloha.hpp.

Definition at line 75 of file Aloha.hpp.

Definition at line 79 of file Aloha.hpp.

Definition at line 81 of file Aloha.hpp.


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

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