|
OpenASIP 2.2
|


Public Member Functions | |
| SigINTHandler (SimulatorFrontend &target) | |
| virtual void | execute (int, siginfo_t *) |
Public Member Functions inherited from Application::UnixSignalHandler | |
| virtual | ~UnixSignalHandler () |
Private Attributes | |
| SimulatorFrontend & | target_ |
| Simulator frontend to use when stopping the simulation. | |
A handler class for Ctrl-c signal.
Stops the simulation (if it's running).
|
inline |
Constructor.
| target | The target SimulatorFrontend instance. |
Definition at line 58 of file TTASim.cc.
|
inlinevirtual |
Stops the simulation.
Implements Application::UnixSignalHandler.
Definition at line 64 of file TTASim.cc.
References SimulatorFrontend::prepareToStop(), SRE_USER_REQUESTED, and target_.

|
private |