OpenTracker

An Open Architecture for Reconfigurable Tracking based on XML | Contact

ot::SpaceMouseSource Class Reference
[Device Input Classes]

This class implements a simple source that sets its valid flag in regular intervals and updates any EventObservers. More...

#include <SpaceMouseSource.h>

Inheritance diagram for ot::SpaceMouseSource:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SpaceMouseSource ()
virtual int isEventGenerator ()
void push ()

Public Attributes

Event event

Protected Attributes

Event tmpEvent
int changed

Friends

class SpaceMouseModule

Detailed Description

This class implements a simple source that sets its valid flag in regular intervals and updates any EventObservers.

Author:
Michael Woegerbauer

Definition at line 72 of file SpaceMouseSource.h.


Constructor & Destructor Documentation

ot::SpaceMouseSource::SpaceMouseSource (  )  [inline]

simple constructor, sets members to initial values

Definition at line 82 of file SpaceMouseSource.h.


Member Function Documentation

virtual int ot::SpaceMouseSource::isEventGenerator (  )  [inline, virtual]

tests for EventGenerator interface being present.

Is overriden to return 1 always.

Returns:
always 1

Reimplemented from ot::Node.

Definition at line 88 of file SpaceMouseSource.h.

void ot::SpaceMouseSource::push ( void   )  [inline]

pushes event down the line.

Definition at line 94 of file SpaceMouseSource.h.

Referenced by ot::SpaceMouseModule::pushEvent().


Friends And Related Function Documentation

friend class SpaceMouseModule [friend]

Definition at line 106 of file SpaceMouseSource.h.


Member Data Documentation

a flag to indicate whether tmpEvent was changed during processing

Definition at line 104 of file SpaceMouseSource.h.

Referenced by ot::SpaceMouseModule::processMessages(), and ot::SpaceMouseModule::pushEvent().

the event that is posted to the EventObservers

Definition at line 77 of file SpaceMouseSource.h.

Referenced by ot::SpaceMouseModule::pushEvent().

the event that is updated by the

See also:
JostickModule polling thread.

Definition at line 102 of file SpaceMouseSource.h.

Referenced by ot::SpaceMouseModule::processMessages(), and ot::SpaceMouseModule::pushEvent().


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

copyright (c) 2006 Graz University of Technology