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


Public Member Functions | |
| CyberMouseModule () | |
| virtual | ~CyberMouseModule () |
| virtual Node * | createNode (const std::string &name, StringTable &attributes) |
| virtual void | close () |
| virtual void | start () |
| virtual void | pushEvent () |
Protected Attributes | |
| NodeVector | nodes |
Detailed Description
Definition at line 69 of file CyberMouseModule.h.
Constructor & Destructor Documentation
| ot::CyberMouseModule::CyberMouseModule | ( | ) | [inline] |
| ot::CyberMouseModule::~CyberMouseModule | ( | ) | [virtual] |
Destructor method, clears nodes member.
Definition at line 96 of file CyberMouseModule.cxx.
References nodes.
Member Function Documentation
| void ot::CyberMouseModule::close | ( | ) | [virtual] |
closes CyberMouse dynamic library
Reimplemented from ot::Module.
Definition at line 180 of file CyberMouseModule.cxx.
References ot::FREED_Opened, ot::hLibrary, ot::Module::isInitialized(), and ot::lpfnCloseFREED.
| virtual Node* ot::CyberMouseModule::createNode | ( | const std::string & | name, | |
| StringTable & | attributes | |||
| ) | [virtual] |
This method is called to ruct a new Node.
It compares name to the CyberMouseSource element name, and if it matches creates a new CyberMouseSource node.
- Parameters:
-
name reference to string containing element name refenrence to StringTable containing attribute values
Implements ot::NodeFactory.
| void ot::CyberMouseModule::pushEvent | ( | ) | [virtual] |
pushes events into the tracker tree.
Checks all CyberMouseSources and pushes new events, if a CyberMouseSource fires. The events store structure with position and status of the buttons.
Reimplemented from ot::Module.
Definition at line 191 of file CyberMouseModule.cxx.
References ot::FREED_Info, ot::Module::isInitialized(), ot::lpfnGet_FREED_Info, and nodes.
| void ot::CyberMouseModule::start | ( | ) | [virtual] |
opens CyberMouse dynamic library (FREEDDLL.DLL)
Reimplemented from ot::Module.
Definition at line 117 of file CyberMouseModule.cxx.
References ot::FREED_Info, ot::FREED_Opened, ot::hLibrary, ot::hWndCyber, ot::Module::isInitialized(), ot::lpfnCloseFREED, ot::lpfnGet_FREED_Info, ot::lpfnOpenFREED, and ot::WndProc().
Member Data Documentation
NodeVector ot::CyberMouseModule::nodes [protected] |
list of CyberMouseSource nodes in the tree
Definition at line 74 of file CyberMouseModule.h.
Referenced by pushEvent(), and ~CyberMouseModule().
The documentation for this class was generated from the following files: