General wrapper for ltdl functionnalities.
More...
#include <mc_rtc/loader.h>
General wrapper for ltdl functionnalities.
◆ callback_t
◆ handle_map_t
◆ close()
static bool mc_rtc::Loader::close |
( |
| ) |
|
|
staticprotected |
Close ltdl. Does nothing until the last call.
- Exceptions
-
◆ init()
static bool mc_rtc::Loader::init |
( |
| ) |
|
|
staticprotected |
Initialize ltdl.
- Exceptions
-
◆ load_libraries()
static void mc_rtc::Loader::load_libraries |
( |
const std::string & |
class_name, |
|
|
const std::vector< std::string > & |
paths, |
|
|
handle_map_t & |
out, |
|
|
bool |
verbose, |
|
|
callback_t |
cb |
|
) |
| |
|
staticprotected |
Provide libraries handles for the libraries in paths.
- Parameters
-
class_name | The loader will filter out libraries that do not provide a class_name function that returns the object's name, this allows to filter the loaded libraries |
paths | a list of the directories searched by the function |
out | a map (string, handle_type) updated by the function |
verbose | If true, output some warning information |
cb | User-provided callback when a new class is discovered |
◆ ObjectLoader
◆ debug_suffix
std::string mc_rtc::Loader::debug_suffix |
|
static |
Suffix appended to libraries paths when running in debug mode
◆ default_cb
The documentation for this class was generated from the following file: