template class LaunchCommand¶
Overview¶
Class for launch commands. Must be specialized further. More…
#include <launch_command.h> template <const char* LAUNCH_COMMAND> class LaunchCommand: public LaunchCommandInterface { public: // fields static constexpr auto LaunchType = LAUNCH_COMMAND; // methods virtual std::string_view launchType() const; }; // direct descendants class BasicFork;
Inherited Members¶
public: // typedefs typedef std::shared_ptr<T> shared_ptr; typedef std::shared_ptr<const T> const_shared_ptr; typedef std::unique_ptr<T> unique_ptr; typedef std::unique_ptr<const T> const_unique_ptr; // enums enum ENGINE_RUNNING_STATUS; // methods virtual pid_t launchProcess( const nlohmann::json& launcherConfig, const std::string& procCmd, const std::vector<std::string>& envParams, const std::vector<std::string>& startParams, bool appendParentEnv = true, int logFD = -1 ) = 0; virtual pid_t stopProcess(unsigned int killWait) = 0; virtual ENGINE_RUNNING_STATUS getProcessStatus(); virtual std::string_view launchType() const = 0;