Resource holding data about a dynamic library.
More...
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/core/module/DynLib.h>
Resource holding data about a dynamic library.
- Author
- Adrian Cearnău (cearn.nosp@m.y@ce.nosp@m.arny..nosp@m.ro)
- Since
- 27 January 2002
orxonox::DynLib::DynLib |
( |
const std::string & |
name | ) |
|
Default constructor - used by DynLibManager.
- Warning
- Do not call directly
orxonox::DynLib::~DynLib |
( |
| ) |
|
std::string orxonox::DynLib::dynlibError |
( |
void |
| ) |
|
|
protected |
Gets the last loading error.
const std::string& orxonox::DynLib::getName |
( |
void |
| ) |
const |
|
inline |
Get the name of the library.
void * orxonox::DynLib::getSymbol |
( |
const std::string & |
strName | ) |
const |
throw | ( | |
| ) | | |
Returns the address of the given symbol from the loaded library.
- Parameters
-
strName | The name of the symbol to search for |
- Returns
- If the function succeeds, the returned value is a handle to the symbol.
- If the function fails, the returned value is nullptr.
void orxonox::DynLib::load |
( |
| ) |
|
void orxonox::DynLib::unload |
( |
| ) |
|
Handle to the loaded library.
std::string orxonox::DynLib::mName |
|
protected |
The documentation for this class was generated from the following files: