Gizmod::GizmoEventLIRC Class Reference

Class for LIRC events. More...

#include <GizmoEventLIRC.hpp>

Inheritance diagram for Gizmod::GizmoEventLIRC:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GizmoEventLIRC ()
 Default Constructor.
 GizmoEventLIRC (std::string code, int repeat, std::string button, std::string remote, bool IsRemote=false)
 Init Constructor.
virtual ~GizmoEventLIRC ()
 Destructor.

Static Public Member Functions

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

Public Attributes

std::string Code
 Event Code.
int Repeat
 Repeat count of the event.
std::string Button
 Button text from lircd.conf.
std::string Remote
 Name of the remote that triggered the event.

Friends

class boost::serialization::access


Detailed Description

Class for LIRC events.

This class is for all GizmoEventLIRCs attached to the system.

Definition at line 64 of file GizmoEventLIRC.hpp.


Constructor & Destructor Documentation

GizmoEventLIRC::GizmoEventLIRC (  ) 

Default Constructor.

GizmoEventLIRC Default Constructor.

Definition at line 57 of file GizmoEventLIRC.cpp.

References Repeat.

Referenced by buildEventsVectorFromBuffer().

GizmoEventLIRC::GizmoEventLIRC ( std::string  code,
int  repeat,
std::string  button,
std::string  remote,
bool  IsRemote = false 
)

Init Constructor.

GizmoEventLIRC Init Constructor.

Definition at line 64 of file GizmoEventLIRC.cpp.

References Button, Code, Remote, and Repeat.

GizmoEventLIRC::~GizmoEventLIRC (  )  [virtual]

Destructor.

GizmoEventLIRC Destructor.

Definition at line 74 of file GizmoEventLIRC.cpp.


Member Function Documentation

void GizmoEventLIRC::buildEventsVectorFromBuffer ( std::vector< boost::shared_ptr< GizmoEventLIRC > > &  EventVector,
H::DynamicBuffer< char > const &  Buffer 
) [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

Definition at line 86 of file GizmoEventLIRC.cpp.

References Button, cdbg1, Code, H::DynamicBuffer< DataType >::getBuffer(), GizmoEventLIRC(), H::DynamicBuffer< DataType >::length(), Remote, and Repeat.


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