OpenASIP
2.0
|
#include <ProximRunCmd.hh>
Public Member Functions | |
ProximRunCmd () | |
virtual | ~ProximRunCmd () |
virtual bool | Do () |
virtual int | id () const |
virtual ProximRunCmd * | 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 starting simulation run in Proxim.
Definition at line 43 of file ProximRunCmd.hh.
ProximRunCmd::ProximRunCmd | ( | ) |
The Constructor.
Definition at line 42 of file ProximRunCmd.cc.
References simulator_.
Referenced by create().
|
virtual |
|
virtual |
Creates and returns a new isntance of this command.
Implements GUICommand.
Definition at line 91 of file ProximRunCmd.cc.
References ProximRunCmd().
|
virtual |
|
virtual |
Returns full path to the command icon file.
Implements GUICommand.
Definition at line 71 of file ProximRunCmd.cc.
|
virtual |
Returns ID of this command.
Implements GUICommand.
Definition at line 80 of file ProximRunCmd.cc.
References ProximConstants::COMMAND_RUN.
|
virtual |
Returns true if the command is enabled, false otherwise.
Implements GUICommand.
Definition at line 103 of file ProximRunCmd.cc.
References SimulatorFrontend::isSimulationInitialized(), and simulator_.
|
private |
Definition at line 54 of file ProximRunCmd.hh.
Referenced by isEnabled(), and ProximRunCmd().