Ghidra Decompiler Analysis Engine
|
A root class for a basic set of commands. More...
#include <interface.hh>
Public Member Functions | |
virtual void | setData (IfaceStatus *root, IfaceData *data) |
Associate a specific data object with this command. More... | |
virtual string | getModule (void) const |
Get the formal module name to which this command belongs. More... | |
virtual IfaceData * | createData (void) |
Create a specialized data object for this command (and its module) More... | |
Public Member Functions inherited from IfaceCommand | |
virtual void | execute (istream &s)=0 |
void | addWord (const string &temp) |
Add a token to the command line string associated with this command. More... | |
void | addWords (const vector< string > &wordlist) |
Add words to the associated command line string. | |
void | commandString (string &res) const |
Get the complete command line string. More... | |
int4 | compare (const IfaceCommand &op2) const |
Order two commands by their command line strings. More... | |
Protected Attributes | |
IfaceStatus * | status |
The interface owning this command instance. | |
A root class for a basic set of commands.
Commands derived from this class are in the "base" module. They are useful as part of any interface
|
inlinevirtual |
Create a specialized data object for this command (and its module)
This method is only called once per module
Implements IfaceCommand.
|
inlinevirtual |
Get the formal module name to which this command belongs.
Commands in the same module share data through their registered IfaceData object
Implements IfaceCommand.
|
inlinevirtual |
Associate a specific data object with this command.
root | is the interface object this command is registered with |
data | is the data object the command should use |
Implements IfaceCommand.