class EngineLauncherManager

Overview

Engine Launcher Manager. Used to register, and find engine launchers. More…

#include <engine_launcher_manager.h>

class EngineLauncherManager: public PtrTemplates {
public:
    // methods

    void registerLauncher(const EngineLauncherInterfaceSharedPtr& launcher);
    EngineLauncherInterfaceSharedPtr findLauncher(const EngineLauncherInterface::engine_type_t& name) const;
};

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

Engine Launcher Manager. Used to register, and find engine launchers.

Methods

void registerLauncher(const EngineLauncherInterfaceSharedPtr& launcher)

Register launcher.

Parameters:

launcher

Launcher to register

EngineLauncherInterfaceSharedPtr findLauncher(const EngineLauncherInterface::engine_type_t& name) const

Finds a Launcher via the given name.

Parameters:

name

Name of Launcher

Returns:

Returns pointer to the Launcher if available, nullptr otherwise