#include <lirc.h>
|
int | f |
|
struct sockaddr_un | addr |
|
|
static void | SetLearning (cRemote *Learning) |
|
static bool | IsLearning () |
|
static bool | Enabled (void) |
|
static void | SetEnabled (bool Enabled) |
|
static void | Clear (void) |
|
static bool | Put (eKeys Key, bool AtFront=false) |
|
static bool | PutMacro (eKeys Key) |
|
static bool | CallPlugin (const char *Plugin) |
|
static const char * | GetPlugin (void) |
|
static bool | HasKeys (void) |
|
static eKeys | Get (int WaitMs=1000, char **UnknownCode=NULL) |
|
static time_t | LastActivity (void) |
|
static void | TriggerLastActivity (void) |
|
static void | SetLearning (cRemote *Learning) |
|
static bool | IsLearning () |
|
static bool | Enabled (void) |
|
static void | SetEnabled (bool Enabled) |
|
static void | Clear (void) |
|
static bool | Put (eKeys Key, bool AtFront=false) |
|
static bool | PutMacro (eKeys Key) |
|
static bool | CallPlugin (const char *Plugin) |
|
static const char * | GetPlugin (void) |
|
static bool | HasKeys (void) |
|
static eKeys | Get (int WaitMs=1000, char **UnknownCode=NULL) |
|
static time_t | LastActivity (void) |
|
static void | TriggerLastActivity (void) |
|
| cRemote (const char *Name) |
|
const char * | GetSetup (void) |
|
void | PutSetup (const char *Setup) |
|
bool | Put (uint64_t Code, bool Repeat=false, bool Release=false) |
|
bool | Put (const char *Code, bool Repeat=false, bool Release=false) |
|
| cRemote (const char *Name) |
|
const char * | GetSetup (void) |
|
void | PutSetup (const char *Setup) |
|
bool | Put (uint64_t Code, bool Repeat=false, bool Release=false) |
|
bool | Put (const char *Code, bool Repeat=false, bool Release=false) |
|
static tThreadId | ThreadId (void) |
|
static tThreadId | IsMainThread (void) |
|
static void | SetMainThreadId (void) |
|
static tThreadId | ThreadId (void) |
|
static tThreadId | IsMainThread (void) |
|
static void | SetMainThreadId (void) |
|
Definition at line 17 of file include/vdr/lirc.h.
◆ anonymous enum
◆ anonymous enum
Enumerator |
---|
LIRC_KEY_BUF | |
LIRC_BUFFER_SIZE | |
Definition at line 19 of file lirc.h.
◆ cLircRemote() [1/2]
cLircRemote::cLircRemote |
( |
const char * |
DeviceName | ) |
|
◆ ~cLircRemote() [1/2]
cLircRemote::~cLircRemote |
( |
| ) |
|
|
virtual |
◆ cLircRemote() [2/2]
cLircRemote::cLircRemote |
( |
const char * |
DeviceName | ) |
|
◆ ~cLircRemote() [2/2]
virtual cLircRemote::~cLircRemote |
( |
| ) |
|
|
virtual |
◆ Action() [1/2]
void cLircRemote::Action |
( |
void |
| ) |
|
|
privatevirtual |
A derived cThread class must implement the code it wants to execute as a separate thread in this function.
If this is a loop, it must check Running() repeatedly to see whether it's time to stop.
Implements cThread.
Definition at line 57 of file lirc.c.
References Connect(), cTimeMs::Elapsed(), esyslog, f, cFile::FileReady(), isyslog, LIRC_BUFFER_SIZE, LIRC_KEY_BUF, cRemote::Put(), cSetup::RcRepeatDelay, cSetup::RcRepeatDelta, RECONNECTDELAY, cThread::Running(), safe_read(), cTimeMs::Set(), Setup, cCondWait::SleepMs(), and strn0cpy().
◆ Action() [2/2]
virtual void cLircRemote::Action |
( |
void |
| ) |
|
|
privatevirtual |
A derived cThread class must implement the code it wants to execute as a separate thread in this function.
If this is a loop, it must check Running() repeatedly to see whether it's time to stop.
Implements cThread.
◆ Connect() [1/2]
bool cLircRemote::Connect |
( |
void |
| ) |
|
|
private |
◆ Connect() [2/2]
bool cLircRemote::Connect |
( |
void |
| ) |
|
|
private |
◆ Ready() [1/2]
bool cLircRemote::Ready |
( |
void |
| ) |
|
|
virtual |
◆ Ready() [2/2]
virtual bool cLircRemote::Ready |
( |
void |
| ) |
|
|
virtual |
◆ addr
struct sockaddr_un cLircRemote::addr |
|
private |
The documentation for this class was generated from the following files: