Dynamic library loader.
More...
#include <SOLoader.hh>
|
| SOLoader (const std::string &Path, const std::string &LibName, int Type=SOLOADER_MANDITORY) |
| Constructor. More...
|
|
| ~SOLoader () |
| Destructor. More...
|
|
function_type | GetFunction (const std::string &Function) |
| Retrieve a function from the dynamically loaded library. More...
|
|
symbol_type | GetSymbol (const std::string &Symbol) |
| Retrieve a symbol from the dynamically loaded library. More...
|
|
| SOLoader (const std::string &Path, const std::string &LibName, int Type=SOLOADER_MANDITORY) |
| Constructor. More...
|
|
| ~SOLoader () |
| Destructor. More...
|
|
function_type | GetFunction (const std::string &Function) |
| Retrieve a function from the dynamically loaded library. More...
|
|
symbol_type | GetSymbol (const std::string &Symbol) |
| Retrieve a symbol from the dynamically loaded library. More...
|
|
| SOLoader (const std::string &Path, const std::string &LibName, int Type=SOLOADER_MANDITORY) |
| Constructor. More...
|
|
| ~SOLoader () |
| Destructor. More...
|
|
function_type | GetFunction (const std::string &Function) |
| Retrieve a function from the dynamically loaded library. More...
|
|
symbol_type | GetSymbol (const std::string &Symbol) |
| Retrieve a symbol from the dynamically loaded library. More...
|
|
Dynamic library loader.
This allows for the abstaction of dynamic loading of a library.
◆ SOLoader() [1/3]
LDASTools::AL::SOLoader::SOLoader |
( |
const std::string & |
Path, |
|
|
const std::string & |
LibName, |
|
|
int |
Type = SOLOADER_MANDITORY |
|
) |
| |
Constructor.
- Parameters
-
[in] | Path | Directory containing the dynamic library |
[in] | LibName | Base name of the library (no standard operating system prefix or suffix) |
- Returns
- new instance of this object
◆ ~SOLoader() [1/3]
LDASTools::AL::SOLoader::~SOLoader |
( |
| ) |
|
Destructor.
Destroy resources associated with the object
◆ SOLoader() [2/3]
LDASTools::AL::SOLoader::SOLoader |
( |
const std::string & |
Path, |
|
|
const std::string & |
LibName, |
|
|
int |
Type = SOLOADER_MANDITORY |
|
) |
| |
Constructor.
- Parameters
-
[in] | Path | Directory containing the dynamic library |
[in] | LibName | Base name of the library (no standard operating system prefix or suffix) |
- Returns
- new instance of this object
◆ ~SOLoader() [2/3]
LDASTools::AL::SOLoader::~SOLoader |
( |
| ) |
|
Destructor.
Destroy resources associated with the object
◆ SOLoader() [3/3]
LDASTools::AL::SOLoader::SOLoader |
( |
const std::string & |
Path, |
|
|
const std::string & |
LibName, |
|
|
int |
Type = SOLOADER_MANDITORY |
|
) |
| |
Constructor.
- Parameters
-
[in] | Path | Directory containing the dynamic library |
[in] | LibName | Base name of the library (no standard operating system prefix or suffix) |
- Returns
- new instance of this object
◆ ~SOLoader() [3/3]
LDASTools::AL::SOLoader::~SOLoader |
( |
| ) |
|
Destructor.
Destroy resources associated with the object
◆ GetFunction() [1/3]
SOLoader::function_type LDASTools::AL::SOLoader::GetFunction |
( |
const std::string & |
Function | ) |
|
Retrieve a function from the dynamically loaded library.
- Parameters
-
[in] | Function | The name of the function as it appears in the dynamic library. |
- Returns
- Address of the function
◆ GetFunction() [2/3]
function_type LDASTools::AL::SOLoader::GetFunction |
( |
const std::string & |
Function | ) |
|
Retrieve a function from the dynamically loaded library.
- Parameters
-
[in] | Function | The name of the function as it appears in the dynamic library. |
- Returns
- Address of the function
◆ GetFunction() [3/3]
function_type LDASTools::AL::SOLoader::GetFunction |
( |
const std::string & |
Function | ) |
|
Retrieve a function from the dynamically loaded library.
- Parameters
-
[in] | Function | The name of the function as it appears in the dynamic library. |
- Returns
- Address of the function
◆ GetSymbol() [1/3]
symbol_type LDASTools::AL::SOLoader::GetSymbol |
( |
const std::string & |
Symbol | ) |
|
Retrieve a symbol from the dynamically loaded library.
- Parameters
-
[in] | Symbol | The name of the symbol as it appears in the dynamic library. |
- Returns
- Address of the symbol
◆ GetSymbol() [2/3]
SOLoader::symbol_type LDASTools::AL::SOLoader::GetSymbol |
( |
const std::string & |
Symbol | ) |
|
Retrieve a symbol from the dynamically loaded library.
- Parameters
-
[in] | Symbol | The name of the symbol as it appears in the dynamic library. |
- Returns
- Address of the symbol
◆ GetSymbol() [3/3]
symbol_type LDASTools::AL::SOLoader::GetSymbol |
( |
const std::string & |
Symbol | ) |
|
Retrieve a symbol from the dynamically loaded library.
- Parameters
-
[in] | Symbol | The name of the symbol as it appears in the dynamic library. |
- Returns
- Address of the symbol
The documentation for this class was generated from the following files:
- /build/ldas-tools-al-2.6.4/debian/tmp/usr/include/ldastoolsal/SOLoader.hh
- /build/ldas-tools-al-2.6.4/src/SOLoader.cc