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


Definition at line 130 of file SegAndConcat.hpp.
| SegAndConcat::SegAndConcat | ( | wns::ldk::fun::FUN * | fuNet, | |
| const wns::pyconfig::View & | config | |||
| ) |
Definition at line 26 of file SegAndConcat.cpp.
| SegAndConcat::SegAndConcat | ( | const SegAndConcat & | other | ) |
Definition at line 68 of file SegAndConcat.cpp.
| SegAndConcat::~SegAndConcat | ( | ) | [virtual] |
Definition at line 94 of file SegAndConcat.cpp.
| void SegAndConcat::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 285 of file SegAndConcat.cpp.
| wns::ldk::CommandReaderInterface * SegAndConcat::getCommandReader | ( | ) | const [protected] |
Definition at line 106 of file SegAndConcat.cpp.
| wns::ldk::CompoundPtr SegAndConcat::getSomethingToSend | ( | ) | [virtual] |
This method must never return NULL. This method will only be called after a call to hasSomethingToSend returned a non-null value. The FunctionalUnit must return the same PDU as returned by hasSomethingToSend.
Implements wns::ldk::DelayedInterface.
Definition at line 268 of file SegAndConcat.cpp.
| bool SegAndConcat::hasCapacity | ( | ) | const [virtual] |
While hasCapacity returns false, processIncoming will never be called.
Implements wns::ldk::DelayedInterface.
Definition at line 249 of file SegAndConcat.cpp.
| const wns::ldk::CompoundPtr SegAndConcat::hasSomethingToSend | ( | ) | const [virtual] |
| void SegAndConcat::onDiscardedPDU | ( | long | , | |
| wns::ldk::CompoundPtr | ||||
| ) | [private] |
Definition at line 243 of file SegAndConcat.cpp.
| void SegAndConcat::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 99 of file SegAndConcat.cpp.
| void SegAndConcat::onReorderedPDU | ( | long | sn, | |
| wns::ldk::CompoundPtr | c | |||
| ) | [private] |
Definition at line 181 of file SegAndConcat.cpp.
| void SegAndConcat::processIncoming | ( | const wns::ldk::CompoundPtr & | compound | ) | [virtual] |
Override this method to handle incoming compounds.
Implements wns::ldk::DelayedInterface.
Reimplemented in lte::rlc::UnacknowledgedMode.
Definition at line 112 of file SegAndConcat.cpp.
| void SegAndConcat::processOutgoing | ( | const wns::ldk::CompoundPtr & | ) | [virtual] |
Override this method to handle outgoing compounds.
Implements wns::ldk::DelayedInterface.
Reimplemented in lte::rlc::UnacknowledgedMode.
Definition at line 123 of file SegAndConcat.cpp.
std::string wns::ldk::sar::SegAndConcat::commandName_ [private] |
Definition at line 186 of file SegAndConcat.hpp.
Bit wns::ldk::sar::SegAndConcat::headerSize_ [private] |
Definition at line 188 of file SegAndConcat.hpp.
bool wns::ldk::sar::SegAndConcat::isSegmenting_ [protected] |
Definition at line 174 of file SegAndConcat.hpp.
Definition at line 173 of file SegAndConcat.hpp.
Definition at line 201 of file SegAndConcat.hpp.
Definition at line 200 of file SegAndConcat.hpp.
long wns::ldk::sar::SegAndConcat::nextOutgoingSN_ [private] |
Definition at line 194 of file SegAndConcat.hpp.
Definition at line 203 of file SegAndConcat.hpp.
Definition at line 196 of file SegAndConcat.hpp.
Definition at line 198 of file SegAndConcat.hpp.
Definition at line 192 of file SegAndConcat.hpp.
Definition at line 205 of file SegAndConcat.hpp.
std::string wns::ldk::sar::SegAndConcat::segmentDropRatioProbeName_ [private] |
Definition at line 206 of file SegAndConcat.hpp.
Bit wns::ldk::sar::SegAndConcat::segmentSize_ [private] |
Definition at line 190 of file SegAndConcat.hpp.
std::list<wns::ldk::CompoundPtr> wns::ldk::sar::SegAndConcat::senderPendingSegments_ [private] |
Definition at line 184 of file SegAndConcat.hpp.
Definition at line 202 of file SegAndConcat.hpp.
1.5.5