rcpputils
master
C++ API providing common utilities and data structures.
|
Go to the documentation of this file.
15 #ifndef RCPPUTILS__SHARED_LIBRARY_HPP_
16 #define RCPPUTILS__SHARED_LIBRARY_HPP_
21 #include "rcutils/shared_library.h"
100 rcutils_shared_library_t lib;
119 #endif // RCPPUTILS__SHARED_LIBRARY_HPP_
bool has_symbol(const char *symbol_name)
Return true if the shared library contains a specific symbol name otherwise returns false.
std::string get_library_path()
Return shared library path.
Definition: asserts.hpp:37
std::string get_platform_library_name(std::string library_name, bool debug=false)
Get the platform specific library name.
void * get_symbol(const char *symbol_name)
Return shared library symbol pointer.
Definition: shared_library.hpp:31
void unload_library()
Unload library.
Macros for controlling visibilty of exported iterfaces.
#define RCPPUTILS_PUBLIC
Declares symbols and functions will be visible for export.
Definition: visibility_control.hpp:81
virtual ~SharedLibrary()
The library is unloaded in the deconstructor.
SharedLibrary(const std::string &library_path)
The library is loaded in the constructor.