GLIM
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
glim::ExtensionModule Class Reference

Extension module to be dynamically loaded via dynamic linking. More...

#include <extension_module.hpp>

Inheritance diagram for glim::ExtensionModule:
Inheritance graph
[legend]

Public Member Functions

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 Public Member Functions

static std::shared_ptr< ExtensionModuleload_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.
 

Detailed Description

Extension module to be dynamically loaded via dynamic linking.

Member Function Documentation

◆ export_classes()

static void glim::ExtensionModule::export_classes ( const std::string &  so_name)
static

Export classes (factors) from a dynamic library.

Parameters
so_nameDynamic 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_nameDynamic library name
Returns
Loaded extension module

◆ ok()

virtual bool glim::ExtensionModule::ok ( ) const
inlinevirtual

Check if the module is alive. (If it returns false, the system will be shutdown)

Reimplemented in glim::InteractiveViewer, and glim::StandardViewer.


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