cKeyMacro Class Reference

#include <keys.h>

Inheritance diagram for cKeyMacro:

Inheritance graph
Collaboration diagram for cKeyMacro:

Collaboration graph

List of all members.

Public Member Functions

 cKeyMacro (void)
 ~cKeyMacro ()
bool Parse (char *s)
int NumKeys (void) const
const eKeysMacro (void) const
const char * Plugin (void) const

Private Attributes

int numKeys
char * plugin

Detailed Description

Definition at line 117 of file keys.h.

Constructor & Destructor Documentation

cKeyMacro::cKeyMacro ( void   ) 

Definition at line 187 of file keys.c.

References kNone, macro, MAXKEYSINMACRO, numKeys, and plugin.

cKeyMacro::~cKeyMacro (  ) 

Definition at line 195 of file keys.c.

References plugin.

Member Function Documentation

bool cKeyMacro::Parse ( char *  s  ) 

Definition at line 200 of file keys.c.

References esyslog, cKey::FromString(), cPluginManager::GetPlugin(), k_Plugin, kNone, macro, MAXKEYSINMACRO, numKeys, and plugin.

Here is the call graph for this function:

int cKeyMacro::NumKeys ( void   )  const [inline]

Returns the number of keys in this macro. The first key (with index 0) is the macro code. The actual macro expansion codes start at index 1 and go to NumKeys() - 1.

Definition at line 126 of file keys.h.

References numKeys.

Referenced by cRemote::PutMacro().

const eKeys* cKeyMacro::Macro ( void   )  const [inline]

Definition at line 130 of file keys.h.

References macro.

Referenced by cRemote::PutMacro().

const char* cKeyMacro::Plugin ( void   )  const [inline]

Definition at line 131 of file keys.h.

References plugin.

Referenced by cRemote::PutMacro().

Member Data Documentation

eKeys cKeyMacro::macro[MAXKEYSINMACRO] [private]

Definition at line 119 of file keys.h.

Referenced by cKeyMacro(), Macro(), and Parse().

int cKeyMacro::numKeys [private]

Definition at line 120 of file keys.h.

Referenced by cKeyMacro(), NumKeys(), and Parse().

char* cKeyMacro::plugin [private]

Definition at line 121 of file keys.h.

Referenced by cKeyMacro(), Parse(), Plugin(), and ~cKeyMacro().

The documentation for this class was generated from the following files:
Generated on Tue Nov 6 20:13:07 2007 for VDR by  doxygen 1.5.3-20071008