ldpk
Public Member Functions | List of all members
ldpk::plugin_loader Class Reference

A simple plugin loader for testing and debugging purposes. More...

#include <ldpk_plugin_loader.h>

Public Member Functions

 plugin_loader (bool verbose=true)
 
void set_mode (int mode)
 For a list of possible value, see man dlopen. Call this only if you are familiar with dlopen(). Default is RTLD_LAZY.
 
void open_plugin (const std::string &path)
 Load and link plugin, will throw exceptions on fail.
 
void close_plugin ()
 Close plugin, will be called by destructor.
 
tde4_ld_pluginget_model ()
 Pointer to distortion model base class.
 
tde4ldp_create_fct_t * get_create_function ()
 The create-function for this plugin.
 
tde4ldp_destroy_fct_t * get_destroy_function ()
 The destroy-function for this plugin.
 

Detailed Description

A simple plugin loader for testing and debugging purposes.


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