CommandNode Class Reference

#include <CarLinO_command.h>

Inherited by Help, Process, Process::Kill, Process::Show, Process::Spawn, Quit, Root, and Shell.

Collaboration diagram for CommandNode:

Collaboration graph

Public Member Functions

 CommandNode (const AP_String &n, const AP_String &d)
AP_String description (void) const
AP_String execute (const AP_String &args) const
virtual AP_String handle (const CommandNode &node, const AP_String &args)=0
AP_String name (void) const
CommandNode *const * subnode (void) const
 ~CommandNode (void)

Protected Attributes

AP_String _m_description
AP_String _m_name
CommandNode_m_subnode [MAX_NODE]

Constructor & Destructor Documentation

CommandNode ( const AP_String n,
const AP_String d 
) [inline]

~CommandNode ( void   )  [inline]


Member Function Documentation

AP_String description ( void   )  const [inline]

AP_String execute ( const AP_String args  )  const [inline]

virtual AP_String handle ( const CommandNode node,
const AP_String args 
) [pure virtual]

AP_String name ( void   )  const [inline]

CommandNode* const* subnode ( void   )  const [inline]


Field Documentation

AP_String _m_name [protected]

CommandNode* _m_subnode[MAX_NODE] [protected]


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

Generated on Fri Mar 5 16:50:45 2010 for CarLinO by  doxygen 1.5.8