Function rcutils_is_shared_library_loaded

Function Documentation

bool rcutils_is_shared_library_loaded(rcutils_shared_library_t *lib)

Check if the library is loaded.

This function only determines if “unload” has been called on the current shared library handle. It could very well be that a second shared library handle is still open and therefore the library being loaded.

Parameters:

lib[in] rcutils_shared_library_t to check

Returns:

true if library is loaded, or

Returns:

false otherwise.