ARGoS
3
A parallel, multi-engine simulator for swarm robotics
|
Allows users to dynamically load shared libraries. More...
#include <dynamic_loading.h>
Public Types | |
typedef void * | TDLHandle |
The handle to a loaded library. | |
Static Public Member Functions | |
static TDLHandle | LoadLibrary (const std::string &str_lib) |
Loads a dynamic library. | |
static void | UnloadLibrary (const std::string &str_lib) |
Unloads a dynamic library. | |
static void | UnloadLibrary (TDLHandle t_lib) |
Unloads a dynamic library. | |
static void | LoadAllLibraries () |
Loads all the dynamic libraries in the current ARGOS_PLUGIN_PATH Internally used to execute queries (argos3 --query ) | |
static void | UnloadAllLibraries () |
Unloads all the dynamic libraries. |
Allows users to dynamically load shared libraries.
Definition at line 24 of file dynamic_loading.h.
typedef void* argos::CDynamicLoading::TDLHandle |
The handle to a loaded library.
Definition at line 31 of file dynamic_loading.h.
void argos::CDynamicLoading::LoadAllLibraries | ( | ) | [static] |
Loads all the dynamic libraries in the current ARGOS_PLUGIN_PATH Internally used to execute queries (argos3 --query
)
Definition at line 127 of file dynamic_loading.cpp.
CDynamicLoading::TDLHandle argos::CDynamicLoading::LoadLibrary | ( | const std::string & | str_lib | ) | [static] |
Loads a dynamic library.
str_lib | The path of the dynamic library to load |
Definition at line 23 of file dynamic_loading.cpp.
void argos::CDynamicLoading::UnloadAllLibraries | ( | ) | [static] |
Unloads all the dynamic libraries.
Definition at line 189 of file dynamic_loading.cpp.
void argos::CDynamicLoading::UnloadLibrary | ( | const std::string & | str_lib | ) | [static] |
Unloads a dynamic library.
str_lib | The path of the dynamic library to unload |
Definition at line 105 of file dynamic_loading.cpp.
void argos::CDynamicLoading::UnloadLibrary | ( | TDLHandle | t_lib | ) | [static] |
Unloads a dynamic library.
t_lib | The handle to the dynamic library to unload |
Definition at line 120 of file dynamic_loading.cpp.