eq::base::DSO Class Reference

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

#include <dso.h>

Inheritance diagram for eq::base::DSO:

[legend]
Collaboration diagram for eq::base::DSO:

[legend]

List of all members.

Public Member Functions

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


Detailed Description

Helper to access dynamic shared objects (DSO).

Definition at line 33 of file dso.h.


Constructor & Destructor Documentation

eq::base::DSO::DSO (  )  [inline]

Construct a new dynamic shared object.

Definition at line 37 of file dso.h.


Member Function Documentation

bool eq::base::DSO::open ( const std::string &  fileName  ) 

Open a dynamic shared object.

Parameters:
fileName The file name of the DSO.
Returns:
true if the DSO was opened, false upon error.

Definition at line 36 of file dso.cpp.

References EQWARN.

Referenced by eq::Compressor::init().

Here is the caller graph for this function:

void * eq::base::DSO::getFunctionPointer ( const std::string &  functionName  ) 

Returns:
a function pointer in the DSO, or 0 if the function is not exported by the DSO.

Definition at line 86 of file dso.cpp.

Referenced by eq::Compressor::init().

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
Generated on Mon Aug 10 18:58:43 2009 for Equalizer 0.9 by  doxygen 1.5.8