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

Public Member Functions | |
| void | registerStation (ILayer2::StationIDType id, wns::service::dll::UnicastAddress adr, ILayer2 *layer) |
| to register a station (Layer2) after its creation | |
| StationManager () | |
| Constructor. | |
| virtual | ~StationManager () |
| Destructor. | |
Lookup methods | |
| wns::node::Interface * | getNodeByID (ILayer2::StationIDType) const |
| NodeList | getNodeList () const |
| ILayer2 * | getStationByID (ILayer2::StationIDType) const |
| ILayer2 * | getStationByMAC (wns::service::dll::UnicastAddress mac) const |
| ILayer2 * | getStationByNode (wns::node::Interface *) const |
Private Types | |
| typedef wns::container::Registry < ILayer2::StationIDType, ILayer2 * > | LayerLookup |
| typedef wns::container::Registry < wns::service::dll::UnicastAddress, ILayer2 * > | MACAdrLookup |
| typedef wns::container::Registry < wns::node::Interface *, ILayer2 * > | NodeLookup |
Private Attributes | |
| LayerLookup | layerLookup |
| MACAdrLookup | macAdrLookup |
| NodeLookup | nodeLookup |
Definition at line 59 of file StationManager.hpp.
typedef wns::container::Registry<ILayer2::StationIDType, ILayer2*> dll::StationManager::LayerLookup [private] |
Definition at line 61 of file StationManager.hpp.
typedef wns::container::Registry<wns::service::dll::UnicastAddress, ILayer2*> dll::StationManager::MACAdrLookup [private] |
Definition at line 63 of file StationManager.hpp.
typedef wns::container::Registry<wns::node::Interface*, ILayer2*> dll::StationManager::NodeLookup [private] |
Definition at line 62 of file StationManager.hpp.
| StationManager::StationManager | ( | ) |
Definition at line 25 of file StationManager.cpp.
| StationManager::~StationManager | ( | ) | [virtual] |
Definition at line 30 of file StationManager.cpp.
| wns::node::Interface * StationManager::getNodeByID | ( | ILayer2::StationIDType | id | ) | const |
Definition at line 79 of file StationManager.cpp.
| NodeList StationManager::getNodeList | ( | ) | const |
Definition at line 93 of file StationManager.cpp.
| ILayer2 * StationManager::getStationByID | ( | ILayer2::StationIDType | id | ) | const |
Definition at line 66 of file StationManager.cpp.
| Component * StationManager::getStationByMAC | ( | wns::service::dll::UnicastAddress | mac | ) | const |
Definition at line 86 of file StationManager.cpp.
| Component * StationManager::getStationByNode | ( | wns::node::Interface * | node | ) | const |
Definition at line 72 of file StationManager.cpp.
| void StationManager::registerStation | ( | ILayer2::StationIDType | id, | |
| wns::service::dll::UnicastAddress | adr, | |||
| ILayer2 * | layer | |||
| ) |
Definition at line 35 of file StationManager.cpp.
LayerLookup dll::StationManager::layerLookup [private] |
Definition at line 85 of file StationManager.hpp.
Definition at line 84 of file StationManager.hpp.
NodeLookup dll::StationManager::nodeLookup [private] |
Definition at line 86 of file StationManager.hpp.
1.5.5