User Manual, Developers Guide and API Documentation

wns::node::component::Component Class Reference

Implementation of the ComponentInterface. More...

#include <node/component/Component.hpp>

Inherits wns::node::component::Interface.

Inherited by applications::node::component::Component, constanze::ConstanzeComponent [virtual], copper::Transceiver, dll::Layer2, dll::RANG, glue::Component, ip::Component, ip::tunnel::TunnelEntryComponent, ip::tunnel::TunnelExitComponent, ip::VirtualARP, ip::VirtualDHCP, ip::VirtualDNS, ofdmaphy::Component, ofdmaphy::Scanner, ofdmaphy::Sender, rise::scenario::mobility::Component, simpletl::Component, tcp::Component, wifimac::management::VirtualCapabilityInformationBase, wifimac::pathselection::VirtualPathSelection, wimac::Component, and wimac::RANG.

Collaboration diagram for wns::node::component::Component:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Component (wns::node::Interface *_node, const pyconfig::View &_pyco)
virtual std::string getName () const
virtual wns::node::InterfacegetNode () const
virtual ~Component ()
 Is called in Node's destructor.

Protected Member Functions

const pyconfig::ViewgetConfig () const

Private Attributes

std::string name
 Name of this Component's service (like "IPRouter").
wns::node::Interfacenode
 Component belongs to this Node.
pyconfig::View pyco
 Configuration of this Component.


Detailed Description

For an overview please see wns::node

Definition at line 44 of file Component.hpp.


Constructor & Destructor Documentation

Component::Component ( wns::node::Interface _node,
const pyconfig::View _pyco 
) [explicit]

Component::~Component (  )  [virtual]


Member Function Documentation

const wns::pyconfig::View & Component::getConfig (  )  const [protected]

Definition at line 63 of file Component.cpp.

std::string Component::getName (  )  const [virtual]

Returns:
The name of this component as used in a Node
Note:
This is used to address Components in a Node

Implements wns::node::component::Interface.

Reimplemented in dll::Layer2, and wimac::Component.

Definition at line 57 of file Component.cpp.

wns::node::Interface * Component::getNode (  )  const [virtual]

Returns:
The Node this Component belongs to.

Implements wns::node::component::Interface.

Reimplemented in dll::Layer2, and ofdmaphy::Component.

Definition at line 50 of file Component.cpp.


Member Data Documentation

Definition at line 91 of file Component.hpp.

Definition at line 86 of file Component.hpp.


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

Generated on Sun May 27 03:33:01 2012 for openWNS by  doxygen 1.5.5