OpenASIP
2.0
|
#include <OSEdSimulateCmd.hh>
Public Member Functions | |
OSEdSimulateCmd () | |
virtual | ~OSEdSimulateCmd () |
virtual int | id () const |
virtual GUICommand * | create () const |
virtual bool | Do () |
virtual bool | isEnabled () |
virtual std::string | icon () const |
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 Member Functions | |
OSEdSimulateCmd (const OSEdSimulateCmd &) | |
Copying not allowed. More... | |
OSEdSimulateCmd & | operator= (const OSEdSimulateCmd &) |
Assignment not allowed. More... | |
Executes the command when operation is simulated.
Definition at line 43 of file OSEdSimulateCmd.hh.
OSEdSimulateCmd::OSEdSimulateCmd | ( | ) |
|
virtual |
|
private |
Copying not allowed.
|
virtual |
Creates a new command.
Implements GUICommand.
Definition at line 76 of file OSEdSimulateCmd.cc.
References OSEdSimulateCmd().
|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 86 of file OSEdSimulateCmd.cc.
References OSEdTreeView::moduleIdOfOperation(), OSEdTreeView::moduleOfOperation(), GUICommand::parentWindow(), OSEdTreeView::pathOfModule(), OSEdTreeView::selectedOperation(), OSEdTreeView::selectedOperationId(), and OSEdMainFrame::treeView().
|
virtual |
Return icon path.
Implements GUICommand.
Definition at line 128 of file OSEdSimulateCmd.cc.
|
virtual |
Returns the id of the command.
Implements GUICommand.
Definition at line 66 of file OSEdSimulateCmd.cc.
References OSEdConstants::CMD_SIMULATE.
|
virtual |
Returns true if command is enabled.
Command is enabled, if selected operation has behavior module.
Implements GUICommand.
Definition at line 112 of file OSEdSimulateCmd.cc.
References Operation::canBeSimulated(), OSEdTreeView::isOperationSelected(), and OSEdTreeView::selectedOperation().
|
private |
Assignment not allowed.