User Manual, Developers Guide and API Documentation

wns::ldk::sar::Soft Class Reference

Segmentation and Reassembly with a fixed size MTU. if segments with "soft information" are reassembled, this SAR FU can provide a PER in the local part of the Command. To obtain the PER of the segments it is reassemnling, this unit has to rely on the help of a friend, e.g. the MACr, which also has to derive its Command from PERProviderInterface.

#include <ldk/sar/Soft.hpp>

Inheritance diagram for wns::ldk::sar::Soft:

Inheritance graph
[legend]
Collaboration diagram for wns::ldk::sar::Soft:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void onFUNCreated ()
 Resolve inter-FU dependencies.
virtual void processIncoming (const wns::ldk::CompoundPtr &compound)
 Process compounds on uplink.
 Soft (wns::ldk::fun::FUN *fuNet, const wns::pyconfig::View &config)
 ~Soft ()

Private Types

typedef std::list
< PERStorageEntry
PERStorageContainer
typedef std::pair
< wns::ldk::CompoundPtr,
double
PERStorageEntry

Private Attributes

int fragmentNumber
struct wns::ldk::sar::Soft::Friends friends
PERStorageContainer incoming
wns::probe::bus::ContextCollectorPtr perProbeBus
std::string PERProviderName
std::string probeName
bool useProbe

Classes

struct  Friends


Detailed Description

Definition at line 78 of file Soft.hpp.


Member Typedef Documentation

Definition at line 100 of file Soft.hpp.

Definition at line 99 of file Soft.hpp.


Constructor & Destructor Documentation

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

Definition at line 56 of file Soft.cpp.

Soft::~Soft (  ) 

Definition at line 75 of file Soft.cpp.


Member Function Documentation

void Soft::onFUNCreated (  )  [virtual]

Often FunctionalUnits require the collaboration with other FunctionalUnits to accomplish their task. For the collaboration between FunctionalUnits we coined the term "friendship".

The onFUNCreated method is a hook being called after the complete FUN has been set up. FunctionalUnits requiring the collaboration with other FunctionalUnits should resolve these dependencies by implementing this hook accordingly.

Finding friends is usually done calling wns::ldk::fun::FUN::findFriend.

When building reconfigurable FUNs, this method may get called multiple times (e.g., after each FUN reconfiguration). Keep that in mind when allocating resources in your onFUNCreated implementation.

Reimplemented from wns::ldk::FunctionalUnit.

Definition at line 79 of file Soft.cpp.

void Soft::processIncoming ( const wns::ldk::CompoundPtr compound  )  [virtual]

Override this method to handle incoming compounds.

Implements wns::ldk::DelayedInterface.

Definition at line 87 of file Soft.cpp.


Member Data Documentation

Reimplemented from wns::ldk::sar::SAR< COMMANDTYPE >.

Definition at line 103 of file Soft.hpp.

Definition at line 102 of file Soft.hpp.

Definition at line 113 of file Soft.hpp.

std::string wns::ldk::sar::Soft::PERProviderName [private]

Definition at line 105 of file Soft.hpp.

std::string wns::ldk::sar::Soft::probeName [private]

Definition at line 112 of file Soft.hpp.

Reimplemented from wns::ldk::SuspendSupport.

Definition at line 111 of file Soft.hpp.


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

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