Loading libraries during run-time. More...
#include <dl_wrapper.h>
Public Member Functions | |
| void | clear () |
| DlWrapper () | |
| int | openLibraries (const std::string &directory, const std::string &pattern="") |
| bool | openLibrary (const std::string &filename) |
| virtual | ~DlWrapper () |
Protected Attributes | |
| std::vector< std::string > | _filenames |
Private Member Functions | |
| DlWrapper (const DlWrapper &) | |
| DlWrapper & | operator= (const DlWrapper &) |
Loading libraries during run-time.
Definition at line 32 of file dl_wrapper.h.
Definition at line 45 of file dl_wrapper.cpp.
| g2o::DlWrapper::~DlWrapper | ( | ) | [virtual] |
Definition at line 49 of file dl_wrapper.cpp.
| g2o::DlWrapper::DlWrapper | ( | const DlWrapper & | ) | [private] |
it's not allowed to draw a copy of the wrapper
| void g2o::DlWrapper::clear | ( | void | ) |
free all loaded libs, i.e., call dlclose()
Definition at line 89 of file dl_wrapper.cpp.
| int g2o::DlWrapper::openLibraries | ( | const std::string & | directory, |
| const std::string & | pattern = "" |
||
| ) |
open all libs from a directory matching a specific pattern.
Definition at line 54 of file dl_wrapper.cpp.
| bool g2o::DlWrapper::openLibrary | ( | const std::string & | filename | ) |
open a specific library
Definition at line 104 of file dl_wrapper.cpp.
std::vector<std::string> g2o::DlWrapper::_filenames [protected] |
Definition at line 60 of file dl_wrapper.h.