User Manual, Developers Guide and API Documentation

constanze::ConstanzeComponent Class Reference

Constanze Component (layer above IP,UDP,TCP,SimpleTL,Glue).

#include <ConstanzeComponent.hpp>

Inheritance diagram for constanze::ConstanzeComponent:

Inheritance graph
[legend]
Collaboration diagram for constanze::ConstanzeComponent:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ConstanzeComponent (wns::node::Interface *_node, const wns::pyconfig::View &_pyco)
 ConstanzeComponent constructor.
virtual void onNodeCreated ()
 Connect to required components within the same node.
virtual void onShutdown ()
 Clean up before EventScheduler really stops.
virtual void onWorldCreated ()
 Connect to components in other nodes.
virtual ~ConstanzeComponent ()
 ConstanzeComponent destructor.

Private Member Functions

virtual void doStartup ()
 Services are added here.

Private Attributes

std::list< constanze::Binding * > listOfGeneratorBindings
 Bindings created for the generators.
std::list
< constanze::GeneratorBase * > 
listOfGenerators
 All generators created are put to this list.
std::list< constanze::Binding * > listOfListenerBindings
 Bindings created for the listeners.
std::list< constanze::Listener * > listOfListeners
 All listeners created are put to this list.
wns::logger::Logger log
 The Logger instance.
wns::pyconfig::View pyco
 The components configuration.


Detailed Description

Definition at line 47 of file ConstanzeComponent.hpp.


Constructor & Destructor Documentation

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

Parameters:
[in] _node The parent node.
[in] _pyco Component configuration of type constanze.ConstanzeComponent

Definition at line 45 of file ConstanzeComponent.cpp.

ConstanzeComponent::~ConstanzeComponent (  )  [virtual]

Definition at line 62 of file ConstanzeComponent.cpp.


Member Function Documentation

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

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

Definition at line 57 of file ConstanzeComponent.cpp.

void ConstanzeComponent::onNodeCreated (  )  [virtual]

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

Definition at line 87 of file ConstanzeComponent.cpp.

void ConstanzeComponent::onShutdown (  )  [virtual]

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

Definition at line 155 of file ConstanzeComponent.cpp.

void ConstanzeComponent::onWorldCreated (  )  [virtual]

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

Definition at line 149 of file ConstanzeComponent.cpp.


Member Data Documentation

Definition at line 101 of file ConstanzeComponent.hpp.

Definition at line 96 of file ConstanzeComponent.hpp.

Definition at line 111 of file ConstanzeComponent.hpp.

Definition at line 106 of file ConstanzeComponent.hpp.

Definition at line 121 of file ConstanzeComponent.hpp.

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

Definition at line 116 of file ConstanzeComponent.hpp.


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

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