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


Public Member Functions | |
| OldOTNetworkSourceModule () | |
| virtual | ~OldOTNetworkSourceModule () |
| virtual Node * | createNode (const std::string &name, StringTable &attributes) |
| virtual void | start () |
| virtual void | close () |
| virtual void | pushEvent () |
Static Protected Member Functions | |
| static void | convertFloatsNToHl (float *floats, float *result, int num) |
| static void | run (void *data) |
Protected Attributes | |
| ACE_Thread_Manager * | manager |
| ACE Thread manager. | |
| ReceiverVector | groups |
| list of groups to listen for | |
|
|
basic constructor |
|
|
destructor |
|
|
closes the module and closes any communication sockets and stops thread. Reimplemented from ot::Module. |
|
||||||||||||||||
|
Converts num floats from network byte order.
|
|
||||||||||||
|
This method is called to construct a new Node. It compares name to the NetworkSource element name, and if it matches creates a new NetworkSource node.
Implements ot::NodeFactory. |
|
|
pushes state information into the tree. It checks whether there is new data for any NetworkSource 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. |
|
|
opens the sockets needed for communication and starts the receive thread. It is called after initialisation is done. Reimplemented from ot::Module. |
|
|
list of groups to listen for
|
|
|
ACE Thread manager.
|
1.4.6