OpenASIP
2.0
|
#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 |
![]() | |
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. More... | |
OSEdBuildCmd & | operator= (const OSEdBuildCmd &) |
Assignment not allowed. More... | |
Command that builds a module.
Definition at line 43 of file OSEdBuildCmd.hh.
OSEdBuildCmd::OSEdBuildCmd | ( | ) |
|
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 OperationModule::behaviorSourceModule(), OperationBuilder::buildObject(), SimulateDialog::DIALOG_NAME, OSEdTextGenerator::instance(), OperationBuilder::instance(), OperationContainer::module(), OperationModule::name(), 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 OperationModule::hasBehaviorSource(), OperationContainer::module(), OSEdTreeView::pathOfModule(), OSEdTreeView::selectedModule(), OSEdTreeView::selectedModuleId(), and OSEdMainFrame::treeView().
|
private |
Assignment not allowed.