User Manual, Developers Guide and API Documentation

glue::arqfsm::stopandwait::FSMFU Class Reference

#include <arqfsm/stopandwait/FSMFU.hpp>

Inheritance diagram for glue::arqfsm::stopandwait::FSMFU:

Inheritance graph
[legend]
Collaboration diagram for glue::arqfsm::stopandwait::FSMFU:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void calculateSizes (const wns::ldk::CommandPool *commandPool, Bit &commandPoolSize, Bit &dataSize) const
 Default calculateSizes implementation.
 FSMFU (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &_config)
virtual bool onSuspend () const
virtual ~FSMFU ()

Private Member Functions

virtual void onTimeout ()
 Your callback. Implement this.

Private Attributes

int bitsPerIFrame
 Number of bits added to the header for each I-Frame.
int bitsPerRRFrame
 Number of bits added to the header for each RR-Frame.
wns::pyconfig::View config


Detailed Description

Definition at line 129 of file FSMFU.hpp.


Constructor & Destructor Documentation

FSMFU::FSMFU ( wns::ldk::fun::FUN fun,
const wns::pyconfig::View _config 
)

Definition at line 21 of file FSMFU.cpp.

virtual glue::arqfsm::stopandwait::FSMFU::~FSMFU (  )  [inline, virtual]

Definition at line 144 of file FSMFU.hpp.


Member Function Documentation

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

The default implementation delegates calculation to upper functional units, modifying the result to include the size of the provided Command.

Reimplemented from wns::ldk::CommandTypeSpecifier< T >.

Definition at line 38 of file FSMFU.cpp.

bool FSMFU::onSuspend (  )  const [virtual]

Implements wns::ldk::SuspendSupport.

Definition at line 75 of file FSMFU.cpp.

void FSMFU::onTimeout (  )  [private, virtual]

The deriver is forced to implement this method. It gets called, whenever the timer fires.

Implements wns::events::CanTimeout.

Definition at line 56 of file FSMFU.cpp.


Member Data Documentation

Definition at line 164 of file FSMFU.hpp.

Definition at line 170 of file FSMFU.hpp.

Reimplemented from wns::ldk::SuspendSupport.

Definition at line 158 of file FSMFU.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