ot::TerasonModule Class Reference

#include <TerasonModule.h>

Inheritance diagram for ot::TerasonModule:

Inheritance graph
[legend]
Collaboration diagram for ot::TerasonModule:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TerasonModule ()
virtual ~TerasonModule ()
virtual NodecreateNode (const std::string &name, StringTable &attributes)
virtual void start ()
virtual void close ()
virtual void pushEvent ()
virtual void init (StringTable &attributes, ConfigNode *localTree)

Public Attributes

NodeVector sources
NodeVector sinks

Protected Member Functions

void run ()

Protected Attributes

int stop

Constructor & Destructor Documentation

ot::TerasonModule::TerasonModule  ) 
 

constructor method.

ot::TerasonModule::~TerasonModule  )  [virtual]
 

Destructor method, clears nodes member.


Member Function Documentation

void ot::TerasonModule::close  )  [virtual]
 

Close

Reimplemented from ot::ThreadModule.

Node * ot::TerasonModule::createNode const std::string &  name,
StringTable attributes
[virtual]
 

This method is called to construct a new Node. It compares name to the ARTDataTrackerSource element name, and if it matches creates a new ARTDataTrackerSource node.

Parameters:
name reference to string containing element name refenrence to StringMap containing attribute values
Returns:
pointer to new Node or NULL. The new Node must be allocated with new !

Implements ot::NodeFactory.

void ot::TerasonModule::init StringTable attributes,
ConfigNode localTree
[virtual]
 

initializes the ARTDataTrackerModule.

Parameters:
attributes StringMap of elements attribute values. Should be possibly , but is not for convenience.
localTree pointer to root of configuration nodes tree

Reimplemented from ot::Module.

void ot::TerasonModule::pushEvent  )  [virtual]
 

pushes events into the tracker tree. Checks all source nodes for new events and pushes them into the tracker tree.

Reimplemented from ot::Module.

void ot::TerasonModule::run  )  [protected, virtual]
 

Mainloop

Reimplemented from ot::ThreadModule.

void ot::TerasonModule::start  )  [virtual]
 

This method is called after initialisation is finished and before the main loop is started.

Reimplemented from ot::ThreadModule.


Member Data Documentation

NodeVector ot::TerasonModule::sinks
 

NodeVector ot::TerasonModule::sources
 

int ot::TerasonModule::stop [protected]
 

port number stop flag


The documentation for this class was generated from the following files:
Generated on Wed Feb 28 15:33:11 2007 for NaviTrack by  doxygen 1.4.6