Abstraction over the plugin library file, hides system specific dynamic library handling.
More...
#include <library_file.h>
Abstraction over the plugin library file, hides system specific dynamic library handling.
◆ Library_file()
Library_file::Library_file |
( |
const std::string & |
file_name, |
|
|
const std::string & |
plugin_name |
|
) |
| |
|
explicit |
Constructor.
- Parameters
-
file_name | path to the plugin file on the filesystem |
plugin_name | name of the plugin (has to match name of the exported Plugin struct) |
◆ ~Library_file()
Library_file::~Library_file |
( |
| ) |
|
◆ get_abi_version()
uint32_t Library_file::get_abi_version |
( |
| ) |
const |
Returns ABI version of the plugin represented by the object.
◆ get_plugin_struct()
template<class T >
template Plugin_v1 * Library_file::get_plugin_struct< Plugin_v1 > |
( |
const std::string & |
symbol | ) |
const |
Returns version specific Plugin struct of the plugin.
Specified by the caller through the template parameter.
- Parameters
-
symbol | name of the struct symbol |
◆ get_plugin_struct_internal()
template<class T >
template Plugin_v1 * Library_file::get_plugin_struct_internal< Plugin_v1 > |
( |
const std::string & |
symbol | ) |
const |
|
private |
◆ file_name_
const std::string Library_file::file_name_ |
|
private |
◆ impl_
◆ plugin_name_
const std::string Library_file::plugin_name_ |
|
private |
The documentation for this class was generated from the following files: