User Manual, Developers Guide and API Documentation

lte::controlplane::bch::LTEBCHUnit Class Reference

Handles BCH compounds. More...

#include <controlplane/bch/BCHUnit.hpp>

Inheritance diagram for lte::controlplane::bch::LTEBCHUnit:

Inheritance graph
[legend]
Collaboration diagram for lte::controlplane::bch::LTEBCHUnit:

Collaboration graph
[legend]

List of all members.

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::ILayer2layer2
wns::logger::Logger logger
wns::ldk::CommandReaderInterfacerlcReader

Private Attributes

int commandSize


Detailed Description

In the outgoing path, this FU simply produces Compounds of a certain configurable size.

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,

See also:
BCHCriterion .

Definition at line 104 of file BCHUnit.hpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

Definition at line 137 of file BCHUnit.hpp.

struct { ... } lte::controlplane::bch::LTEBCHUnit::friends [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.


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

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