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


Public Member Functions | |
| ErrorRate (fun::FUN *fuNet, const wns::pyconfig::View &config) | |
| virtual void | onFUNCreated () |
| Resolve inter-FU dependencies. | |
| virtual void | processIncoming (const CompoundPtr &compound) |
| Process compounds on uplink. | |
| virtual void | processOutgoing (const CompoundPtr &compound) |
| Process compounds on downlink. | |
| virtual | ~ErrorRate () |
Private Attributes | |
| std::string | errorRateProviderName |
| struct wns::ldk::probe::ErrorRate::Friends | friends |
| logger::Logger | logger |
| wns::probe::bus::ContextCollectorPtr | probe |
Classes | |
| struct | Friends |
Definition at line 45 of file ErrorRate.hpp.
| ErrorRate::ErrorRate | ( | fun::FUN * | fuNet, | |
| const wns::pyconfig::View & | config | |||
| ) |
Definition at line 48 of file ErrorRate.cpp.
| ErrorRate::~ErrorRate | ( | ) | [virtual] |
Definition at line 63 of file ErrorRate.cpp.
| void ErrorRate::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 67 of file ErrorRate.cpp.
| void ErrorRate::processIncoming | ( | const CompoundPtr & | compound | ) | [virtual] |
Override this method to handle incoming compounds.
Reimplemented from wns::ldk::Forwarding< USER >.
Definition at line 84 of file ErrorRate.cpp.
| void ErrorRate::processOutgoing | ( | const CompoundPtr & | ) | [virtual] |
Override this method to handle outgoing compounds.
Reimplemented from wns::ldk::Forwarding< USER >.
Definition at line 76 of file ErrorRate.cpp.
std::string wns::ldk::probe::ErrorRate::errorRateProviderName [private] |
Definition at line 64 of file ErrorRate.hpp.
struct wns::ldk::probe::ErrorRate::Friends wns::ldk::probe::ErrorRate::friends [private] |
Definition at line 70 of file ErrorRate.hpp.
Definition at line 62 of file ErrorRate.hpp.
1.5.5