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


Public Member Functions | |
| virtual void | calculateSizes (const wns::ldk::CommandPool *commandPool, Bit &_pciSize, Bit &_pduSize) const |
| Default calculateSizes implementation. | |
| LTEBCHUnit (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &config) | |
| virtual void | onFUNCreated () |
| Resolve inter-FU dependencies. | |
| virtual | ~LTEBCHUnit () |
Protected Attributes | |
| struct { | |
| lte::macg::MACg * macg | |
| lte::timing::ResourceScheduler * scheduler | |
| } | friends |
| dll::ILayer2 * | layer2 |
| wns::logger::Logger | logger |
| wns::ldk::CommandReaderInterface * | rlcReader |
Private Attributes | |
| int | commandSize |
In the incoming path, this FU can store the received Broadcast compounds of from multiple sources in a sorted way. The sorting criterion can be defined,
Definition at line 104 of file BCHUnit.hpp.
| LTEBCHUnit::LTEBCHUnit | ( | wns::ldk::fun::FUN * | fun, | |
| const wns::pyconfig::View & | config | |||
| ) |
Definition at line 51 of file BCHUnit.cpp.
| LTEBCHUnit::~LTEBCHUnit | ( | ) | [virtual] |
Definition at line 96 of file BCHUnit.cpp.
| void LTEBCHUnit::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 247 of file BCHUnit.cpp.
| void LTEBCHUnit::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.
Reimplemented in lte::controlplane::bch::LTEBCHUnitRAP, and lte::controlplane::bch::LTEBCHUnitUT.
Definition at line 117 of file BCHUnit.cpp.
Definition at line 137 of file BCHUnit.hpp.
struct { ... } lte::controlplane::bch::LTEBCHUnit::friends [protected] |
dll::ILayer2* lte::controlplane::bch::LTEBCHUnit::layer2 [protected] |
Definition at line 128 of file BCHUnit.hpp.
Definition at line 127 of file BCHUnit.hpp.
Definition at line 131 of file BCHUnit.hpp.
Definition at line 134 of file BCHUnit.hpp.
Definition at line 130 of file BCHUnit.hpp.
1.5.5