OpenASIP
2.0
|
#include <ProximExecuteFileCmd.hh>
Public Member Functions | |
ProximExecuteFileCmd () | |
virtual | ~ProximExecuteFileCmd () |
virtual bool | Do () |
virtual int | id () const |
virtual ProximExecuteFileCmd * | create () const |
virtual std::string | icon () const |
virtual bool | isEnabled () |
Public Member Functions inherited from GUICommand | |
GUICommand (std::string name, wxWindow *parent) | |
virtual | ~GUICommand () |
virtual bool | isChecked () const |
virtual std::string | shortName () const |
void | setParentWindow (wxWindow *view) |
wxWindow * | parentWindow () const |
std::string | name () const |
Private Attributes | |
SimulatorFrontend * | simulator_ |
Command for executing commands from a log file.
Definition at line 43 of file ProximExecuteFileCmd.hh.
ProximExecuteFileCmd::ProximExecuteFileCmd | ( | ) |
The Constructor.
Definition at line 49 of file ProximExecuteFileCmd.cc.
References ProximToolbox::frontend(), and simulator_.
Referenced by create().
|
virtual |
|
virtual |
Creates and returns a new isntance of this command.
Implements GUICommand.
Definition at line 126 of file ProximExecuteFileCmd.cc.
References ProximExecuteFileCmd().
|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 66 of file ProximExecuteFileCmd.cc.
References ProximLineReader::input(), ProximToolbox::lineReader(), GUICommand::parentWindow(), and WxConversion::toString().
|
virtual |
Returns full path to the command icon file.
Implements GUICommand.
Definition at line 106 of file ProximExecuteFileCmd.cc.
|
virtual |
Returns ID of this command.
Implements GUICommand.
Definition at line 115 of file ProximExecuteFileCmd.cc.
References ProximConstants::COMMAND_EXECUTE_FILE.
|
virtual |
Returns true if the command is enabled, false otherwise.
Implements GUICommand.
Definition at line 137 of file ProximExecuteFileCmd.cc.
References simulator_.
|
private |
Definition at line 54 of file ProximExecuteFileCmd.hh.
Referenced by isEnabled(), and ProximExecuteFileCmd().