#include <GizmoEventPowermate.hpp>


Public Member Functions | |
| GizmoEventPowermate () | |
| Default Constructor. | |
| GizmoEventPowermate (struct input_event const &InputEvent, bool IsRemote=false) | |
| Default Constructor. | |
| virtual | ~GizmoEventPowermate () |
| Destructor. | |
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. | |
Friends | |
| class | boost::serialization::access |
This class is for all GizmoEventPowermates attached to the system.
Definition at line 64 of file GizmoEventPowermate.hpp.
| 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] |
Destructor.
GizmoEventPowermate Destructor.
Definition at line 66 of file GizmoEventPowermate.cpp.
References ClickTime.
| 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().
1.5.3