|
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... | |
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.
|
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.