An Open Architecture for Reconfigurable Tracking based on XML | Contact

ot::TargusModule Class Reference

#include <TargusModule.h>

Inheritance diagram for ot::TargusModule:

Inheritance graph
Collaboration diagram for ot::TargusModule:

Collaboration graph
List of all members.

Public Member Functions

 TargusModule ()
virtual ~TargusModule ()
virtual NodecreateNode (const std::string &name, StringTable &attributes)
virtual void close ()
virtual void start ()
virtual void pushEvent ()

Protected Attributes

NodeVector nodes
Display * display

Detailed Description

Definition at line 77 of file TargusModule.h.

Constructor & Destructor Documentation

ot::TargusModule::TargusModule (  )  [inline]

constructor method.

Definition at line 87 of file TargusModule.h.

virtual ot::TargusModule::~TargusModule (  )  [virtual]

Destructor method, clears nodes member.

Member Function Documentation

virtual void ot::TargusModule::close (  )  [virtual]

closes the X keyboard source

Reimplemented from ot::Module.

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.

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.

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]

opens the X keyboard source

Reimplemented from ot::Module.

Member Data Documentation

Display* ot::TargusModule::display [protected]

Definition at line 120 of file TargusModule.h.

list of TargusSource nodes in the tree

Definition at line 82 of file TargusModule.h.

Definition at line 123 of file TargusModule.h.

The documentation for this class was generated from the following file:

copyright (c) 2006 Graz University of Technology