Plugin module object.
More...
#include <Module.h>
|
| const char * | getName () const noexcept |
| | Get the module name.
|
| |
| const char * | getVersion () const noexcept |
| | Get the module version.
|
| |
| const char * | getDescription () const noexcept |
| | Get the module description.
|
| |
| BaseClass::Ptr | createClass (const std::string &id) const 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 () const 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 |
( |
| ) |
const |
|
noexcept |
◆ getName()
| const char * sese::plugin::Module::getName |
( |
| ) |
const |
|
noexcept |
◆ getRegisterClassInfo()
Get the type information of registered classes in the module.
- Returns
- Type information
◆ getVersion()
| const char * sese::plugin::Module::getVersion |
( |
| ) |
const |
|
noexcept |
◆ 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: