|
OpenASIP 2.2
|
#include <AddFUImplementationCmd.hh>


Public Member Functions | |
| AddFUImplementationCmd () | |
| virtual | ~AddFUImplementationCmd () |
| virtual bool | Do () |
| virtual int | id () const |
| virtual AddFUImplementationCmd * | 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 adding implementation of a FU architecture to HDB.
Definition at line 41 of file AddFUImplementationCmd.hh.
| AddFUImplementationCmd::AddFUImplementationCmd | ( | ) |
The Constructor.
Definition at line 53 of file AddFUImplementationCmd.cc.
Referenced by create().
|
virtual |
|
virtual |
Creates a new instance of this command.
Implements GUICommand.
Definition at line 155 of file AddFUImplementationCmd.cc.
References AddFUImplementationCmd().

|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 68 of file AddFUImplementationCmd.cc.
References HDB::HDBManager::addFUEntry(), HDB::HDBManager::addFUImplementation(), HDB::FUArchitecture::architecture(), HDB::FUEntry::architecture(), Exception::errorMessage(), Exception::fileName(), HDB::HDBManager::fuByEntryID(), implementation, HDBBrowserWindow::isFUArchitectureSelected(), HDBBrowserWindow::isFUEntrySelected(), Exception::lineNum(), TTAMachine::Port::name(), GUICommand::parentWindow(), TTAMachine::FunctionUnit::port(), TTAMachine::Unit::portCount(), HDBBrowserWindow::selectedFUArchitecture(), HDBBrowserWindow::selectedFUEntry(), HDB::HDBManager::setArchitectureForFU(), HDB::FUEntry::setImplementation(), and WxConversion::toWxString().

|
virtual |
Returns name of the command icon file.
Implements GUICommand.
Definition at line 134 of file AddFUImplementationCmd.cc.
|
virtual |
Returns the command id.
Implements GUICommand.
Definition at line 144 of file AddFUImplementationCmd.cc.
References HDBEditorConstants::COMMAND_ADD_FU_IMPLEMENTATION.
|
virtual |
Returns true if the command should be enabled in the tool/menubar.
Implements GUICommand.
Definition at line 166 of file AddFUImplementationCmd.cc.
References HDB::HDBManager::fuByEntryID(), HDB::FUEntry::hasArchitecture(), HDB::FUEntry::hasImplementation(), HDBBrowserWindow::isFUArchitectureSelected(), HDBBrowserWindow::isFUEntrySelected(), and HDBBrowserWindow::selectedFUEntry().
