7 #ifndef DYNAMIC_LOADING_H
8 #define DYNAMIC_LOADING_H
10 #include <argos3/core/utility/configuration/argos_exception.h>
11 #include <argos3/core/utility/logging/argos_log.h>
86 typedef std::map<std::string, TDLHandle> TDLHandleMap;
91 static TDLHandleMap m_tOpenLibs;
96 static const std::string DEFAULT_PLUGIN_PATH;
The namespace containing all the ARGoS related code.
Allows users to dynamically load shared libraries.
void * TDLHandle
The handle to a loaded library.
static void UnloadAllLibraries()
Unloads all the dynamic libraries.
static TDLHandle LoadLibrary(const std::string &str_lib)
Loads a dynamic library.
static void LoadAllLibraries()
Loads all the dynamic libraries in the current ARGOS_PLUGIN_PATH.
static void UnloadLibrary(const std::string &str_lib)
Unloads a dynamic library.