#include <GizmoEventLIRC.hpp>
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 |
This class is for all GizmoEventLIRCs attached to the system.
Definition at line 64 of file GizmoEventLIRC.hpp.
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.
GizmoEventLIRC::~GizmoEventLIRC | ( | ) | [virtual] |
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.
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.