Plugin module object.
More...
#include <Module.h>
|
const char * | getName () noexcept |
| Get the module name.
|
|
const char * | getVersion () noexcept |
| Get the module version.
|
|
const char * | getDescription () noexcept |
| Get the module description.
|
|
BaseClass::Ptr | createClass (const std::string &id) noexcept |
| Construct an object using the class factory of the module.
|
|
template<typename TYPE > |
std::shared_ptr< TYPE > | createClassAs (const std::string &name) |
| Construct an object using the class factory of the module and cast to a specified type.
|
|
const ClassFactory::RegisterInfoMapType & | getRegisterClassInfo () noexcept |
| Get the type information of registered classes in the module.
|
|
◆ LibraryObject
◆ Ptr
◆ Module()
sese::plugin::Module::Module |
( |
| ) |
|
|
privatedefault |
◆ createClass()
Construct an object using the class factory of the module.
- Parameters
-
- Return values
-
nullptr | Instantiation error |
Referenced by createClassAs().
◆ createClassAs()
template<typename TYPE >
std::shared_ptr< TYPE > sese::plugin::Module::createClassAs |
( |
const std::string & | name | ) |
|
|
inline |
Construct an object using the class factory of the module and cast to a specified type.
- Template Parameters
-
- Parameters
-
- Return values
-
nullptr | Instantiation error or type error |
References createClass().
◆ getDescription()
const char * sese::plugin::Module::getDescription |
( |
| ) |
|
|
noexcept |
Get the module description.
- Returns
- Module description
◆ getName()
const char * sese::plugin::Module::getName |
( |
| ) |
|
|
noexcept |
◆ getRegisterClassInfo()
Get the type information of registered classes in the module.
- Returns
- Type information
◆ getVersion()
const char * sese::plugin::Module::getVersion |
( |
| ) |
|
|
noexcept |
Get the module version.
- Returns
- Module version
◆ open()
◆ openEx()
◆ openWithPath()
Attempt to load a module from a dynamic library.
- Parameters
-
- Return values
-
References open().
◆ factory
◆ info
◆ object
The documentation for this class was generated from the following files: