Gizmod::GizmoATIX10 Class Reference

ATIX10 Gizmos. More...

#include <GizmoATIX10.hpp>

Inheritance diagram for Gizmod::GizmoATIX10:

Inheritance graph
[legend]
Collaboration diagram for Gizmod::GizmoATIX10:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual std::string getType ()
 Get the type of the Gizmo.
virtual bool processEvent (GizmoEvent *pEvent)
 Process an event.
 GizmoATIX10 ()
 Serialize Constructor.
 GizmoATIX10 (const H::DeviceInfo &deviceInfo, int DeviceID, int DeviceClassID)
 Default Constructor.
virtual ~GizmoATIX10 ()
 Destructor.

Friends

class boost::serialization::access


Detailed Description

ATIX10 Gizmos.

This class contains all of the helper functions for making use of ATIX10 devices

Definition at line 62 of file GizmoATIX10.hpp.


Constructor & Destructor Documentation

GizmoATIX10::GizmoATIX10 (  ) 

Serialize Constructor.

GizmoATIX10 Serialize Constructor.

Definition at line 70 of file GizmoATIX10.cpp.

References GIZMO_ATIX10_EVENTDELAY, and Gizmod::GizmoLinuxInputDevice::setMinimumTimeBetweenEvents().

GizmoATIX10::GizmoATIX10 ( const H::DeviceInfo deviceInfo,
int  DeviceID,
int  DeviceClassID 
)

Default Constructor.

GizmoATIX10 Default Constructor.

Definition at line 63 of file GizmoATIX10.cpp.

References GIZMO_ATIX10_EVENTDELAY, and Gizmod::GizmoLinuxInputDevice::setMinimumTimeBetweenEvents().

GizmoATIX10::~GizmoATIX10 (  )  [virtual]

Destructor.

GizmoATIX10 Destructor.

Definition at line 77 of file GizmoATIX10.cpp.


Member Function Documentation

std::string GizmoATIX10::getType (  )  [virtual]

Get the type of the Gizmo.

Get the type of this Gizmo.

Returns:
Type of the Gizmo

Reimplemented from Gizmod::Gizmo.

Definition at line 88 of file GizmoATIX10.cpp.

References GIZMO_ATIX10_TYPE.

bool GizmoATIX10::processEvent ( GizmoEvent pEvent  )  [virtual]

Process an event.

Parameters:
pEvent The event to process
Returns:
True on if the event should get passed on to the script

Reimplemented from Gizmod::Gizmo.

Definition at line 97 of file GizmoATIX10.cpp.

References Gizmod::GizmoLinuxInputEvent::Code, Gizmod::GizmoLinuxInputDevice::processEvent(), Gizmod::Gizmo::setKeyState(), Gizmod::GizmoLinuxInputEvent::Type, and Gizmod::GizmoLinuxInputEvent::Value.


The documentation for this class was generated from the following files:
Generated on Wed Nov 7 10:07:01 2007 for gizmod by  doxygen 1.5.3