#include <internal_cmd.h>
Inherits DebugCmdInterface.
Public Member Functions | |
| ProfileCmdInterface (void) | |
| void | RunResultFunctions (void) |
| virtual bool | Execute (class Debug &dbg, const char *cmd, CommandMode cmdmode, unsigned argn, const char *const *argv) |
| Execute the given command. | |
| virtual void | Delete (void) |
| Destroys the current command interface. | |
Public Member Functions inherited from DebugCmdInterface | |
| DebugCmdInterface (void) | |
Static Public Member Functions | |
| static void | AddResultFunction (ProfileResultInterface *(*func)(int, const char *const *), const char *name, const char *arg) |
Additional Inherited Members | |
Public Types inherited from DebugCmdInterface | |
| enum | CommandMode { Normal , Structured , MAX } |
| possible command modes More... | |
Protected Member Functions inherited from DebugCmdInterface | |
| virtual | ~DebugCmdInterface () |
Definition at line 35 of file internal_cmd.h.
|
inline |
Definition at line 50 of file internal_cmd.h.
|
static |
Definition at line 34 of file profile_cmd.cpp.
|
inlinevirtual |
Destroys the current command interface.
Use this function instead of just delete'ing the instance.
Implements DebugCmdInterface.
Definition at line 58 of file internal_cmd.h.
|
virtual |
Execute the given command.
This function is called whenever a command has been issued for the command group the interface implements.
| dbg | debug instance |
| cmd | command issued |
| cmdmode | command mode |
| argn | number of additional arguments passed in |
| argv | argument list |
Implements DebugCmdInterface.
Definition at line 63 of file profile_cmd.cpp.
| void ProfileCmdInterface::RunResultFunctions | ( | void | ) |
Definition at line 49 of file profile_cmd.cpp.