An Open Architecture for Reconfigurable Tracking based on XML | Contact

ot::CyberMouseModule Class Reference

#include <CyberMouseModule.h>

Inheritance diagram for ot::CyberMouseModule:

Inheritance graph
Collaboration diagram for ot::CyberMouseModule:

Collaboration graph
List of all members.

Public Member Functions

 CyberMouseModule ()
virtual ~CyberMouseModule ()
virtual NodecreateNode (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]

constructor method.

Definition at line 79 of file CyberMouseModule.h.

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.

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

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

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:

copyright (c) 2006 Graz University of Technology