|
|
Starts applications in Linux. More...
#include <ArmarXCore/util/ScenarioManagerCommon/executor/LinuxStarter.h>
Inheritance diagram for LinuxStarter:Public Member Functions | |
| virtual std::string | getStatus (Data_Structure::ApplicationInstancePtr application, StatusManager statusManager) override |
| Returns the status of an application. | |
| LinuxStarter () | |
| virtual void | startApplication (Data_Structure::ApplicationInstancePtr application, StatusManager statusManager, const std::string &commandLineParameters="", bool printOnly=false) override |
| Starts an application. | |
Additional Inherited Members | |
Public Attributes inherited from ApplicationStarter | |
| std::string | commandLineParameters |
Starts applications in Linux.
Shouldn't be used in any other OS, due to system calls being used. Applications started this way will still run, even when the main application dies. Can also be used to request the status of an application.
Definition at line 45 of file LinuxStarter.h.
| LinuxStarter | ( | ) |
Definition at line 121 of file LinuxStarter.cpp.
|
overridevirtual |
Returns the status of an application.
| application | application whose status is returned |
Implements ApplicationStarter.
Definition at line 303 of file LinuxStarter.cpp.
Here is the call graph for this function:
|
overridevirtual |
Starts an application.
Forks, creates a daemon and starts the executable.
| application | application to be started |
Implements ApplicationStarter.
Definition at line 157 of file LinuxStarter.cpp.
Here is the call graph for this function: