User Manual, Developers Guide and API Documentation

lte::macg::MACg Class Reference

#include <macg/MACg.hpp>

Inheritance diagram for lte::macg::MACg:

Inheritance graph
[legend]
Collaboration diagram for lte::macg::MACg:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual wns::ldk::CommandPoolcreateReply (const wns::ldk::CommandPool *original) const
 Default createReply implementation.
 MACg (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &config)
virtual void onFUNCreated ()
 Resolve inter-FU dependencies.
virtual ~MACg ()

Protected Attributes

wns::ldk::fun::FUNfun

Private Attributes

wns::pyconfig::View config
wns::logger::Logger logger


Detailed Description

Definition at line 116 of file MACg.hpp.


Constructor & Destructor Documentation

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

Definition at line 88 of file MACg.cpp.

virtual lte::macg::MACg::~MACg (  )  [inline, virtual]

Definition at line 123 of file MACg.hpp.


Member Function Documentation

wns::ldk::CommandPool * MACg::createReply ( const wns::ldk::CommandPool original  )  const [virtual]

The default behaviour is to delegate creation of replies to upper functional units.

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

Definition at line 132 of file MACg.cpp.

void MACg::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 96 of file MACg.cpp.


Member Data Documentation

Definition at line 135 of file MACg.hpp.

Definition at line 132 of file MACg.hpp.

Definition at line 136 of file MACg.hpp.


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

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