#include <vrePluginManager.h>
◆ DtVrePlugin()
| makVre::DtVrePlugin::DtVrePlugin |
( |
const std::string & | libName | ) |
|
Constructs a plugin wrapper for the specified library.
- Parameters
-
| libName | Name or path of the plugin library to load. |
◆ ~DtVrePlugin()
| virtual makVre::DtVrePlugin::~DtVrePlugin |
( |
| ) |
|
|
virtual |
Destroys the plugin wrapper without unloading recognized plugin libraries.
Libraries with resolved plugin entry points and their loader objects are intentionally retained until process exit because disconnected Boost.Signals2 connections can still reference plugin code. Failed or incompatible loads are released.
◆ init()
| virtual void makVre::DtVrePlugin::init |
( |
| ) |
|
|
virtual |
Resolves the plugin entry points.
- Returns
- True if the required init entry point was found.
◆ initializePlugin()
Calls the plugin init entry point.
- Parameters
-
| app | The player-station application. |
- Returns
- True if plugin initialization succeeded.
◆ postInitializePlugin()
Calls the plugin post-init entry point when available.
- Parameters
-
| app | The player-station application. |
- Returns
- True if plugin post-initialization succeeded or was not present.
◆ shutdownPlugin()
Calls the plugin shutdown entry point when available.
- Parameters
-
| app | The player-station application. |
◆ isValid()
| virtual bool makVre::DtVrePlugin::isValid |
( |
| ) |
const |
|
virtual |
Returns whether the underlying dynamic library loaded successfully.
- Returns
- True if the wrapped dynamic library is valid.
◆ hasValidEntryPoints()
| virtual bool makVre::DtVrePlugin::hasValidEntryPoints |
( |
| ) |
const |
|
virtual |
Returns whether the underlying dynamic library loaded successfully.
- Returns
- True if the wrapped dynamic library is valid.
◆ hasInit()
| virtual bool makVre::DtVrePlugin::hasInit |
( |
| ) |
const |
|
virtual |
Returns whether the plugin exposes the required init entry point.
- Returns
- True if the init entry point was resolved during init().
◆ hasPostInit()
| virtual bool makVre::DtVrePlugin::hasPostInit |
( |
| ) |
const |
|
virtual |
Returns whether the plugin exposes the optional post-init entry point.
- Returns
- True if the post-init entry point was resolved during init().
◆ hasShutdown()
| virtual bool makVre::DtVrePlugin::hasShutdown |
( |
| ) |
const |
|
virtual |
Returns whether the plugin exposes the optional shutdown entry point.
- Returns
- True if the shutdown entry point was resolved during init().
◆ libraryName()
| virtual std::string makVre::DtVrePlugin::libraryName |
( |
| ) |
const |
|
virtual |
Returns the original plugin library name.
- Returns
- The library name or path used to construct the plugin.
◆ myDynamicLibrary
| DtDynamicLibrary* makVre::DtVrePlugin::myDynamicLibrary |
|
protected |
The dynamic-library loader for this plugin.
- Note
- Retained for process lifetime once a plugin entry point has been resolved.
◆ myLibraryName
| std::string makVre::DtVrePlugin::myLibraryName |
|
protected |
The original library name used to load the plugin.
◆ myInitFunc
The required plugin init entry point.
◆ myPostInitFunc
The optional plugin post-init entry point.
◆ myShutdownFunc
The optional plugin shutdown entry point.
The documentation for this class was generated from the following file: