#include <Plugin.hpp>
|
C3D_API | Plugin (PluginType type, castor::DynamicLibraryUPtr library, Engine &engine) |
| Constructor.
|
|
void | load () |
| Calls load function for the plug-in.
|
|
void | unload () const noexcept |
| Calls unload function for the plug-in.
|
|
| OwnedBy (Engine &owner) |
| Constructor.
|
|
◆ GetNameFunction
◆ GetRequiredVersionFunction
Signature for the plug-in's name retrieval function.
◆ GetTypeFunction
Signature for the plug-in's version checking function.
◆ OnLoadFunction
< Signature for the plug-in's loading function
Signature for the plug-in's unloading function
◆ OnUnloadFunction
Signature for the plug-in's type retrieval function.
◆ Plugin()
Constructor.
- Parameters
-
[in] | type | The plug-in type |
[in] | library | The shared library holding the plug-in |
[in] | engine | The engine |
◆ ~Plugin()
virtual C3D_API castor3d::Plugin::~Plugin |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ getName()
Retrieves the plug-in name.
- Returns
- The name
◆ getRequiredVersion()
C3D_API void castor3d::Plugin::getRequiredVersion |
( |
Version & | version | ) |
const |
Retrieves the required version for the plug-in to work correctly.
- Parameters
-
[out] | version | Receives the version. |
◆ getType()
Retrieves the plug-in type.
- Returns
- The type
References m_type.
◆ load()
void castor3d::Plugin::load |
( |
| ) |
|
|
protected |
Calls load function for the plug-in.
◆ unload()
void castor3d::Plugin::unload |
( |
| ) |
const |
|
protectednoexcept |
Calls unload function for the plug-in.
◆ m_library
castor::DynamicLibraryUPtr castor3d::Plugin::m_library {} |
|
protected |
◆ m_pfnGetName
The plug-in's name retrieval function.
◆ m_pfnGetRequiredVersion
The plug-in's version checking function.
◆ m_pfnOnLoad
The plug-in's loading function.
◆ m_pfnOnUnload
The plug-in's unloading function
◆ m_type
The documentation for this class was generated from the following file: