#include <CarLinO_command.h>
Inherited by Help, Process, Process::Kill, Process::Show, Process::Spawn, Quit, Root, and Shell.
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] |
CommandNode | ( | const AP_String & | n, | |
const AP_String & | d | |||
) | [inline] |
~CommandNode | ( | void | ) | [inline] |
AP_String description | ( | void | ) | const [inline] |
virtual AP_String handle | ( | const CommandNode & | node, | |
const AP_String & | args | |||
) | [pure virtual] |
Implemented in Help, Shell, Quit, Process::Show, Process::Spawn, Process::Kill, Process, and Root.
AP_String name | ( | void | ) | const [inline] |
CommandNode* const* subnode | ( | void | ) | const [inline] |
AP_String _m_description [protected] |
CommandNode* _m_subnode[MAX_NODE] [protected] |