OpenASIP
2.0
|
#include <ProximKillCmd.hh>
Public Member Functions | |
ProximKillCmd () | |
virtual | ~ProximKillCmd () |
virtual bool | Do () |
virtual int | id () const |
virtual ProximKillCmd * | 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 |
Private Attributes | |
SimulatorFrontend * | simulator_ |
Command for terminating simulation in Proxim.
Definition at line 43 of file ProximKillCmd.hh.
ProximKillCmd::ProximKillCmd | ( | ) |
The Constructor.
Definition at line 43 of file ProximKillCmd.cc.
References simulator_.
Referenced by create().
|
virtual |
|
virtual |
Creates and returns a new isntance of this command.
Implements GUICommand.
Definition at line 101 of file ProximKillCmd.cc.
References ProximKillCmd().
|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 60 of file ProximKillCmd.cc.
References assert, and GUICommand::parentWindow().
|
virtual |
Returns full path to the command icon file.
Implements GUICommand.
Definition at line 81 of file ProximKillCmd.cc.
|
virtual |
Returns ID of this command.
Implements GUICommand.
Definition at line 90 of file ProximKillCmd.cc.
References ProximConstants::COMMAND_KILL.
|
virtual |
Returns true if the command is enabled, false otherwise.
Implements GUICommand.
Definition at line 112 of file ProximKillCmd.cc.
References SimulatorFrontend::hasSimulationEnded(), SimulatorFrontend::isSimulationRunning(), SimulatorFrontend::isSimulationStopped(), and simulator_.
|
private |
Definition at line 54 of file ProximKillCmd.hh.
Referenced by isEnabled(), and ProximKillCmd().