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