vdr 2.6.9
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
cLircRemote Class Reference

#include <lirc.h>

Public Member Functions

virtual ~cLircRemote ()
 
virtual bool Ready (void)
 
- Public Member Functions inherited from cRemote
virtual ~cRemote ()
 
virtual bool Initialize (void)
 
const char * Name (void)
 
- Public Member Functions inherited from cListObject
 cListObject (void)
 
virtual ~cListObject ()
 
virtual int Compare (const cListObject &ListObject) const
 
void Append (cListObject *Object)
 
void Insert (cListObject *Object)
 
void Unlink (void)
 
int Index (void) const
 
cListObjectPrev (void) const
 
cListObjectNext (void) const
 

Static Public Member Functions

static void NewLircRemote (const char *Name)
 
- Static Public Member Functions inherited from cRemote
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)
 

Protected Member Functions

 cLircRemote (const char *Name)
 
- Protected Member Functions inherited from cRemote
 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)
 
- Protected Member Functions inherited from cThread
void SetPriority (int Priority)
 
void SetIOPriority (int Priority)
 
void Lock (void)
 
void Unlock (void)
 
virtual void Action (void)=0
 
bool Running (void)
 
void Cancel (int WaitSeconds=0)
 
 cThread (const char *Description=NULL, bool LowPriority=false)
 
virtual ~cThread ()
 
void SetDescription (const char *Description,...) __attribute__((format(printf
 
void bool Start (void)
 
bool Active (void)
 

Protected Attributes

int f
 

Additional Inherited Members

- Static Protected Member Functions inherited from cThread
static tThreadId ThreadId (void)
 
static tThreadId IsMainThread (void)
 
static void SetMainThreadId (void)
 

Detailed Description

Definition at line 16 of file lirc.h.

Constructor & Destructor Documentation

◆ cLircRemote()

cLircRemote::cLircRemote ( const char * Name)
protected

Definition at line 49 of file lirc.c.

◆ ~cLircRemote()

cLircRemote::~cLircRemote ( )
virtual

Definition at line 55 of file lirc.c.

References cThread::Cancel(), and f.

Member Function Documentation

◆ NewLircRemote()

void cLircRemote::NewLircRemote ( const char * Name)
static

Definition at line 64 of file lirc.c.

References cLircDevRemote::Connect(), and cRemote::Name().

Referenced by main().

◆ Ready()

bool cLircRemote::Ready ( void )
virtual

Reimplemented from cRemote.

Definition at line 99 of file lirc.c.

References f.

Member Data Documentation

◆ f

int cLircRemote::f
protected

The documentation for this class was generated from the following files: