Equalizer 1.0

co::base::DSO Class Reference

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

#include <dso.h>

Inheritance diagram for co::base::DSO:
Collaboration diagram for co::base::DSO:

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

COBASE_API co::base::DSO::DSO ( )

Construct a new dynamic shared object.

Version:
1.0
COBASE_API co::base::DSO::~DSO ( )

Destruct this DSO handle.

Version:
1.0

Member Function Documentation

COBASE_API void co::base::DSO::close ( )

Close the DSO, invalidates retrieved function pointers.

Version:
1.0
COBASE_API void* co::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
COBASE_API bool co::base::DSO::isOpen ( ) const
Returns:
true if the DSO is loaded.
Version:
1.0
COBASE_API bool co::base::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:
Generated on Sun May 8 2011 19:11:08 for Equalizer 1.0 by  doxygen 1.7.3