Lunchbox  1.4.0
Public Member Functions
lunchbox::DSO Class Reference

Helper to access dynamic shared objects (DSO) More...

#include <dso.h>

+ Inheritance diagram for lunchbox::DSO:
+ Collaboration diagram for lunchbox::DSO:

List of all members.

Public Member Functions

 DSO ()
 Construct a new dynamic shared object.
 ~DSO ()
 Destruct this DSO handle.
bool open (const std::string &fileName)
 Open a dynamic shared object.
void close ()
 Close the DSO, invalidates retrieved function pointers.
void * getFunctionPointer (const std::string &functionName)
bool isOpen () const

Detailed Description

Helper to access dynamic shared objects (DSO)

Definition at line 32 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
void* lunchbox::DSO::getFunctionPointer ( const std::string &  functionName)
Returns:
a function pointer in the DSO, or 0 if the function is not exported by the DSO.
Version:
1.0
bool lunchbox::DSO::isOpen ( ) const
Returns:
true if the DSO is loaded.
Version:
1.0
bool lunchbox::DSO::open ( const std::string &  fileName)

Open a dynamic shared object.

Parameters:
fileNameThe 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: