|
OpenASIP 2.2
|
#include <OSEdBuildCmd.hh>


Public Member Functions | |
| OSEdBuildCmd () | |
| virtual | ~OSEdBuildCmd () |
| 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 | |
| OSEdBuildCmd (const OSEdBuildCmd &) | |
| Copying not allowed. | |
| OSEdBuildCmd & | operator= (const OSEdBuildCmd &) |
| Assignment not allowed. | |
Command that builds a module.
Definition at line 43 of file OSEdBuildCmd.hh.
| OSEdBuildCmd::OSEdBuildCmd | ( | ) |
Constructor.
Definition at line 56 of file OSEdBuildCmd.cc.
Referenced by create().
|
virtual |
|
private |
Copying not allowed.
|
virtual |
Creates a new command.
Implements GUICommand.
Definition at line 82 of file OSEdBuildCmd.cc.
References OSEdBuildCmd().

|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 92 of file OSEdBuildCmd.cc.
References OperationBuilder::buildObject(), SimulateDialog::DIALOG_NAME, OperationBuilder::instance(), OSEdTextGenerator::instance(), GUICommand::parentWindow(), OSEdTreeView::pathOfModule(), OSEdTreeView::selectedModule(), OSEdTreeView::selectedModuleId(), Texts::TextGenerator::text(), WxConversion::toWxString(), OSEdTextGenerator::TXT_BUILD_RESULT_DIALOG_TITLE, OSEdTextGenerator::TXT_STATUS_COMPILE_FAILED, OSEdTextGenerator::TXT_STATUS_COMPILE_SUCCESS, and OSEdTextGenerator::TXT_STATUS_COMPILING.

|
virtual |
Returns the icon path.
Implements GUICommand.
Definition at line 169 of file OSEdBuildCmd.cc.
|
virtual |
Returns the id of the command.
Implements GUICommand.
Definition at line 72 of file OSEdBuildCmd.cc.
References OSEdConstants::CMD_BUILD.
|
virtual |
Returns true if command is enabled.
Command is enabled when module with behavior source file has been selected.
Implements GUICommand.
Definition at line 150 of file OSEdBuildCmd.cc.
References OSEdTreeView::pathOfModule(), OSEdTreeView::selectedModule(), OSEdTreeView::selectedModuleId(), and OSEdMainFrame::treeView().

|
private |
Assignment not allowed.