cCommand Class Reference

#include <config.h>

Inheritance diagram for cCommand:

Inheritance graph
[legend]
Collaboration diagram for cCommand:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cCommand (void)
virtual ~cCommand ()
bool Parse (const char *s)
const char * Title (void)
bool Confirm (void)
const char * Execute (const char *Parameters=NULL)

Private Attributes

char * title
char * command
bool confirm

Static Private Attributes

static char * result = NULL


Detailed Description

Definition at line 50 of file config.h.


Constructor & Destructor Documentation

cCommand::cCommand ( void   ) 

Definition at line 27 of file config.c.

References command, confirm, and title.

cCommand::~cCommand (  )  [virtual]

Definition at line 33 of file config.c.

References command, and title.


Member Function Documentation

bool cCommand::Parse ( const char *  s  ) 

Definition at line 39 of file config.c.

References command, confirm, isempty(), MALLOC, skipspace(), stripspace(), strn0cpy(), and title.

Here is the call graph for this function:

const char* cCommand::Title ( void   )  [inline]

Definition at line 60 of file config.h.

References title.

Referenced by cMenuCommands::Execute().

bool cCommand::Confirm ( void   )  [inline]

Definition at line 61 of file config.h.

References confirm.

Referenced by cMenuCommands::Execute().

const char * cCommand::Execute ( const char *  Parameters = NULL  ) 

Definition at line 61 of file config.c.

References cPipe::Close(), command, dsyslog, esyslog, cPipe::Open(), and result.

Referenced by cMenuCommands::Execute().

Here is the call graph for this function:


Member Data Documentation

char* cCommand::title [private]

Definition at line 52 of file config.h.

Referenced by cCommand(), Parse(), Title(), and ~cCommand().

char* cCommand::command [private]

Definition at line 53 of file config.h.

Referenced by cCommand(), Execute(), Parse(), and ~cCommand().

bool cCommand::confirm [private]

Definition at line 54 of file config.h.

Referenced by cCommand(), Confirm(), and Parse().

char * cCommand::result = NULL [static, private]

Definition at line 55 of file config.h.

Referenced by Execute().


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