template class ProcessLauncherManager

Overview

Class to manage process managers. More…

#include <process_launcher_manager.h>

template <class ... PROCESS_LAUNCHERS>
class ProcessLauncherManager: public PtrTemplates {
public:
    // construction

    ProcessLauncherManager(int logFD = -1);
    ProcessLauncherManager(const ProcessLauncherManager&);
    ProcessLauncherManager(ProcessLauncherManager&&);

    // methods

    ProcessLauncherManager& operator = (ProcessLauncherManager&&);
    ProcessLauncherManager& operator = (const ProcessLauncherManager&);
    ProcessLauncherInterface::unique_ptr createProcessLauncher(const std::string& launcherType) const;
    void registerProcessLauncher(ProcessLauncherInterface::unique_ptr&& launcher);
};

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;

Detailed Documentation

Class to manage process managers.

Construction

ProcessLauncherManager(int logFD = -1)

Constructor. Registers all Process Launchers for further use.

Methods

ProcessLauncherInterface::unique_ptr createProcessLauncher(const std::string& launcherType) const

Create a new process launcher.

Parameters:

launcherType

Name of launcher

Returns:

Returns ptr to launcher