#include <RDSModule.h>
Inheritance diagram for ot::RDSModule:


Public Member Functions | |
| RDSModule () | |
| virtual | ~RDSModule () |
| virtual void | init (StringTable &attributes, ConfigNode *localTree) |
| virtual Node * | createNode (const std::string &name, StringTable &attributes) |
| virtual void | start () |
| virtual void | close () |
| virtual void | pushEvent () |
| void | onEventGenerated (Event &event, Node &generator) |
Protected Member Functions | |
| int | connect () |
| void | run () |
Protected Attributes | |
| int | stop |
| ACE_INET_Addr | address |
| ACE_SOCK_Stream | socket |
| ACE_SOCK_Connector | connector |
| NodeVector | sources |
| NodeVector | sinks |
Friends | |
| class | RDSSource |
|
|
basic constructor |
|
|
destructor |
|
|
closes the module and closes any communication sockets and stops thread. Reimplemented from ot::ThreadModule. |
|
|
|
|
||||||||||||
|
This method is called to construct a new Node. It compares name to the EndoscoutSource element name, and if it matches creates a new EndoscoutSource node.
Implements ot::NodeFactory. |
|
||||||||||||
|
initializes the Endoscout module.
Reimplemented from ot::Module. |
|
||||||||||||
|
|
|
|
pushes event information into the tree. It checks whether there is new data for any EndoscoutSource node, copies it into the nodes and calls push on them. Reimplemented from ot::Module. |
|
|
the work method for the module thread. This is executed by the new module thread. In this class it does nothing but subclasses should override it to add their implementation. Reimplemented from ot::ThreadModule. |
|
|
starts the receive thread. It is called after initialisation is done. Reimplemented from ot::ThreadModule. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6