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


Public Member Functions | |
| virtual void | onFUNCreated () |
| Resolve inter-FU dependencies. | |
| virtual void | processIncoming (const wns::ldk::CompoundPtr &compound) |
| Process compounds on uplink. | |
| Soft (wns::ldk::fun::FUN *fuNet, const wns::pyconfig::View &config) | |
| ~Soft () | |
Private Types | |
| typedef std::list < PERStorageEntry > | PERStorageContainer |
| typedef std::pair < wns::ldk::CompoundPtr, double > | PERStorageEntry |
Private Attributes | |
| int | fragmentNumber |
| struct wns::ldk::sar::Soft::Friends | friends |
| PERStorageContainer | incoming |
| wns::probe::bus::ContextCollectorPtr | perProbeBus |
| std::string | PERProviderName |
| std::string | probeName |
| bool | useProbe |
Classes | |
| struct | Friends |
Definition at line 78 of file Soft.hpp.
typedef std::list<PERStorageEntry> wns::ldk::sar::Soft::PERStorageContainer [private] |
typedef std::pair<wns::ldk::CompoundPtr, double> wns::ldk::sar::Soft::PERStorageEntry [private] |
| Soft::Soft | ( | wns::ldk::fun::FUN * | fuNet, | |
| const wns::pyconfig::View & | config | |||
| ) |
| void Soft::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.
| void Soft::processIncoming | ( | const wns::ldk::CompoundPtr & | compound | ) | [virtual] |
Override this method to handle incoming compounds.
Implements wns::ldk::DelayedInterface.
int wns::ldk::sar::Soft::fragmentNumber [private] |
struct wns::ldk::sar::Soft::Friends wns::ldk::sar::Soft::friends [private] |
std::string wns::ldk::sar::Soft::PERProviderName [private] |
std::string wns::ldk::sar::Soft::probeName [private] |
bool wns::ldk::sar::Soft::useProbe [private] |
1.5.5