Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

InputObject Class Reference

Abstract class to define an input object. More...

#include <InputObject.h>

Inheritance diagram for InputObject::

JoystickInput MidiInput List of all members.

Public Methods

virtual void start ()=0
 Start this object's input data gathering.

virtual void stop ()=0
 Stop this object's input data gathering.

virtual unsigned int poll (EventVector *events)=0
 Poll this object for a vector of InputEvent structures. More...


Public Attributes

unsigned int id

Detailed Description

Abstract class to define an input object.

Author:
Jon Parise <jparise@cmu.edu>


Member Function Documentation

virtual unsigned int InputObject::poll EventVector   events [pure virtual]
 

Poll this object for a vector of InputEvent structures.

Parameters:
events  Vector of InputEvent structures
Returns:
The number of InputEvent structures in the vector

Reimplemented in JoystickInput, and MidiInput.


Member Data Documentation

unsigned int InputObject::id
 

The instance ID of this input device.


The documentation for this class was generated from the following file:
Generated on Tue Oct 16 14:06:19 2001 for PuppetMaster by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001