PicoScenes API Docs
 
Loading...
Searching...
No Matches
PicoScenesPluginWrapper Struct Reference

Wrapper class for PicoScenes plugins. More...

#include <PicoScenesPluginManager.hxx>

Public Member Functions

 PicoScenesPluginWrapper (const std::string &filePath, std::shared_ptr< PicoScenesPluginManager > manager)
 Construct a new plugin wrapper.
 
std::shared_ptr< PicoScenesPluginManagergetManager () const
 Get the plugin manager instance.
 
std::shared_ptr< AbstractPicoScenesPlugingetPluginCore () const
 Get the plugin core instance.
 
const std::string & getLibraryFilePath () const
 Get the plugin library file path.
 

Detailed Description

Wrapper class for PicoScenes plugins.

Encapsulates plugin loading and management functionality, including dynamic library handling and plugin core management

Definition at line 29 of file PicoScenesPluginManager.hxx.

Constructor & Destructor Documentation

◆ PicoScenesPluginWrapper()

PicoScenesPluginWrapper::PicoScenesPluginWrapper ( const std::string &  filePath,
std::shared_ptr< PicoScenesPluginManager manager 
)

Construct a new plugin wrapper.

Parameters
filePathPath to the plugin library file
managerShared pointer to the plugin manager
Exceptions
std::runtime_errorIf plugin initialization fails

Member Function Documentation

◆ getLibraryFilePath()

const std::string & PicoScenesPluginWrapper::getLibraryFilePath ( ) const
inline

Get the plugin library file path.

Returns
The library file path as string

Definition at line 59 of file PicoScenesPluginManager.hxx.

◆ getManager()

std::shared_ptr< PicoScenesPluginManager > PicoScenesPluginWrapper::getManager ( ) const
inline

Get the plugin manager instance.

Returns
Shared pointer to the plugin manager

Definition at line 43 of file PicoScenesPluginManager.hxx.

◆ getPluginCore()

std::shared_ptr< AbstractPicoScenesPlugin > PicoScenesPluginWrapper::getPluginCore ( ) const
inline

Get the plugin core instance.

Returns
Shared pointer to the plugin core

Definition at line 51 of file PicoScenesPluginManager.hxx.


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