Home

Dokumentation

Impressum

Dokumentation VDR
 

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

cKbdRemote Class Reference

#include <remote.h>

Inheritance diagram for cKbdRemote:

Inheritance graph
[legend]
Collaboration diagram for cKbdRemote:

Collaboration graph
[legend]

Detailed Description

Remote control via keybord (default for first vdr start).

Definition at line 89 of file remote.h.

Public Methods

 cKbdRemote (void)
virtual ~cKbdRemote ()

Static Public Methods

bool KbdAvailable (void)
uint64 MapFuncToCode (int Func)
void SetRawMode (bool RawMode)

Private Methods

virtual void Action (void)
int MapCodeToFunc (uint64 Code)

Private Attributes

bool active
termios savedTm

Static Private Attributes

bool kbdAvailable = false
bool rawMode = false


Constructor & Destructor Documentation

cKbdRemote::cKbdRemote void   
 

Definition at line 192 of file remote.c.

References active, kbdAvailable, and cThread::Start().

cKbdRemote::~cKbdRemote   [virtual]
 

Definition at line 209 of file remote.c.

References active, cThread::Cancel(), and kbdAvailable.


Member Function Documentation

void cKbdRemote::Action void    [private, virtual]
 

Implements cThread.

Definition at line 240 of file remote.c.

References active, dsyslog, KBDKEY, LOG_ERROR, MapCodeToFunc(), cPoller::Poll(), cRemote::Put(), rawMode, time_ms(), uchar, and uint64.

bool cKbdRemote::KbdAvailable void    [inline, static]
 

Definition at line 109 of file remote.h.

int cKbdRemote::MapCodeToFunc uint64    Code [private]
 

Definition at line 231 of file remote.c.

References tKbdMap::code, tKbdMap::func, KbdMap, and kfNone.

Referenced by Action().

uint64 cKbdRemote::MapFuncToCode int    Func [static]
 

Definition at line 222 of file remote.c.

References tKbdMap::code, tKbdMap::func, KbdMap, kfNone, and uint64.

void cKbdRemote::SetRawMode bool    RawMode [static]
 

Definition at line 217 of file remote.c.

References rawMode.


Field Documentation

bool cKbdRemote::active [private]
 

Definition at line 91 of file remote.h.

Referenced by Action(), cKbdRemote(), and ~cKbdRemote().

bool cKbdRemote::kbdAvailable = false [static, private]
 

check if keyboard is available

Definition at line 189 of file remote.c.

Referenced by cKbdRemote(), and ~cKbdRemote().

bool cKbdRemote::rawMode = false [static, private]
 

all keyboard input will be made available through the new 'kKbd' key code and none of it will be processed as normal remote control functions

Definition at line 190 of file remote.c.

Referenced by Action(), and SetRawMode().

struct termios cKbdRemote::savedTm [private]
 

Definition at line 103 of file remote.h.


The documentation for this class was generated from the following files:
Generated on Wed Feb 5 23:31:15 2003 for VDR by doxygen1.3-rc2