Gizmod::GizmoStandard Class Reference

Standard Gizmos. More...

#include <GizmoStandard.hpp>

Inheritance diagram for Gizmod::GizmoStandard:

Inheritance graph
Collaboration diagram for Gizmod::GizmoStandard:

Collaboration graph

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.
 GizmoStandard ()
 Serialize Constructor.
 GizmoStandard (const H::DeviceInfo &deviceInfo, int DeviceID, int DeviceClassID)
 Default Constructor.
virtual ~GizmoStandard ()


class boost::serialization::access

Detailed Description

Standard Gizmos.

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

Definition at line 62 of file GizmoStandard.hpp.

Constructor & Destructor Documentation

GizmoStandard::GizmoStandard (  ) 

Serialize Constructor.

GizmoStandard Serialize Constructor.

Definition at line 63 of file GizmoStandard.cpp.

GizmoStandard::GizmoStandard ( const H::DeviceInfo deviceInfo,
int  DeviceID,
int  DeviceClassID 

Default Constructor.

GizmoStandard Default Constructor.

Definition at line 57 of file GizmoStandard.cpp.

GizmoStandard::~GizmoStandard (  )  [virtual]


GizmoStandard Destructor.

Definition at line 69 of file GizmoStandard.cpp.

Member Function Documentation

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

Get the type of the Gizmo.

Get the type of this Gizmo.

Type of the Gizmo

Reimplemented from Gizmod::Gizmo.

Definition at line 80 of file GizmoStandard.cpp.


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

Process an event.

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

Reimplemented from Gizmod::Gizmo.

Definition at line 89 of file GizmoStandard.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:08 2007 for gizmod by  doxygen 1.5.3