Gizmod::GizmoEventStandard Class Reference

Class for Standard events. More...

#include <GizmoEventStandard.hpp>

Inheritance diagram for Gizmod::GizmoEventStandard:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Static Public Member Functions

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

Static Protected Member Functions

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

Friends

class boost::serialization::access


Detailed Description

Class for Standard events.

This class is for all GizmoEventStandards attached to the system.

Definition at line 64 of file GizmoEventStandard.hpp.


Constructor & Destructor Documentation

GizmoEventStandard::GizmoEventStandard (  ) 

Default Constructor.

GizmoEventStandard Default Constructor.

Definition at line 53 of file GizmoEventStandard.cpp.

Referenced by buildEventsVectorFromBufferFunctor().

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

Init Constructor.

GizmoEventStandard Init Constructor.

Definition at line 59 of file GizmoEventStandard.cpp.

GizmoEventStandard::~GizmoEventStandard (  )  [virtual]

Destructor.

GizmoEventStandard Destructor.

Definition at line 65 of file GizmoEventStandard.cpp.


Member Function Documentation

void GizmoEventStandard::buildEventsVectorFromBuffer ( std::vector< boost::shared_ptr< GizmoEventStandard > > &  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.

Parameters:
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 78 of file GizmoEventStandard.cpp.

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

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

Functor for building the events list.

Functor for building events from Linnux input_events.

Definition at line 87 of file GizmoEventStandard.cpp.

References GizmoEventStandard().

Referenced by buildEventsVectorFromBuffer().


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