eq::base::DSO Class Reference

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

#include <dso.h>

Inheritance diagram for eq::base::DSO:
Inheritance graph
[legend]
Collaboration diagram for eq::base::DSO:
Collaboration graph
[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, 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.

Version:
1.0

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.
Version:
1.0

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::close (  ) 

Close the DSO, invalidates retrieved function pointers.

Version:
1.0

Definition at line 72 of file dso.cpp.

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

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.
Version:
1.0

Definition at line 88 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 Sat Feb 6 13:07:55 2010 for Equalizer 0.9.1 by  doxygen 1.6.1