User Manual, Developers Guide and API Documentation

wimemac::arq::ARQ Class Reference

#include <arq/ARQ.hpp>

Inheritance diagram for wimemac::arq::ARQ:

Inheritance graph
[legend]
Collaboration diagram for wimemac::arq::ARQ:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ARQ (wns::ldk::fun::FUN *_fun, const wns::pyconfig::View &config_)
void CreateACK (const wns::ldk::CompoundPtr &compound)
bool doIsAccepting (const wns::ldk::CompoundPtr &compound) const
void doOnData (const wns::ldk::CompoundPtr &)
void doSendData (const wns::ldk::CompoundPtr &)
void doWakeup ()
bool hasCommandOf (const wns::ldk::CompoundPtr &compound) const

Protected Member Functions

virtual void onFUNCreated ()

Private Member Functions

void calculateSizes (const wns::ldk::CommandPool *commandPool, Bit &commandPoolSize, Bit &dataSize) const
void TransmitAck (const wns::ldk::CompoundPtr &compound)

Private Attributes

wns::simulator::Time AckDuration
wns::events::scheduler::Callable call
wns::ldk::CompoundPtr currentBeacon
struct wimemac::arq::ARQ::Friends friends
wns::ldk::fun::FUNfun
wns::logger::Logger logger
const std::string managerName
wns::service::dll::UnicastAddress ownaddress
int retrans
wns::events::scheduler::Interfacescheduler
wns::simulator::Time SIFS

Classes

struct  Friends


Detailed Description

Definition at line 52 of file ARQ.hpp.


Constructor & Destructor Documentation

ARQ::ARQ ( wns::ldk::fun::FUN _fun,
const wns::pyconfig::View config_ 
)

Definition at line 41 of file ARQ.cpp.


Member Function Documentation

void ARQ::calculateSizes ( const wns::ldk::CommandPool commandPool,
Bit commandPoolSize,
Bit dataSize 
) const [private]

Definition at line 184 of file ARQ.cpp.

void ARQ::CreateACK ( const wns::ldk::CompoundPtr compound  ) 

Definition at line 161 of file ARQ.cpp.

bool ARQ::doIsAccepting ( const wns::ldk::CompoundPtr compound  )  const

Definition at line 96 of file ARQ.cpp.

void ARQ::doOnData ( const wns::ldk::CompoundPtr compound  ) 

Definition at line 54 of file ARQ.cpp.

void ARQ::doSendData ( const wns::ldk::CompoundPtr compound  ) 

Definition at line 102 of file ARQ.cpp.

void ARQ::doWakeup (  ) 

Definition at line 150 of file ARQ.cpp.

bool ARQ::hasCommandOf ( const wns::ldk::CompoundPtr compound  )  const

Definition at line 155 of file ARQ.cpp.

void ARQ::onFUNCreated (  )  [protected, virtual]

Definition at line 143 of file ARQ.cpp.

void ARQ::TransmitAck ( const wns::ldk::CompoundPtr compound  )  [private]

Definition at line 189 of file ARQ.cpp.


Member Data Documentation

Definition at line 83 of file ARQ.hpp.

Definition at line 89 of file ARQ.hpp.

Definition at line 78 of file ARQ.hpp.

Definition at line 85 of file ARQ.hpp.

Definition at line 79 of file ARQ.hpp.

const std::string wimemac::arq::ARQ::managerName [private]

Definition at line 92 of file ARQ.hpp.

Definition at line 81 of file ARQ.hpp.

Definition at line 91 of file ARQ.hpp.

Definition at line 88 of file ARQ.hpp.

Definition at line 82 of file ARQ.hpp.


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

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