|
HAL
|
#include <runtime_library.h>

Public Member Functions | |
| RuntimeLibrary () | |
| ~RuntimeLibrary () | |
| bool | load_library (const std::string &file_name) |
| std::string | get_file_name () const |
| bool | unload_library () |
| lib_fn_ptr_t | get_function (const std::string &function_name) |
Definition at line 48 of file runtime_library.h.
| hal::RuntimeLibrary::RuntimeLibrary | ( | ) |
Definition at line 7 of file runtime_library.cpp.
| hal::RuntimeLibrary::~RuntimeLibrary | ( | ) |
Definition at line 12 of file runtime_library.cpp.
References unload_library().
| std::string hal::RuntimeLibrary::get_file_name | ( | ) | const |
Gets the file name of the loaded library.
Definition at line 21 of file runtime_library.cpp.
| lib_fn_ptr_t hal::RuntimeLibrary::get_function | ( | const std::string & | function_name | ) |
Gets the function pointer to a function by name.
| [in] | function_name | - Name of the function. |
Definition at line 78 of file runtime_library.cpp.
| bool hal::RuntimeLibrary::load_library | ( | const std::string & | file_name | ) |
Loads a library.
| [in] | file_name | - Name of the library. |
Definition at line 26 of file runtime_library.cpp.
| bool hal::RuntimeLibrary::unload_library | ( | ) |
Unloads the library.
Definition at line 51 of file runtime_library.cpp.
References log_debug, and log_error.
Referenced by ~RuntimeLibrary().