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"
86 rcutils_shared_library_t lib;
105 #endif // RCPPUTILS__SHARED_LIBRARY_HPP_
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.
Definition: shared_library.hpp:31
void unload_library()
Unload library.
bool has_symbol(const std::string &symbol_name)
Return true if the shared library contains a specific symbol name otherwise returns false.
Macros for controlling visibilty of exported iterfaces.
#define RCPPUTILS_PUBLIC
Declares symbols and functions will be visible for export.
Definition: visibility_control.hpp:85
virtual ~SharedLibrary()
The library is unloaded in the deconstructor.
SharedLibrary(const std::string &library_path)
The library is loaded in the constructor.
void * get_symbol(const std::string &symbol_name)
Return shared library symbol pointer.