ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

EngineManager Class Reference

Singleton class which manages all Engine plugins. More...

#include <metaengine.h>

Inheritance diagram for EngineManager:
Collaboration diagram for EngineManager:

List of all members.

Public Member Functions

PlainGameDescriptor findGameInLoadedPlugins (const Common::String &gameName, const Plugin **plugin=NULL) const
 Find the game within the plugins loaded in memory.
PlainGameDescriptor findGame (const Common::String &gameName, const Plugin **plugin=NULL) const
 This function works for both cached and uncached PluginManagers.
DetectionResults detectGames (const Common::FSList &fslist) const
const PluginListgetPlugins () const
Common::String createTargetForGame (const DetectedGame &game)
 Create a target from the supplied game descriptor.

Detailed Description

Singleton class which manages all Engine plugins.

Definition at line 268 of file metaengine.h.


Member Function Documentation

Common::String EngineManager::createTargetForGame ( const DetectedGame game  ) 

Create a target from the supplied game descriptor.

Returns the created target name.

Definition at line 555 of file plugins.cpp.

DetectionResults EngineManager::detectGames ( const Common::FSList fslist  )  const

Definition at line 517 of file plugins.cpp.

PlainGameDescriptor EngineManager::findGame ( const Common::String gameName,
const Plugin **  plugin = NULL 
) const

This function works for both cached and uncached PluginManagers.

For the cached version, most of the logic here will short circuit.

For the uncached version, we first try to find the plugin using the gameId and only if we can't find it there, we loop through the plugins.

Definition at line 462 of file plugins.cpp.

PlainGameDescriptor EngineManager::findGameInLoadedPlugins ( const Common::String gameName,
const Plugin **  plugin = NULL 
) const

Find the game within the plugins loaded in memory.

Definition at line 496 of file plugins.cpp.

const PluginList & EngineManager::getPlugins (  )  const

Definition at line 542 of file plugins.cpp.


The documentation for this class was generated from the following files:


Generated on Sat May 18 2019 05:04:47 for ResidualVM by doxygen 1.7.1
curved edge   curved edge