User Manual, Developers Guide and API Documentation

wns::ldk::arq::None Class Reference

#include <ldk/arq/None.hpp>

Inheritance diagram for wns::ldk::arq::None:

Inheritance graph
[legend]
Collaboration diagram for wns::ldk::arq::None:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual wns::ldk::CompoundPtr getACK ()
 Return an acknowledgement Compound for transmission.
virtual wns::ldk::CompoundPtr getData ()
 Return a user data Compound for transmission.
virtual const wns::ldk::CompoundPtr hasACK () const
 Return an acknowledgement Compound that should be considered for transmission.
virtual bool hasCapacity () const
 Return true, if the FunctionalUnit is still accepting compounds.
virtual const wns::ldk::CompoundPtr hasData () const
 Return a user data Compound that should be considered for transmission.
 None (fun::FUN *fuNet, const wns::pyconfig::View &config)
virtual void processIncoming (const CompoundPtr &compound)
 Process compounds on uplink.
virtual void processOutgoing (const CompoundPtr &_compound)
 Process compounds on downlink.

Private Member Functions

virtual bool onSuspend () const

Private Attributes

CompoundPtr compound


Detailed Description

Definition at line 59 of file None.hpp.


Constructor & Destructor Documentation

wns::ldk::arq::None::None ( fun::FUN fuNet,
const wns::pyconfig::View config 
) [inline]

Definition at line 67 of file None.hpp.


Member Function Documentation

virtual wns::ldk::CompoundPtr wns::ldk::arq::None::getACK (  )  [inline, virtual]

getACK will only get called after a call to hasACK. Every implementation of this interface /must/ return the same Compound for subsequent hasACK/getACK calls.

Implements wns::ldk::arq::ARQ.

Definition at line 113 of file None.hpp.

virtual wns::ldk::CompoundPtr wns::ldk::arq::None::getData (  )  [inline, virtual]

getData will only get called after a call to hasData. Every implementation of this interface /must/ return the same Compound for subsequent hasData/getData calls.

Implements wns::ldk::arq::ARQ.

Definition at line 118 of file None.hpp.

virtual const wns::ldk::CompoundPtr wns::ldk::arq::None::hasACK (  )  const [inline, virtual]

Every implementation should return CompoundPtr() in case there is no user data Compound scheduled for transmission.

Implements wns::ldk::arq::ARQ.

Definition at line 103 of file None.hpp.

virtual bool wns::ldk::arq::None::hasCapacity (  )  const [inline, virtual]

While hasCapacity returns false, processIncoming will never be called.

Implements wns::ldk::DelayedInterface.

Definition at line 78 of file None.hpp.

virtual const wns::ldk::CompoundPtr wns::ldk::arq::None::hasData (  )  const [inline, virtual]

Every implementation should return CompoundPtr() in case there is no user data Compound scheduled for transmission.

Implements wns::ldk::arq::ARQ.

Definition at line 108 of file None.hpp.

virtual bool wns::ldk::arq::None::onSuspend (  )  const [inline, private, virtual]

Implements wns::ldk::SuspendSupport.

Definition at line 126 of file None.hpp.

virtual void wns::ldk::arq::None::processIncoming ( const CompoundPtr compound  )  [inline, virtual]

Override this method to handle incoming compounds.

Implements wns::ldk::DelayedInterface.

Definition at line 96 of file None.hpp.

virtual void wns::ldk::arq::None::processOutgoing ( const CompoundPtr  )  [inline, virtual]

Override this method to handle outgoing compounds.

Implements wns::ldk::DelayedInterface.

Definition at line 84 of file None.hpp.


Member Data Documentation

Definition at line 131 of file None.hpp.


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

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