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


Definition at line 34 of file Lower2Copper.hpp.
typedef wns::Subject<wns::service::phy::copper::CarrierSensing> glue::convergence::Lower2Copper::CarrierSensingSubject [private] |
Definition at line 45 of file Lower2Copper.hpp.
typedef wns::Subject<wns::service::phy::copper::Handler> glue::convergence::Lower2Copper::HandlerSubject [private] |
Definition at line 44 of file Lower2Copper.hpp.
| Lower2Copper::Lower2Copper | ( | wns::ldk::fun::FUN * | fun, | |
| const wns::pyconfig::View & | config | |||
| ) |
Definition at line 36 of file Lower2Copper.cpp.
| Lower2Copper::~Lower2Copper | ( | ) | [virtual] |
Definition at line 54 of file Lower2Copper.cpp.
| bool Lower2Copper::doIsAccepting | ( | const wns::ldk::CompoundPtr & | compound | ) | const [private, virtual] |
Definition at line 69 of file Lower2Copper.cpp.
| void Lower2Copper::doOnData | ( | const wns::ldk::CompoundPtr & | compound | ) | [private, virtual] |
Definition at line 136 of file Lower2Copper.cpp.
| void Lower2Copper::doSendData | ( | const wns::ldk::CompoundPtr & | sdu | ) | [private, virtual] |
Definition at line 101 of file Lower2Copper.cpp.
| void Lower2Copper::doWakeup | ( | ) | [private, virtual] |
Definition at line 148 of file Lower2Copper.cpp.
| wns::service::phy::copper::DataTransmission * Lower2Copper::getDataTransmissionService | ( | ) | const [virtual] |
| wns::service::phy::copper::Notification * Lower2Copper::getNotificationService | ( | ) | const [virtual] |
| bool glue::convergence::Lower2Copper::hasCommandOf | ( | FunctionalUnit * | routing, | |
| const wns::ldk::CompoundPtr & | compound | |||
| ) | const [inline, private] |
Definition at line 71 of file Lower2Copper.hpp.
| void Lower2Copper::onCarrierBusy | ( | ) | [virtual] |
Implements wns::service::phy::copper::CarrierSensing.
Definition at line 90 of file Lower2Copper.cpp.
| void Lower2Copper::onCarrierIdle | ( | ) | [virtual] |
Implements wns::service::phy::copper::CarrierSensing.
Definition at line 81 of file Lower2Copper.cpp.
| void Lower2Copper::onCollision | ( | ) | [virtual] |
Implements wns::service::phy::copper::CarrierSensing.
Definition at line 95 of file Lower2Copper.cpp.
| void Lower2Copper::onData | ( | const wns::osi::PDUPtr & | data, | |
| double | ber, | |||
| bool | collision | |||
| ) | [virtual] |
| [in] | data | Data that is delivered to the DataHandler. |
| [in] | ber | Bit Error Rate of this PDU |
| [in] | collision | Collision on the wire? |
Implements wns::service::phy::copper::Handler.
Definition at line 154 of file Lower2Copper.cpp.
| void Lower2Copper::onFUNCreated | ( | ) | [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 wns::ldk::FunctionalUnit.
Definition at line 58 of file Lower2Copper.cpp.
| void Lower2Copper::pushUp | ( | const wns::ldk::CompoundPtr & | compound, | |
| double | ber, | |||
| const wns::osi::PDUPtr & | pdu | |||
| ) | [private] |
Definition at line 228 of file Lower2Copper.cpp.
| void Lower2Copper::setDataTransmissionService | ( | wns::service::Service * | phy | ) | [virtual] |
| void Lower2Copper::setMACAddress | ( | const wns::service::dll::UnicastAddress & | address | ) | [virtual] |
| void Lower2Copper::setNotificationService | ( | wns::service::Service * | phy | ) | [virtual] |
| void Lower2Copper::traceIncoming | ( | wns::ldk::CompoundPtr | compound, | |
| bool | collision | |||
| ) | [private] |
Definition at line 237 of file Lower2Copper.cpp.
Definition at line 93 of file Lower2Copper.hpp.
Definition at line 80 of file Lower2Copper.hpp.
wns::service::phy::copper::DataTransmission* glue::convergence::Lower2Copper::dataTransmission [private] |
Definition at line 91 of file Lower2Copper.hpp.
Definition at line 94 of file Lower2Copper.hpp.
Definition at line 89 of file Lower2Copper.hpp.
Definition at line 81 of file Lower2Copper.hpp.
wns::service::phy::copper::Notification* glue::convergence::Lower2Copper::notificationService [private] |
Definition at line 92 of file Lower2Copper.hpp.
1.5.5