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

Uncached version of plugin manager Keeps only one dynamic plugin in memory at a time. More...

#include <plugins.h>

Inheritance diagram for PluginManagerUncached:
Collaboration diagram for PluginManagerUncached:

List of all members.

Public Member Functions

virtual void init ()
 This should only be called once by main().
virtual void loadFirstPlugin ()
virtual bool loadNextPlugin ()
virtual bool loadPluginFromGameId (const Common::String &gameId)
 Try to load the plugin by searching in the ConfigManager for a matching gameId under the domain 'plugin_files'.
virtual void updateConfigWithFileName (const Common::String &gameId)
 Update the config manager with a plugin file name that we found can handle the game.
virtual void loadAllPlugins ()
 Used by only the cached plugin manager.
virtual void loadAllPluginsOfType (PluginType type)

Protected Member Functions

 PluginManagerUncached ()
bool loadPluginByFileName (const Common::String &filename)
 Load a plugin with a filename taken from ConfigManager.

Protected Attributes

PluginList _allEnginePlugins
PluginList::iterator _currentPlugin

Friends

class PluginManager

Detailed Description

Uncached version of plugin manager Keeps only one dynamic plugin in memory at a time.

Definition at line 335 of file plugins.h.


Constructor & Destructor Documentation

PluginManagerUncached::PluginManagerUncached (  )  [inline, protected]

Definition at line 341 of file plugins.h.


Member Function Documentation

void PluginManagerUncached::init (  )  [virtual]

This should only be called once by main().

Reimplemented from PluginManager.

Definition at line 258 of file plugins.cpp.

virtual void PluginManagerUncached::loadAllPlugins (  )  [inline, virtual]

Used by only the cached plugin manager.

The uncached manager can only have one plugin in memory at a time.

Reimplemented from PluginManager.

Definition at line 351 of file plugins.h.

virtual void PluginManagerUncached::loadAllPluginsOfType ( PluginType  type  )  [inline, virtual]

Reimplemented from PluginManager.

Definition at line 352 of file plugins.h.

void PluginManagerUncached::loadFirstPlugin (  )  [virtual]

Reimplemented from PluginManager.

Definition at line 346 of file plugins.cpp.

bool PluginManagerUncached::loadNextPlugin (  )  [virtual]

Reimplemented from PluginManager.

Definition at line 358 of file plugins.cpp.

bool PluginManagerUncached::loadPluginByFileName ( const Common::String filename  )  [protected]

Load a plugin with a filename taken from ConfigManager.

Definition at line 311 of file plugins.cpp.

bool PluginManagerUncached::loadPluginFromGameId ( const Common::String gameId  )  [virtual]

Try to load the plugin by searching in the ConfigManager for a matching gameId under the domain 'plugin_files'.

Reimplemented from PluginManager.

Definition at line 293 of file plugins.cpp.

void PluginManagerUncached::updateConfigWithFileName ( const Common::String gameId  )  [virtual]

Update the config manager with a plugin file name that we found can handle the game.

Reimplemented from PluginManager.

Definition at line 332 of file plugins.cpp.


Friends And Related Function Documentation

friend class PluginManager [friend]

Definition at line 337 of file plugins.h.


Member Data Documentation

Definition at line 338 of file plugins.h.


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


Generated on Sat Sep 14 2019 05:03:16 for ResidualVM by doxygen 1.7.1
curved edge   curved edge