OpenASIP
2.0
|
#include <SetFUArchitectureCmd.hh>
Public Member Functions | |
SetFUArchitectureCmd () | |
virtual | ~SetFUArchitectureCmd () |
virtual bool | Do () |
virtual int | id () const |
virtual SetFUArchitectureCmd * | 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 |
Command for setting architecture of a FUEntry.
Definition at line 41 of file SetFUArchitectureCmd.hh.
SetFUArchitectureCmd::SetFUArchitectureCmd | ( | ) |
|
virtual |
|
virtual |
Creates and returns a new instance of the command.
Implements GUICommand.
Definition at line 131 of file SetFUArchitectureCmd.cc.
References SetFUArchitectureCmd().
|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 63 of file SetFUArchitectureCmd.cc.
References HDB::HDBManager::fuArchitectureIDs(), HDB::HDBEntry::id(), GUICommand::parentWindow(), HDB::HDBManager::setArchitectureForFU(), Conversion::toInt(), WxConversion::toString(), WxConversion::toWxString(), and HDB::HDBManager::unsetArchitectureForFU().
|
virtual |
Returns name of the command icon file.
Implements GUICommand.
Definition at line 108 of file SetFUArchitectureCmd.cc.
|
virtual |
Returns the command id.
Implements GUICommand.
Definition at line 120 of file SetFUArchitectureCmd.cc.
References HDBEditorConstants::COMMAND_SET_FU_ARCH.
|
virtual |
Returns true if the command should be enabled in the menu/toolbar.
Implements GUICommand.
Definition at line 141 of file SetFUArchitectureCmd.cc.
References HDBBrowserWindow::isFUEntrySelected(), and HDBBrowserWindow::selectedFUEntry().