OpenASIP
2.0
|
#include <SetRFArchitectureCmd.hh>
Public Member Functions | |
SetRFArchitectureCmd () | |
virtual | ~SetRFArchitectureCmd () |
virtual bool | Do () |
virtual int | id () const |
virtual SetRFArchitectureCmd * | 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 RFEntry.
Definition at line 41 of file SetRFArchitectureCmd.hh.
SetRFArchitectureCmd::SetRFArchitectureCmd | ( | ) |
|
virtual |
|
virtual |
Creates and returns a new instance of the command.
Implements GUICommand.
Definition at line 132 of file SetRFArchitectureCmd.cc.
References SetRFArchitectureCmd().
|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 63 of file SetRFArchitectureCmd.cc.
References HDB::HDBEntry::id(), GUICommand::parentWindow(), HDB::HDBManager::rfArchitectureIDs(), HDB::HDBManager::setArchitectureForRF(), Conversion::toInt(), WxConversion::toString(), WxConversion::toWxString(), and HDB::HDBManager::unsetArchitectureForRF().
|
virtual |
Returns name of the command icon file.
Implements GUICommand.
Definition at line 109 of file SetRFArchitectureCmd.cc.
|
virtual |
Returns the command id.
Implements GUICommand.
Definition at line 121 of file SetRFArchitectureCmd.cc.
References HDBEditorConstants::COMMAND_SET_RF_ARCH.
|
virtual |
Returns true if the command should be enabled in the menu/toolbar.
Implements GUICommand.
Definition at line 142 of file SetRFArchitectureCmd.cc.