OpenASIP 2.2
|
#include <AddFUArchFromADFCmd.hh>
Public Member Functions | |
AddFUArchFromADFCmd () | |
virtual | ~AddFUArchFromADFCmd () |
virtual bool | Do () |
virtual int | id () const |
virtual AddFUArchFromADFCmd * | create () const |
virtual std::string | icon () const |
virtual bool | isEnabled () |
AddFUArchFromADFCmd () | |
virtual | ~AddFUArchFromADFCmd () |
virtual bool | Do () |
virtual int | id () const |
virtual AddFUArchFromADFCmd * | create () const |
virtual std::string | icon () const |
virtual bool | isEnabled () |
![]() | |
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 adding new FU architectures to HDB from an ADF file.
Definition at line 41 of file AddFUArchFromADFCmd.hh.
AddFUArchFromADFCmd::AddFUArchFromADFCmd | ( | ) |
The Constructor.
Definition at line 55 of file AddFUArchFromADFCmd.cc.
Referenced by create().
|
virtual |
AddFUArchFromADFCmd::AddFUArchFromADFCmd | ( | ) |
|
virtual |
|
virtual |
Creates a new instance of this command.
Implements GUICommand.
Definition at line 193 of file AddFUArchFromADFCmd.cc.
References AddFUArchFromADFCmd().
|
virtual |
|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 72 of file AddFUArchFromADFCmd.cc.
References HDB::HDBManager::addFUArchitecture(), TTAMachine::Machine::Navigator< ComponentType >::count(), Exception::errorMessage(), TTAMachine::Machine::functionUnitNavigator(), TTAMachine::Machine::Navigator< ComponentType >::item(), machine, GUICommand::parentWindow(), ADFSerializer::readMachine(), XMLSerializer::setSourceFile(), WxConversion::toString(), WxConversion::toWxString(), and TTAMachine::FunctionUnit::unsetMachine().
|
virtual |
Executes the command.
Implements GUICommand.
|
virtual |
Returns name of the command icon file.
Implements GUICommand.
Definition at line 172 of file AddFUArchFromADFCmd.cc.
|
virtual |
|
virtual |
Returns the command id.
Implements GUICommand.
Definition at line 182 of file AddFUArchFromADFCmd.cc.
References HDBEditorConstants::COMMAND_ADD_FU_FROM_ADF.
|
virtual |
|
virtual |
Returns true if the command should be enabled in the menu/toolbar.
Implements GUICommand.
Definition at line 204 of file AddFUArchFromADFCmd.cc.
|
virtual |
Returns true if the command is executable, false otherwise.
Implements GUICommand.