class ProcessLauncherBasic

#include <process_launcher_basic.h>

class ProcessLauncherBasic: public ProcessLauncher {
public:
};

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;
    typedef LaunchCommandInterface::ENGINE_RUNNING_STATUS ENGINE_RUNNING_STATUS;

    // fields

    static constexpr auto UNKNOWN = LaunchCommandInterface::ENGINE_RUNNING_STATUS::UNKNOWN;
    static constexpr auto RUNNING = LaunchCommandInterface::ENGINE_RUNNING_STATUS::RUNNING;
    static constexpr auto STOPPED = LaunchCommandInterface::ENGINE_RUNNING_STATUS::STOPPED;
    static constexpr auto LauncherType = LAUNCHER_TYPE;

    // methods

    virtual std::string launcherName() const = 0;
    virtual ProcessLauncherInterface::unique_ptr createLauncher(int logFD = -1) = 0;

    virtual pid_t launchProcess(
        nlohmann::json procConfig,
        bool appendParentEnv = true
    ) = 0;

    virtual pid_t stopProcess(unsigned int killWait) = 0;
    virtual ENGINE_RUNNING_STATUS getProcessStatus();
    LaunchCommandInterface* launchCommand() const;
    void setFileDescriptor(int logFD);
    virtual ProcessLauncherInterface::unique_ptr createLauncher(int logFD = -1);
    virtual std::string launcherName() const;

    virtual pid_t launchProcess(
        nlohmann::json procConfig,
        bool appendParentEnv = true
    );

    virtual pid_t stopProcess(unsigned int killWait);