.. index:: pair: class; EmptyLaunchCommand .. _doxid-class_empty_launch_command: class EmptyLaunchCommand ======================== .. toctree:: :hidden: Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class EmptyLaunchCommand: public :ref:`LaunchCommand` { public: // methods virtual pid_t :ref:`launchProcess`( const :ref:`nlohmann::json`&, const std::string&, const std::vector&, const std::vector&, bool, int ); virtual pid_t :ref:`stopProcess`(unsigned int); virtual :ref:`ENGINE_RUNNING_STATUS` :ref:`getProcessStatus`(); }; Inherited Members ----------------- .. ref-code-block:: cpp :class: doxyrest-overview-inherited-code-block public: // typedefs typedef std::shared_ptr :ref:`shared_ptr`; typedef std::shared_ptr :ref:`const_shared_ptr`; typedef std::unique_ptr :ref:`unique_ptr`; typedef std::unique_ptr :ref:`const_unique_ptr`; // enums enum :ref:`ENGINE_RUNNING_STATUS`; // fields static constexpr auto :ref:`LaunchType` = :ref:`LAUNCH_COMMAND`; // methods virtual pid_t :ref:`launchProcess`( const :ref:`nlohmann::json`& launcherConfig, const std::string& procCmd, const std::vector& envParams, const std::vector& startParams, bool appendParentEnv = true, int logFD = -1 ) = 0; virtual pid_t :ref:`stopProcess`(unsigned int killWait) = 0; virtual :ref:`ENGINE_RUNNING_STATUS` :ref:`getProcessStatus`(); virtual std::string_view :ref:`launchType`() const = 0; virtual std::string_view :ref:`launchType`() const; .. _details-class_empty_launch_command: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Methods ------- .. index:: pair: function; launchProcess .. _doxid-class_empty_launch_command_1a8f4ab7cbb486f6064fffd03d4f25913b: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual pid_t launchProcess( const :ref:`nlohmann::json`&, const std::string&, const std::vector&, const std::vector&, bool, int ) launchProcess always returns -1 .. rubric:: Returns: -1 .. index:: pair: function; stopProcess .. _doxid-class_empty_launch_command_1aca09392a772dc19a33006c0afc13fa41: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual pid_t stopProcess(unsigned int) stopProcess always returns 0 .. rubric:: Returns: 0 .. index:: pair: function; getProcessStatus .. _doxid-class_empty_launch_command_1a241b3b8208310597f7316eba8133cd34: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual :ref:`ENGINE_RUNNING_STATUS` getProcessStatus() getProcessStatus always returns ENGINE_RUNNING_STATUS::UNKNOWN .. rubric:: Returns: ENGINE_RUNNING_STATUS::UNKNOWN