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


Public Member Functions | |
| LinmouseModule () | |
| virtual | ~LinmouseModule () |
| virtual Node * | createNode (const std::string &name, StringTable &attributes) |
| virtual void | close () |
| virtual void | start () |
| virtual void | pushEvent () |
| virtual void | init (StringTable &attributes, ConfigNode *localTree) |
Protected Member Functions | |
| void | run () |
Protected Attributes | |
| NodeVector | sources |
| int | fd |
| int | stop |
Detailed Description
Definition at line 86 of file LinmouseModule.h.
Constructor & Destructor Documentation
| ot::LinmouseModule::LinmouseModule | ( | ) |
constructor method.
| virtual ot::LinmouseModule::~LinmouseModule | ( | ) | [virtual] |
Destructor method, clears nodes member.
Member Function Documentation
| virtual void ot::LinmouseModule::close | ( | ) | [virtual] |
| virtual Node* ot::LinmouseModule::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::LinmouseModule::init | ( | StringTable & | attributes, | |
| ConfigNode * | localTree | |||
| ) | [virtual] |
initializes the LinmouseModule.
- 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.
| virtual void ot::LinmouseModule::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.
| void ot::LinmouseModule::run | ( | ) | [protected, virtual] |
| virtual void ot::LinmouseModule::start | ( | ) | [virtual] |
Member Data Documentation
int ot::LinmouseModule::fd [protected] |
Definition at line 94 of file LinmouseModule.h.
NodeVector ot::LinmouseModule::sources [protected] |
int ot::LinmouseModule::stop [protected] |
Definition at line 96 of file LinmouseModule.h.
The documentation for this class was generated from the following file: