Helper to access dynamic shared objects (DSO)
More...
#include <dso.h>
List of all members.
Public Member Functions |
COBASE_API | DSO () |
| Construct a new dynamic shared object.
|
COBASE_API | ~DSO () |
| Destruct this DSO handle.
|
COBASE_API bool | open (const std::string &fileName) |
| Open a dynamic shared object.
|
COBASE_API void | close () |
| Close the DSO, invalidates retrieved function pointers.
|
COBASE_API void * | getFunctionPointer (const std::string &functionName) |
COBASE_API bool | isOpen () const |
Detailed Description
Helper to access dynamic shared objects (DSO)
Definition at line 34 of file dso.h.
Constructor & Destructor Documentation
Construct a new dynamic shared object.
- Version:
- 1.0
Destruct this DSO handle.
- Version:
- 1.0
Member Function Documentation
Close the DSO, invalidates retrieved function pointers.
- Version:
- 1.0
- Returns:
- a function pointer in the DSO, or 0 if the function is not exported by the DSO.
- Version:
- 1.0
- Returns:
- true if the DSO is loaded.
- Version:
- 1.0
Open a dynamic shared object.
- Parameters:
-
fileName | The file name of the DSO. |
- Returns:
- true if the DSO was opened, false upon error.
- Version:
- 1.0
The documentation for this class was generated from the following file: