#include <ToolIOModule.h>
Public Member Functions | |
| ToolIOModule (QTable *out_) | |
| virtual | ~ToolIOModule () |
| virtual void | init (StringTable &attributes, ConfigNode *localTree) |
| virtual Node * | createNode (const std::string &name, StringTable &attributes) |
| virtual void | pullEvent () |
| virtual void | start () |
| virtual void | close () |
| virtual int | stop () |
Protected Attributes | |
| NodeVector | sinks |
| list of ConsoleSink nodes in the tree | |
| NodeVector | sources |
| list of ConsoleSource nodes in the tree | |
| int | cycle |
| current cycle count, for computing when to print out the event again | |
| int | interval |
| cycle interval to use for printing out events | |
| int | quit |
| should the module quit ? | |
| QTable * | output |
| the table displaying the output information | |
|
|
constructor method. initializes internal and static data such as the functionMap and keyMap tables. |
|
|
Destructor method, clears nodes member. |
|
|
On Unix platforms closes curses. |
|
||||||||||||
|
This method is called to ruct a new Node. It compares name to the ConsoleSink element name, and if it matches creates a new ConsoleSink node.
|
|
||||||||||||
|
initializes the tracker module.
|
|
|
reads out the ConsoleSink nodes current event an prints it to the console. This is done only each length cylce. |
|
|
On Unix platforms initializes curses. This method is called after initialisation is finished and before the main loop is started. |
|
|
tests whether a key was pressed, if so it stops.
|
|
|
current cycle count, for computing when to print out the event again
|
|
|
cycle interval to use for printing out events
|
|
|
the table displaying the output information
|
|
|
should the module quit ?
|
|
|
list of ConsoleSink nodes in the tree
|
|
|
list of ConsoleSource nodes in the tree
|
1.4.6