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


Public Member Functions | |
| bool | isTransceiverMAC (wns::service::dll::UnicastAddress address) |
| Queries the registered transceiver list. | |
| Layer2 (wns::node::Interface *, const wns::pyconfig::View &) | |
| virtual void | onNodeCreated () |
| Called by the parent node after all components of the parent node have been created. | |
| virtual void | onShutdown () |
| Called by the parent node after simulation end event occured. | |
| virtual void | onWorldCreated () |
| Called by the parent node after all nodes have been setup and all components have executed onNodeCreated(). | |
| void | registerManager (wifimac::lowerMAC::Manager *manager, wns::service::dll::UnicastAddress address) |
| Registration of transceiver management entity. | |
| virtual | ~Layer2 () |
| Destructor. | |
Private Types | |
| typedef wns::container::Registry < wns::service::dll::UnicastAddress, wifimac::lowerMAC::Manager * > | ManagerRegistry |
Private Member Functions | |
| virtual void | doStartup () |
| Virtual backend of startup(). | |
| Layer2 (const Layer2 &) | |
| Layer2 & | operator= (const Layer2 &) |
Private Attributes | |
| wns::logger::Logger | logger_ |
| Logging. | |
| ManagerRegistry | managers_ |
| Holds all management entities. | |
Each transceiver must contain the FU wifimac::lowerMAC::Manager. This FU registers when onFUNCreated() is called at the Layer2, together with its unique MAC-address of type wns::service::dll::UnicastAddress. Furthermore, this manager hides the multi-transceiver structure from all other FUs from its transceivers and provides methods to get the appropriate MAC address and to build frames emerging from this transceiver.
Definition at line 62 of file Layer2.hpp.
typedef wns::container::Registry<wns::service::dll::UnicastAddress, wifimac::lowerMAC::Manager*> wifimac::Layer2::ManagerRegistry [private] |
Definition at line 66 of file Layer2.hpp.
| wifimac::Layer2::Layer2 | ( | wns::node::Interface * | , | |
| const wns::pyconfig::View & | ||||
| ) |
| virtual wifimac::Layer2::~Layer2 | ( | ) | [inline, virtual] |
| wifimac::Layer2::Layer2 | ( | const Layer2 & | ) | [private] |
| virtual void wifimac::Layer2::doStartup | ( | ) | [private, virtual] |
Reimplemented from dll::Layer2.
| bool wifimac::Layer2::isTransceiverMAC | ( | wns::service::dll::UnicastAddress | address | ) |
| virtual void wifimac::Layer2::onNodeCreated | ( | ) | [virtual] |
Implements wns::node::component::Interface.
| virtual void wifimac::Layer2::onShutdown | ( | ) | [virtual] |
Implements wns::node::component::Interface.
| virtual void wifimac::Layer2::onWorldCreated | ( | ) | [virtual] |
Implements wns::node::component::Interface.
| void wifimac::Layer2::registerManager | ( | wifimac::lowerMAC::Manager * | manager, | |
| wns::service::dll::UnicastAddress | address | |||
| ) |
wns::logger::Logger wifimac::Layer2::logger_ [private] |
Definition at line 92 of file Layer2.hpp.
ManagerRegistry wifimac::Layer2::managers_ [private] |
Definition at line 95 of file Layer2.hpp.
1.5.5