User Manual, Developers Guide and API Documentation

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

#include <node/component/Component.hpp>

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

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Component (wns::node::Interface *_node, const wns::pyconfig::View &_pyco)
virtual wns::service::nl::FQDN getDomainName ()
const wns::pyconfig::ViewgetPyConfig ()
virtual wns::service::tl::ServicegetTransportService (int)
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 void sessionEnded (int _i, applications::session::Session *_session)
virtual ~Component ()
 Is called in Node's destructor.

Protected Member Functions

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

Protected Attributes

wns::service::nl::FQDN domainName
wns::logger::Logger logger
const wns::pyconfig::View pyco
 Configuration of this Component.


Detailed Description

Definition at line 40 of file Component.hpp.


Constructor & Destructor Documentation

applications::node::component::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.

Reimplemented in applications::node::component::client::Component, and applications::node::component::server::Component.

virtual applications::node::component::Component::~Component (  )  [virtual]


Member Function Documentation

virtual void applications::node::component::Component::doStartup (  )  [protected, virtual]

virtual wns::service::nl::FQDN applications::node::component::Component::getDomainName (  )  [virtual]

const wns::pyconfig::View& applications::node::component::Component::getPyConfig (  ) 

virtual wns::service::tl::Service* applications::node::component::Component::getTransportService ( int   )  [virtual]

virtual void applications::node::component::Component::onShutdown (  )  [virtual]

virtual void applications::node::component::Component::onWorldCreated (  )  [virtual]

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

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

virtual void applications::node::component::Component::sessionEnded ( int  _i,
applications::session::Session _session 
) [inline, virtual]

Definition at line 65 of file Component.hpp.


Member Data Documentation

Definition at line 73 of file Component.hpp.


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

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