User Manual, Developers Guide and API Documentation

dll::StationManager Class Reference

The StationManager is an information database for all DLLs in the simulator. More...

#include <StationManager.hpp>

Collaboration diagram for dll::StationManager:

Collaboration graph
[legend]

List of all members.

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::InterfacegetNodeByID (ILayer2::StationIDType) const
NodeList getNodeList () const
ILayer2getStationByID (ILayer2::StationIDType) const
ILayer2getStationByMAC (wns::service::dll::UnicastAddress mac) const
ILayer2getStationByNode (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


Detailed Description

Definition at line 59 of file StationManager.hpp.


Member Typedef Documentation

Definition at line 61 of file StationManager.hpp.

Definition at line 63 of file StationManager.hpp.

Definition at line 62 of file StationManager.hpp.


Constructor & Destructor Documentation

StationManager::StationManager (  ) 

Definition at line 25 of file StationManager.cpp.

StationManager::~StationManager (  )  [virtual]

Definition at line 30 of file StationManager.cpp.


Member Function Documentation

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.


Member Data Documentation

Definition at line 85 of file StationManager.hpp.

Definition at line 84 of file StationManager.hpp.

Definition at line 86 of file StationManager.hpp.


The documentation for this class was generated from the following files:

Generated on Sat May 26 03:32:30 2012 for openWNS by  doxygen 1.5.5