User Manual, Developers Guide and API Documentation

ofdmaphy::Component Class Reference

#include <Component.hpp>

Inheritance diagram for ofdmaphy::Component:

Inheritance graph
[legend]
Collaboration diagram for ofdmaphy::Component:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Component (wns::node::Interface *node, const wns::pyconfig::View &pyConfigView)
virtual wns::node::InterfacegetNode () const
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().
virtual ~Component ()
 Is called in Node's destructor.

Private Member Functions

virtual void doStartup ()
 Virtual backend of startup().

Private Attributes

wns::logger::Logger logger
Stationstation


Detailed Description

Definition at line 37 of file Component.hpp.


Constructor & Destructor Documentation

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

Parameters:
[in] _name The name of this component as used in the Node
[in] _node The Node this Component belongs to

Reimplemented from wns::node::component::Component.

Definition at line 41 of file Component.cpp.

Component::~Component (  )  [virtual]

Reimplemented from wns::node::component::Component.

Definition at line 78 of file Component.cpp.


Member Function Documentation

void Component::doStartup (  )  [private, virtual]

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

Definition at line 53 of file Component.cpp.

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

Returns:
The Node this Component belongs to.

Reimplemented from wns::node::component::Component.

Definition at line 104 of file Component.cpp.

void Component::onNodeCreated (  )  [virtual]

Note:
Intra-Node dependencies like connecting components within the node to each other must be handled here. It is forbidden to try to resolve dependencies to other nodes here. Not all nodes have been setup yet.

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

Definition at line 85 of file Component.cpp.

void Component::onShutdown (  )  [virtual]

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

Definition at line 99 of file Component.cpp.

void Component::onWorldCreated (  )  [virtual]

Note:
Resolve Inter-Node dependencies here. There are no restrictions on what you do here.

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

Definition at line 93 of file Component.cpp.


Member Data Documentation

Definition at line 59 of file Component.hpp.

Definition at line 60 of file Component.hpp.


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

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