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


Public Member Functions | |
| void | calculateSizes (const CommandPool *commandPool, Bit &commandPoolSize, Bit &dataSize) const |
| CRC (fun::FUN *fuNet, const wns::pyconfig::View &config) | |
| bool | isMarking () const |
| virtual void | onFUNCreated () |
| ~CRC () | |
Private Types | |
| enum | Behaviour { DROPPING, MARKING } |
| behaviour of the CRC, defaults to DROPPING, which means that it does not deliver bad Compounds to the next FUs in the 'incoming' chain. If the behaviour is set to MARKING, the compounds are marked bad in the local part of the CRCCommand and delivered. More... | |
Private Member Functions | |
| virtual bool | doIsAccepting (const CompoundPtr &compound) const |
| virtual void | doOnData (const CompoundPtr &compound) |
| virtual void | doSendData (const CompoundPtr &compound) |
| virtual void | doWakeup () |
| virtual bool | onSuspend () const |
Private Attributes | |
| Behaviour | behaviour |
| int | checkSumLength |
| Length of the CRC checksum. | |
| wns::distribution::StandardUniform | dis |
| Pointer to the used Uniform Distribution. | |
| struct wns::ldk::crc::CRC::Friends | friends |
| logger::Logger | logger |
| wns::probe::bus::ContextCollectorPtr | lossRatio |
| std::string | PERProviderName |
Classes | |
| struct | Friends |
Definition at line 67 of file CRC.hpp.
enum wns::ldk::crc::CRC::Behaviour [private] |
| CRC::CRC | ( | fun::FUN * | fuNet, | |
| const wns::pyconfig::View & | config | |||
| ) |
| void CRC::calculateSizes | ( | const CommandPool * | commandPool, | |
| Bit & | commandPoolSize, | |||
| Bit & | dataSize | |||
| ) | const |
| bool CRC::doIsAccepting | ( | const CompoundPtr & | compound | ) | const [private, virtual] |
| void CRC::doOnData | ( | const CompoundPtr & | compound | ) | [private, virtual] |
| void CRC::doSendData | ( | const CompoundPtr & | compound | ) | [private, virtual] |
| virtual void wns::ldk::crc::CRC::doWakeup | ( | ) | [inline, private, virtual] |
| virtual bool wns::ldk::crc::CRC::onSuspend | ( | ) | const [inline, private, virtual] |
Behaviour wns::ldk::crc::CRC::behaviour [private] |
int wns::ldk::crc::CRC::checkSumLength [private] |
struct wns::ldk::crc::CRC::Friends wns::ldk::crc::CRC::friends [private] |
logger::Logger wns::ldk::crc::CRC::logger [private] |
std::string wns::ldk::crc::CRC::PERProviderName [private] |
1.5.5