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

PluginProvider Class Reference

Abstract base class for Plugin factories. More...

#include <plugins.h>

Inheritance diagram for PluginProvider:

List of all members.

Public Member Functions

virtual ~PluginProvider ()
virtual PluginList getPlugins ()=0
 Return a list of Plugin objects.
virtual bool isFilePluginProvider ()

Detailed Description

Abstract base class for Plugin factories.

Subclasses of this are responsible for creating plugin objects, e.g. by loading loadable modules from storage media; by creating "fake" plugins from static code; or whatever other means.

Definition at line 219 of file plugins.h.


Constructor & Destructor Documentation

virtual PluginProvider::~PluginProvider (  )  [inline, virtual]

Definition at line 221 of file plugins.h.


Member Function Documentation

virtual PluginList PluginProvider::getPlugins (  )  [pure virtual]

Return a list of Plugin objects.

The caller is responsible for actually loading/unloading them (by invoking the appropriate Plugin methods). Furthermore, the caller is responsible for deleting these objects eventually.

Returns:
a list of Plugin instances

Implemented in StaticPluginProvider, and FilePluginProvider.

virtual bool PluginProvider::isFilePluginProvider (  )  [inline, virtual]
Returns:
whether or not object is a FilePluginProvider.

Reimplemented in FilePluginProvider.

Definition at line 236 of file plugins.h.


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


Generated on Sat May 25 2019 05:04:07 for ResidualVM by doxygen 1.7.1
curved edge   curved edge