awds::Shell Class Reference
[Shell_mod]

class for shell object More...

#include <Shell.h>

Inherited by TcpShell.

List of all members.

Public Member Functions

 Shell ()
 constuctor.
virtual void add_command (const std::string name, shell_command_fn *command, void *data, const char *descr, const char *help)=0
 add a new command to the shell
virtual ShellCommandget_command (std::string name)=0
 get the command struct for the correspronding name
virtual ~Shell ()
 destructor.


Detailed Description

class for shell object

Constructor & Destructor Documentation

virtual awds::Shell::~Shell (  )  [inline, virtual]

destructor.

This will normally never be called. So who cares.


Member Function Documentation

virtual void awds::Shell::add_command ( const std::string  name,
shell_command_fn *  command,
void *  data,
const char *  descr,
const char *  help 
) [pure virtual]

add a new command to the shell

Parameters:
name the name of the command.
command the callback function of the command.
data custom data for the callback function.
descr the short description of the command.
help the long help for the command.


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

Generated on Fri Mar 27 13:58:26 2009 for AWDS by  doxygen 1.5.8