Gizmod::GizmoEventPowermate Class Reference

Class for Powermate events. More...

#include <GizmoEventPowermate.hpp>

Inheritance diagram for Gizmod::GizmoEventPowermate:

Inheritance graph
Collaboration diagram for Gizmod::GizmoEventPowermate:

Collaboration graph

List of all members.

Public Member Functions

 GizmoEventPowermate ()
 Default Constructor.
 GizmoEventPowermate (struct input_event const &InputEvent, bool IsRemote=false)
 Default Constructor.
virtual ~GizmoEventPowermate ()

Static Public Member Functions

static void buildEventsVectorFromBuffer (std::vector< boost::shared_ptr< GizmoEventPowermate > > &EventVector, H::DynamicBuffer< char > const &Buffer, bool SendNullEvents)
 Build an event list from a read buffer.

Public Attributes

float ClickTime
 Length of button press in seconds.

Static Protected Member Functions

static void buildEventsVectorFromBufferFunctor (struct input_event &InputEvent, std::vector< boost::shared_ptr< GizmoEventPowermate > > *pEventVector, bool SendNullEvents)
 Functor for building the events list.


class boost::serialization::access

Detailed Description

Class for Powermate events.

This class is for all GizmoEventPowermates attached to the system.

Definition at line 64 of file GizmoEventPowermate.hpp.

Constructor & Destructor Documentation

GizmoEventPowermate::GizmoEventPowermate (  ) 

Default Constructor.

GizmoEventPowermate Default Constructor.

Definition at line 52 of file GizmoEventPowermate.cpp.

References ClickTime.

Referenced by buildEventsVectorFromBufferFunctor().

GizmoEventPowermate::GizmoEventPowermate ( struct input_event const &  InputEvent,
bool  IsRemote = false 

Default Constructor.

GizmoEventPowermate Init Constructor.

Definition at line 59 of file GizmoEventPowermate.cpp.

References ClickTime.

GizmoEventPowermate::~GizmoEventPowermate (  )  [virtual]


GizmoEventPowermate Destructor.

Definition at line 66 of file GizmoEventPowermate.cpp.

References ClickTime.

Member Function Documentation

void GizmoEventPowermate::buildEventsVectorFromBuffer ( std::vector< boost::shared_ptr< GizmoEventPowermate > > &  EventVector,
H::DynamicBuffer< char > const &  Buffer,
bool  SendNullEvents 
) [static]

Build an event list from a read buffer.

Build an event vector from a read buffer.

EventVector Reference to a vector which will contain the results
Buffer The bufer to convert into events
SendNullEvents Signals if NULL events should be passed onto the config script

Definition at line 80 of file GizmoEventPowermate.cpp.

References apply_static_func_args, buildEventsVectorFromBufferFunctor(), and Gizmod::GizmoLinuxInputDevice::buildInputEventsVectorFromBuffer().

void GizmoEventPowermate::buildEventsVectorFromBufferFunctor ( struct input_event &  InputEvent,
std::vector< boost::shared_ptr< GizmoEventPowermate > > *  pEventVector,
bool  SendNullEvents 
) [static, protected]

Functor for building the events list.

Functor for building events from Linnux input_events.

Definition at line 89 of file GizmoEventPowermate.cpp.

References GizmoEventPowermate().

Referenced by buildEventsVectorFromBuffer().

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