User Manual, Developers Guide and API Documentation

applications::node::component::server::Component Class Reference

#include <node/component/server/Component.hpp>

Inheritance diagram for applications::node::component::server::Component:

Inheritance graph
[legend]
Collaboration diagram for applications::node::component::server::Component:

Collaboration graph
[legend]

List of all members.

Public Types

typedef std::map< int,
applications::session::Binding * > 
mapType

Public Member Functions

 Component (wns::node::Interface *_node, const wns::pyconfig::View &_pyco)
virtual void onNodeCreated ()
 Called by the parent node after all components of the parent node have been created.
void onShutdown ()
 Called by the parent node after simulation end event occured.
void registerListeners (int _i, applications::session::Binding *_binding)
virtual ~Component ()
 Is called in Node's destructor.

Public Attributes

mapType bindingMap

Private Attributes

applications::session::BindinglistenerBinding
wns::logger::Logger logger
wns::pyconfig::View pyco
 Configuration of this Component.


Detailed Description

Definition at line 35 of file Component.hpp.


Member Typedef Documentation

Definition at line 50 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 applications::node::component::Component.

Definition at line 37 of file Component.cpp.

Component::~Component (  )  [virtual]

Reimplemented from applications::node::component::Component.

Definition at line 45 of file Component.cpp.


Member Function Documentation

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 50 of file Component.cpp.

void Component::onShutdown (  )  [virtual]

Reimplemented from applications::node::component::Component.

Definition at line 75 of file Component.cpp.

void Component::registerListeners ( int  _i,
applications::session::Binding _binding 
)

Definition at line 69 of file Component.cpp.


Member Data Documentation

Definition at line 51 of file Component.hpp.

Definition at line 56 of file Component.hpp.

Reimplemented from applications::node::component::Component.

Definition at line 55 of file Component.hpp.

Reimplemented from applications::node::component::Component.

Definition at line 54 of file Component.hpp.


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

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