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 210 of file plugins.h.

Constructor & Destructor Documentation

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

Definition at line 212 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.

a list of Plugin instances

Implemented in StaticPluginProvider, and FilePluginProvider.

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

Reimplemented in FilePluginProvider.

Definition at line 227 of file plugins.h.

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

Generated on Sat Sep 19 2020 05:04:10 for ResidualVM by doxygen 1.7.1
curved edge   curved edge