ot::TargusModule Class Reference
#include <TargusModule.h>
Inheritance diagram for ot::TargusModule:


Public Member Functions | |
| TargusModule () | |
| virtual | ~TargusModule () |
| virtual Node * | createNode (const std::string &name, StringTable &attributes) |
| virtual void | close () |
| virtual void | start () |
| virtual void | pushEvent () |
Protected Attributes | |
| NodeVector | nodes |
| Display * | display |
| XKeys * | xkeys |
Detailed Description
Definition at line 77 of file TargusModule.h.
Constructor & Destructor Documentation
| ot::TargusModule::TargusModule | ( | ) | [inline] |
| virtual ot::TargusModule::~TargusModule | ( | ) | [virtual] |
Destructor method, clears nodes member.
Member Function Documentation
| virtual void ot::TargusModule::close | ( | ) | [virtual] |
| virtual Node* ot::TargusModule::createNode | ( | const std::string & | name, | |
| StringTable & | attributes | |||
| ) | [virtual] |
This method is called to construct a new Node.
It compares name to the TargusSource element name, and if it matches creates a new TargusSource node.
- Parameters:
-
name reference to string containing element name refenrence to StringTable containing attribute values
Implements ot::NodeFactory.
| virtual void ot::TargusModule::pushEvent | ( | ) | [virtual] |
pushes events into the tracker tree.
Checks all TargusSources and pushes new events, if a TargusSource fires. The events store structure with position and status of the buttons.
Reimplemented from ot::Module.
| virtual void ot::TargusModule::start | ( | ) | [virtual] |
Member Data Documentation
Display* ot::TargusModule::display [protected] |
Definition at line 120 of file TargusModule.h.
NodeVector ot::TargusModule::nodes [protected] |
XKeys* ot::TargusModule::xkeys [protected] |
Definition at line 123 of file TargusModule.h.
The documentation for this class was generated from the following file: