Extension module to be dynamically loaded via dynamic linking.
More...
#include <extension_module.hpp>
|
|
virtual bool | needs_wait () const |
| | Check if the module is behind the main mapping process.
|
| |
| virtual bool | ok () const |
| | Check if the module is alive. (If it returns false, the system will be shutdown)
|
| |
|
virtual void | at_exit (const std::string &dump_path) |
| | Called when the system is quitting.
|
| |
|
| static std::shared_ptr< ExtensionModule > | load_module (const std::string &so_name) |
| | Load an extension module from a dynamic library.
|
| |
| static void | export_classes (const std::string &so_name) |
| | Export classes (factors) from a dynamic library.
|
| |
Extension module to be dynamically loaded via dynamic linking.
◆ export_classes()
| static void glim::ExtensionModule::export_classes |
( |
const std::string & |
so_name | ) |
|
|
static |
Export classes (factors) from a dynamic library.
- Parameters
-
| so_name | Dynamic library name |
◆ load_module()
| static std::shared_ptr< ExtensionModule > glim::ExtensionModule::load_module |
( |
const std::string & |
so_name | ) |
|
|
static |
Load an extension module from a dynamic library.
- Parameters
-
| so_name | Dynamic library name |
- Returns
- Loaded extension module
◆ ok()
| virtual bool glim::ExtensionModule::ok |
( |
| ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following file: