![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <macg/MACg.hpp>


Public Member Functions | |
| virtual wns::ldk::CommandPool * | createReply (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::FUN * | fun |
Private Attributes | |
| wns::pyconfig::View | config |
| wns::logger::Logger | logger |
Definition at line 116 of file MACg.hpp.
| MACg::MACg | ( | wns::ldk::fun::FUN * | fun, | |
| const wns::pyconfig::View & | config | |||
| ) |
| 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 >.
| 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.
wns::pyconfig::View lte::macg::MACg::config [private] |
wns::ldk::fun::FUN* lte::macg::MACg::fun [protected] |
wns::logger::Logger lte::macg::MACg::logger [private] |
1.5.5