|
OpenASIP 2.2
|
#include <FullyConnectBussesCmd.hh>


Public Member Functions | |
| FullyConnectBussesCmd () | |
| virtual | ~FullyConnectBussesCmd () |
| virtual bool | Do () |
| virtual int | id () const |
| virtual FullyConnectBussesCmd * | create () const |
| virtual bool | isEnabled () |
| virtual std::string | shortName () const |
Public Member Functions inherited from EditorCommand | |
| EditorCommand (std::string name, wxWindow *parent=NULL) | |
| virtual | ~EditorCommand () |
| void | setView (wxView *view) |
| wxView * | view () const |
| virtual std::string | icon () const |
Public Member Functions inherited from GUICommand | |
| GUICommand (std::string name, wxWindow *parent) | |
| virtual | ~GUICommand () |
| virtual bool | isChecked () const |
| void | setParentWindow (wxWindow *view) |
| wxWindow * | parentWindow () const |
| std::string | name () const |
Command for connecting all sockets to all busses.
Definition at line 49 of file FullyConnectBussesCmd.hh.
| FullyConnectBussesCmd::FullyConnectBussesCmd | ( | ) |
The Constructor.
Definition at line 60 of file FullyConnectBussesCmd.cc.
Referenced by create().
|
virtual |
|
virtual |
Creates and returns a new instance of this command.
Implements GUICommand.
Definition at line 108 of file FullyConnectBussesCmd.cc.
References FullyConnectBussesCmd().

|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 77 of file FullyConnectBussesCmd.cc.
References assert, FullyConnectedCheck::fix(), Model::getMachine(), machine, Model::notifyObservers(), Model::pushToStack(), and EditorCommand::view().

|
virtual |
Returns id of this command.
Implements GUICommand.
Definition at line 99 of file FullyConnectBussesCmd.cc.
References ProDeConstants::COMMAND_FULLY_CONNECT_BUSSES.
|
virtual |
Returns true when the command is executable, false when not.
This command is executable when a document is open.
Reimplemented from EditorCommand.
Definition at line 130 of file FullyConnectBussesCmd.cc.
References FullyConnectedCheck::canFix(), FullyConnectedCheck::check(), Model::getMachine(), and EditorCommand::view().

|
virtual |
Returns short version of the command name.
Reimplemented from GUICommand.
Definition at line 117 of file FullyConnectBussesCmd.cc.
References ProDeConstants::CMD_SNAME_FULLY_CONNECT_BUSSES.