![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <node/component/Component.hpp>


Public Member Functions | |
| Component (wns::node::Interface *_node, const wns::pyconfig::View &_pyco) | |
| virtual wns::service::nl::FQDN | getDomainName () |
| const wns::pyconfig::View & | getPyConfig () |
| virtual wns::service::tl::Service * | getTransportService (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. | |
Definition at line 40 of file Component.hpp.
| applications::node::component::Component::Component | ( | wns::node::Interface * | _node, | |
| const wns::pyconfig::View & | _pyco | |||
| ) |
| [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] |
Reimplemented from wns::node::component::Component.
Reimplemented in applications::node::component::client::Component, and applications::node::component::server::Component.
| virtual void applications::node::component::Component::doStartup | ( | ) | [protected, virtual] |
Implements wns::node::component::Interface.
| 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] |
Implements wns::node::component::Interface.
Reimplemented in applications::node::component::client::Component, and applications::node::component::server::Component.
| virtual void applications::node::component::Component::onWorldCreated | ( | ) | [virtual] |
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.
Definition at line 73 of file Component.hpp.
Reimplemented in applications::node::component::client::Component, and applications::node::component::server::Component.
Definition at line 71 of file Component.hpp.
const wns::pyconfig::View applications::node::component::Component::pyco [protected] |
Reimplemented from wns::node::component::Component.
Reimplemented in applications::node::component::client::Component, and applications::node::component::server::Component.
Definition at line 72 of file Component.hpp.
1.5.5