ot::LinmouseModule Class Reference

#include <LinmouseModule.h>

Inheritance diagram for ot::LinmouseModule:

Inheritance graph
[legend]
Collaboration diagram for ot::LinmouseModule:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LinmouseModule ()
virtual ~LinmouseModule ()
virtual NodecreateNode (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
 list of LinmouseSource nodes in the tree
int fd
int stop

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]
 

closes the X keyboard source

Reimplemented from ot::ThreadModule.

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
Returns:
pointer to new Node or NULL. The new Node must be allocated with new !

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]
 

Mainlopp

Reimplemented from ot::ThreadModule.

virtual void ot::LinmouseModule::start  )  [virtual]
 

opens the X keyboard source

Reimplemented from ot::ThreadModule.


Member Data Documentation

int ot::LinmouseModule::fd [protected]
 

NodeVector ot::LinmouseModule::sources [protected]
 

list of LinmouseSource nodes in the tree

int ot::LinmouseModule::stop [protected]
 


The documentation for this class was generated from the following file:
Generated on Wed Feb 28 15:32:06 2007 for NaviTrack by  doxygen 1.4.6