|
vdr
1.7.27
|
#include <remote.h>
Public Member Functions | |
| cKbdRemote (void) | |
| virtual | ~cKbdRemote () |
| cKbdRemote (void) | |
| virtual | ~cKbdRemote () |
Static Public Member Functions | |
| static bool | KbdAvailable (void) |
| static uint64_t | MapFuncToCode (int Func) |
| static void | SetRawMode (bool RawMode) |
| static bool | KbdAvailable (void) |
| static uint64_t | MapFuncToCode (int Func) |
| static void | SetRawMode (bool RawMode) |
Private Member Functions | |
| virtual void | Action (void) |
| int | ReadKey (void) |
| uint64_t | ReadKeySequence (void) |
| int | MapCodeToFunc (uint64_t Code) |
| virtual void | Action (void) |
| int | ReadKey (void) |
| uint64_t | ReadKeySequence (void) |
| int | MapCodeToFunc (uint64_t Code) |
Private Attributes | |
| struct termios | savedTm |
Static Private Attributes | |
| static bool | kbdAvailable = false |
| static bool | rawMode = false |
Definition at line 105 of file include/vdr/remote.h.
| cKbdRemote::cKbdRemote | ( | void | ) |
Definition at line 249 of file remote.c.
References kbdAvailable, savedTm, and cThread::Start().
| cKbdRemote::~cKbdRemote | ( | ) | [virtual] |
Definition at line 266 of file remote.c.
References cThread::Cancel(), kbdAvailable, and savedTm.
| cKbdRemote::cKbdRemote | ( | void | ) |
| virtual cKbdRemote::~cKbdRemote | ( | ) | [virtual] |
| void cKbdRemote::Action | ( | void | ) | [private, virtual] |
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 357 of file remote.c.
References KBDKEY, MapCodeToFunc(), cRemote::Put(), rawMode, ReadKeySequence(), and cThread::Running().
| virtual void cKbdRemote::Action | ( | void | ) | [private, virtual] |
| static bool cKbdRemote::KbdAvailable | ( | void | ) | [inline, static] |
Definition at line 117 of file include/vdr/remote.h.
References kbdAvailable.
| static bool cKbdRemote::KbdAvailable | ( | void | ) | [inline, static] |
Definition at line 117 of file remote.h.
References kbdAvailable.
| int cKbdRemote::MapCodeToFunc | ( | uint64_t | Code | ) | [private] |
Definition at line 287 of file remote.c.
References tKbdMap::func, and kfNone.
Referenced by Action().
| int cKbdRemote::MapCodeToFunc | ( | uint64_t | Code | ) | [private] |
| static uint64_t cKbdRemote::MapFuncToCode | ( | int | Func | ) | [static] |
| uint64_t cKbdRemote::MapFuncToCode | ( | int | Func | ) | [static] |
Definition at line 278 of file remote.c.
References tKbdMap::func, and kfNone.
| int cKbdRemote::ReadKey | ( | void | ) | [private] |
| int cKbdRemote::ReadKey | ( | void | ) | [private] |
Definition at line 298 of file remote.c.
References LOG_ERROR_STR, cPoller::Poll(), and safe_read().
Referenced by ReadKeySequence().
| uint64_t cKbdRemote::ReadKeySequence | ( | void | ) | [private] |
| uint64_t cKbdRemote::ReadKeySequence | ( | void | ) | [private] |
| void cKbdRemote::SetRawMode | ( | bool | RawMode | ) | [static] |
| static void cKbdRemote::SetRawMode | ( | bool | RawMode | ) | [static] |
static bool cKbdRemote::kbdAvailable = false [static, private] |
Definition at line 107 of file include/vdr/remote.h.
Referenced by cKbdRemote(), KbdAvailable(), and ~cKbdRemote().
static bool cKbdRemote::rawMode = false [static, private] |
Definition at line 108 of file include/vdr/remote.h.
Referenced by Action(), and SetRawMode().
struct termios cKbdRemote::savedTm [private] |
Definition at line 109 of file include/vdr/remote.h.
Referenced by cKbdRemote(), and ~cKbdRemote().
1.8.0