OpenASIP
2.0
|
#include <DeleteIUCmd.hh>
Public Member Functions | |
DeleteIUCmd (EditPart *editPart) | |
virtual | ~DeleteIUCmd () |
virtual bool | Do () |
Public Member Functions inherited from ComponentCommand | |
ComponentCommand () | |
virtual | ~ComponentCommand () |
wxWindow * | parentWindow () |
void | setParentWindow (wxWindow *window) |
Private Attributes | |
EditPart * | editPart_ |
Immediate unit to delete. More... | |
Command for deleting immediate units from the Machine.
Definition at line 42 of file DeleteIUCmd.hh.
DeleteIUCmd::DeleteIUCmd | ( | EditPart * | editPart | ) |
The Constructor.
editPart | Function unit to delete. |
Definition at line 44 of file DeleteIUCmd.cc.
|
virtual |
|
virtual |
Executes the command.
Implements ComponentCommand.
Definition at line 62 of file DeleteIUCmd.cc.
References assert, editPart_, and EditPart::model().
|
private |