OpenASIP
2.0
|
#include <OSEdBuildAllCmd.hh>
Public Member Functions | |
OSEdBuildAllCmd () | |
virtual | ~OSEdBuildAllCmd () |
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 | |
OSEdBuildAllCmd (const OSEdBuildAllCmd &) | |
Copying not allowed. More... | |
OSEdBuildAllCmd & | operator= (const OSEdBuildAllCmd &) |
Assignment not allowed. More... | |
Command that build all modules.
Definition at line 43 of file OSEdBuildAllCmd.hh.
OSEdBuildAllCmd::OSEdBuildAllCmd | ( | ) |
|
virtual |
|
private |
Copying not allowed.
|
virtual |
Returns a new command.
Implements GUICommand.
Definition at line 83 of file OSEdBuildAllCmd.cc.
References OSEdBuildAllCmd().
|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 93 of file OSEdBuildAllCmd.cc.
References OperationModule::behaviorSourceModule(), OperationBuilder::buildObject(), SimulateDialog::DIALOG_NAME, OperationModule::hasBehaviorSource(), OSEdTextGenerator::instance(), OperationBuilder::instance(), OperationIndex::module(), OperationIndex::moduleCount(), OperationModule::name(), OperationContainer::operationIndex(), GUICommand::parentWindow(), OperationIndex::path(), OperationIndex::pathCount(), Texts::TextGenerator::text(), WxConversion::toWxString(), OSEdTextGenerator::TXT_BUILD_RESULT_DIALOG_TITLE, OSEdTextGenerator::TXT_STATUS_COMPILE_FAILED, and OSEdTextGenerator::TXT_STATUS_COMPILE_SUCCESS.
|
virtual |
Returns icon path.
Implements GUICommand.
Definition at line 186 of file OSEdBuildAllCmd.cc.
|
virtual |
Returns the id of the command.
Implements GUICommand.
Definition at line 73 of file OSEdBuildAllCmd.cc.
References OSEdConstants::CMD_BUILD_ALL.
|
virtual |
Returns true if command is enabled.
Command is enabled, if at least one module has behavior source file.
Implements GUICommand.
Definition at line 169 of file OSEdBuildAllCmd.cc.
References OperationModule::hasBehaviorSource(), OperationIndex::module(), OperationIndex::moduleCount(), and OperationContainer::operationIndex().
|
private |
Assignment not allowed.