|
OpenASIP 2.2
|
#include <AddRFImplementationCmd.hh>


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

|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 64 of file AddRFImplementationCmd.cc.
References HDB::HDBManager::addRFEntry(), HDB::HDBManager::addRFImplementation(), Exception::errorMessage(), Exception::fileName(), HDB::HDBEntry::id(), implementation, HDBBrowserWindow::isRFArchitectureSelected(), HDBBrowserWindow::isRFEntrySelected(), Exception::lineNum(), GUICommand::parentWindow(), HDB::HDBManager::rfByEntryID(), HDBBrowserWindow::selectedRFArchitecture(), HDBBrowserWindow::selectedRFEntry(), HDB::HDBManager::setArchitectureForRF(), and WxConversion::toWxString().

|
virtual |
Returns name of the command icon file.
Implements GUICommand.
Definition at line 123 of file AddRFImplementationCmd.cc.
|
virtual |
Returns the command id.
Implements GUICommand.
Definition at line 133 of file AddRFImplementationCmd.cc.
References HDBEditorConstants::COMMAND_ADD_RF_IMPLEMENTATION.
|
virtual |
Returns true if the command should be enabled in the tool/menubar.
Implements GUICommand.
Definition at line 155 of file AddRFImplementationCmd.cc.
References HDB::RFEntry::hasArchitecture(), HDB::RFEntry::hasImplementation(), HDBBrowserWindow::isRFArchitectureSelected(), HDBBrowserWindow::isRFEntrySelected(), HDB::HDBManager::rfByEntryID(), and HDBBrowserWindow::selectedRFEntry().
