.. index:: pair: class; LaunchCommand .. _doxid-class_launch_command: template class LaunchCommand ============================ .. toctree:: :hidden: Overview ~~~~~~~~ Class for launch commands. Must be specialized further. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include template class LaunchCommand: public :ref:`LaunchCommandInterface` { public: // fields static constexpr auto :target:`LaunchType` = :ref:`LAUNCH_COMMAND`; // methods virtual std::string_view :ref:`launchType`() const; }; // direct descendants class :ref:`BasicFork`; 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`; // 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; .. _details-class_launch_command: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Class for launch commands. Must be specialized further. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - LAUNCH_COMMAND - Name of launch command Methods ------- .. index:: pair: function; launchType .. _doxid-class_launch_command_1add06b48328f56f21f9e51760bc89331a: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual std::string_view launchType() const Get launch command type.