 |
Shiokaze Framework
A research-oriented fluid solver for computer graphics
|
|
Go to the documentation of this file.
25 #ifndef SHKZ_DYLIBLOADER_H
26 #define SHKZ_DYLIBLOADER_H
dylibloader()
Default constructor for dylibloader.
void overwrite(configuration &config) const
Call the function symbol "overwrite", expecting that some configuration will be overwritten.
void close_library()
Unload dynamic library.
virtual ~dylibloader()
Default destructor for dylibloader. close_library() will be also called if necessary.
void configure(configuration &config) override
Call the function symbol "configure".
void load(configuration &config) override
Call the function symbol "load".
Class for managing the workflow of load - configure - initialize.
Definition: configurable.h:40
bool open_library(std::string path)
Load dynamic libraries.
#define SHKZ_BEGIN_NAMESPACE
Name space beggining definition for shiokaze.
Definition: common.h:39
Class that takes in charge of loading dynamic libraries.
Definition: dylibloader.h:36
Class that controls the settings of the program.
Definition: configuration.h:39
#define SHKZ_END_NAMESPACE
Name space end definition for shiokaze.
Definition: common.h:44
void * load_symbol(std::string name) const
Load function of global variable.
const void * get_handle() const
Get the native pointer to the loaded dynamic library.
Definition: dylibloader.h:66