|
DevSlashLirc
|
This class is a LIRC_MODE_LIRCCODE device as per lirc(4). More...
#include <LircCodeLircDevice.h>


Public Member Functions | |
| LircCodeLircDevice (const char *path=defaultFilename) | |
| LircCodeLircDevice (const LircDevice &orig) | |
| virtual bool | open () |
| bool | isMode2 () const |
| Always returns false. More... | |
| bool | isLircCode () const |
| Always returns true. More... | |
| void | report (std::ostream &stream=std::cout) const |
| Prints a listing of the properties implemented on the stream supplied. More... | |
| uint32_t | readCode () |
| bool | writeCode (uint32_t code) |
Public Member Functions inherited from LircDevice | |
| bool | close () |
| virtual | ~LircDevice () |
| bool | isValid () const |
| milliseconds_t | getBeginTimeout () const |
| void | setBeginTimeout (milliseconds_t timeout) |
| bool | canSend () const |
| bool | canSetTransmitterMask () const |
| bool | canRec () const |
| bool | canSetRecTimeout () const |
| bool | canSendPulse () const |
| bool | canSendLircCode () const |
| bool | canRecMode2 () const |
| bool | canRecLircCode () const |
| unsigned | getNumberTransmitters () const |
| Return the number of transmitters as reported from the device. More... | |
| int | setTransmitterMask (uint32_t mask) |
| Enable the set of transmitters specified in val, which contains a bit mask where each enabled transmitter is a 1. More... | |
| int | setRecTimeout (int arg) |
| Set the integer value for IR inactivity timeout (microseconds). More... | |
| int | setRecTimeoutReports (bool enable) |
| Enable or disable timeout packages. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from LircDevice | |
| static const char * | version = "LircDevice " VERSION |
| static const char * | defaultFilename = "/dev/lirc0" |
| static const milliseconds_t | defaultBeginTimeout = 5000U |
| static const uint32_t | INVALID = UINT32_MAX |
Protected Member Functions inherited from LircDevice | |
| void | report (const char *name, bool value, std::ostream &stream) const |
| bool | reportValidity (std::ostream &stream=std::cout) const |
| int | ioctl (uint32_t cmd, uint32_t arg) |
| bool | canDo (uint32_t mask) const |
| LircDevice (const char *path=defaultFilename, milliseconds_t beginTimeout=defaultBeginTimeout) | |
| LircDevice (const LircDevice &orig) | |
Protected Attributes inherited from LircDevice | |
| bool | valid |
| const char * | fileName |
| int | fileDescriptor |
| unsigned | numberTransmitters |
| uint32_t | recordingMode |
| uint32_t | features |
| milliseconds_t | beginTimeout |
Static Protected Attributes inherited from LircDevice | |
| static const bool | longReport = false |
| Flag indicating how to format reports. More... | |
This class is a LIRC_MODE_LIRCCODE device as per lirc(4).
Definition at line 9 of file LircCodeLircDevice.h.
| LircCodeLircDevice::LircCodeLircDevice | ( | const char * | path = defaultFilename | ) |
Definition at line 7 of file LircCodeLircDevice.cpp.
| LircCodeLircDevice::LircCodeLircDevice | ( | const LircDevice & | orig | ) |
Definition at line 10 of file LircCodeLircDevice.cpp.
|
inlinevirtual |
Always returns true.
Implements LircDevice.
Definition at line 34 of file LircCodeLircDevice.h.
|
inlinevirtual |
Always returns false.
Implements LircDevice.
Definition at line 28 of file LircCodeLircDevice.h.
|
virtual |
Reimplemented from LircDevice.
Definition at line 13 of file LircCodeLircDevice.cpp.
| uint32_t LircCodeLircDevice::readCode | ( | ) |
Definition at line 43 of file LircCodeLircDevice.cpp.
|
virtual |
Prints a listing of the properties implemented on the stream supplied.
| stream |
Reimplemented from LircDevice.
Definition at line 28 of file LircCodeLircDevice.cpp.
| bool LircCodeLircDevice::writeCode | ( | uint32_t | code | ) |
Definition at line 49 of file LircCodeLircDevice.cpp.
1.8.15