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


Public Member Functions | |
| ClassifierMock (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &config) | |
| virtual wns::ldk::ClassificationID | classifyIncoming (const wns::ldk::CompoundPtr &) |
| virtual wns::ldk::ClassificationID | classifyOutgoing (const wns::ldk::CompoundPtr &) |
| virtual wns::CloneableInterface * | clone () const |
| Performs typecheck (in debugging mode) and calls the copy-constructor of the respective class. | |
| virtual wns::ldk::CommandPool * | createReply (const wns::ldk::CommandPool *) const |
| Default createReply implementation. | |
| virtual void | doOnData (const wns::ldk::CompoundPtr &) |
| virtual void | doSendData (const wns::ldk::CompoundPtr &) |
Private Member Functions | |
| virtual bool | doIsAccepting (const wns::ldk::CompoundPtr &) const |
| virtual void | doWakeup () |
| void | onFUNCreated () |
| Resolve inter-FU dependencies. | |
Private Attributes | |
| struct { | |
| service::ConnectionManager * connectionManager | |
| wimac::Component * layer | |
| UpperConvergence * upperConvergence | |
| } | friends_ |
Definition at line 122 of file Classifier.hpp.
| wimac::ClassifierMock::ClassifierMock | ( | wns::ldk::fun::FUN * | fun, | |
| const wns::pyconfig::View & | config | |||
| ) | [inline] |
Definition at line 127 of file Classifier.hpp.
| virtual wns::ldk::ClassificationID wimac::ClassifierMock::classifyIncoming | ( | const wns::ldk::CompoundPtr & | ) | [inline, virtual] |
| virtual wns::ldk::ClassificationID wimac::ClassifierMock::classifyOutgoing | ( | const wns::ldk::CompoundPtr & | ) | [inline, virtual] |
| virtual wns::CloneableInterface* wimac::ClassifierMock::clone | ( | ) | const [inline, virtual] |
| virtual wns::ldk::CommandPool* wimac::ClassifierMock::createReply | ( | const wns::ldk::CommandPool * | original | ) | const [inline, virtual] |
The default behaviour is to delegate creation of replies to upper functional units.
Reimplemented from wimac::ConnectionClassifier.
Definition at line 161 of file Classifier.hpp.
| virtual bool wimac::ClassifierMock::doIsAccepting | ( | const wns::ldk::CompoundPtr & | ) | const [inline, private, virtual] |
| virtual void wimac::ClassifierMock::doOnData | ( | const wns::ldk::CompoundPtr & | ) | [inline, virtual] |
| virtual void wimac::ClassifierMock::doSendData | ( | const wns::ldk::CompoundPtr & | ) | [inline, virtual] |
| virtual void wimac::ClassifierMock::doWakeup | ( | ) | [inline, private, virtual] |
| void wimac::ClassifierMock::onFUNCreated | ( | ) | [inline, private, 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 wimac::ConnectionClassifier.
Definition at line 191 of file Classifier.hpp.
struct { ... } wimac::ClassifierMock::friends_ [private] |
Reimplemented from wimac::ConnectionClassifier.
Definition at line 196 of file Classifier.hpp.
1.5.5