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

#include <dynamic-plugin.h>

Inheritance diagram for DynamicPlugin:
Collaboration diagram for DynamicPlugin:

List of all members.

Public Member Functions

 DynamicPlugin (const Common::String &filename)
virtual bool loadPlugin ()
virtual void unloadPlugin ()
virtual const char * getFileName () const
 The getFileName() function gets the name of the plugin file for those plugins that have files (ie.

Protected Types

typedef int32(* IntFunc )()
typedef void(* VoidFunc )()
typedef PluginObject *(* GetObjectFunc )()

Protected Member Functions

virtual VoidFunc findSymbol (const char *symbol)=0

Protected Attributes

const Common::String _filename

Detailed Description

Definition at line 30 of file dynamic-plugin.h.


Member Typedef Documentation

typedef PluginObject*(* DynamicPlugin::GetObjectFunc)() [protected]

Definition at line 34 of file dynamic-plugin.h.

typedef int32(* DynamicPlugin::IntFunc)() [protected]

Definition at line 32 of file dynamic-plugin.h.

typedef void(* DynamicPlugin::VoidFunc)() [protected]

Definition at line 33 of file dynamic-plugin.h.


Constructor & Destructor Documentation

DynamicPlugin::DynamicPlugin ( const Common::String filename  )  [inline]

Definition at line 41 of file dynamic-plugin.h.


Member Function Documentation

virtual VoidFunc DynamicPlugin::findSymbol ( const char *  symbol  )  [protected, pure virtual]

Implemented in SDLPlugin.

virtual const char* DynamicPlugin::getFileName (  )  const [inline, virtual]

The getFileName() function gets the name of the plugin file for those plugins that have files (ie.

not static). It doesn't require the plugin object to be loaded into memory, unlike getName()

Reimplemented from Plugin.

Definition at line 104 of file dynamic-plugin.h.

virtual bool DynamicPlugin::loadPlugin (  )  [inline, virtual]

Implements Plugin.

Reimplemented in SDLPlugin.

Definition at line 44 of file dynamic-plugin.h.

virtual void DynamicPlugin::unloadPlugin (  )  [inline, virtual]

Implements Plugin.

Reimplemented in SDLPlugin.

Definition at line 100 of file dynamic-plugin.h.


Member Data Documentation

Definition at line 38 of file dynamic-plugin.h.


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


Generated on Sat Jan 12 2019 05:03:20 for ResidualVM by doxygen 1.7.1
curved edge   curved edge