|
Stops or kills applications on Linux based on their name. This ApplicationStopper stops (killall -15) or kills (killall -9) application processes on Linux. It should not be used on other operating systems, due to the usage of system calls. More...
#include <ArmarXCore/util/ScenarioManagerCommon/executor/ByNameStopperLinux.h>
Public Member Functions | |
void | kill (Data_Structure::ApplicationInstancePtr application) override |
Stops an application based on its name. More... | |
virtual void | removeApplication (Data_Structure::ApplicationInstancePtr application, StatusManager statusManager) |
virtual void | removeScenario (Data_Structure::ScenarioPtr scenario, StatusManager statusManager) |
void | stop (Data_Structure::ApplicationInstancePtr application) override |
Stops an application based on its name. More... | |
Stops or kills applications on Linux based on their name. This ApplicationStopper stops (killall -15) or kills (killall -9) application processes on Linux. It should not be used on other operating systems, due to the usage of system calls.
Definition at line 40 of file ByNameStopperLinux.h.
|
overridevirtual |
Stops an application based on its name.
Uses killall -9.
application | application to be killed |
Implements ApplicationStopper.
Definition at line 36 of file ByNameStopperLinux.cpp.
|
virtual |
Implements ApplicationStopper.
Definition at line 53 of file ByNameStopperLinux.cpp.
|
virtual |
Implements ApplicationStopper.
Definition at line 58 of file ByNameStopperLinux.cpp.
|
overridevirtual |
Stops an application based on its name.
Uses killall -15.
application | application to be stopped |
Implements ApplicationStopper.
Definition at line 31 of file ByNameStopperLinux.cpp.