Go to the documentation of this file.
22 #ifndef EMPTY_LAUNCH_H
23 #define EMPTY_LAUNCH_H
25 #include "nrp_general_library/config/cmake_constants.h"
45 pid_t
launchProcess(
const nlohmann::json &,
const std::string &,
const std::vector<std::string> &,
const std::vector<std::string> &,
bool,
int)
65 return ENGINE_RUNNING_STATUS::UNKNOWN;
70 #endif // EMPTY_LAUNCH_H
pid_t stopProcess(unsigned int) override
stopProcess always returns 0
Definition: empty_launch_command.h:54
ENGINE_RUNNING_STATUS getProcessStatus() override
getProcessStatus always returns ENGINE_RUNNING_STATUS::UNKNOWN
Definition: empty_launch_command.h:63
~EmptyLaunchCommand()=default
pid_t launchProcess(const nlohmann::json &, const std::string &, const std::vector< std::string > &, const std::vector< std::string > &, bool, int)
launchProcess always returns -1
Definition: empty_launch_command.h:45
Class for launch commands. Must be specialized further.
Definition: launch_command.h:93
const char EmptyLaunchC[]
Empty Launch Command. A "dummy" launcher that doesn't launch a process. Useful in the cases when the ...
Definition: empty_launch_command.h:32
Definition: empty_launch_command.h:34
ENGINE_RUNNING_STATUS
Engine Process status.
Definition: launch_command.h:39
nlohmann::json json
Definition: engine_json_server.cpp:31