24#ifndef _SODYNAMICLIBMANAGER_
25#define _SODYNAMICLIBMANAGER_
27#include <Inventor/SbBase.h>
28#include <Inventor/SbString.h>
112 static bool isLoaded(
const SbString&);
119 static void* libLookUpFunction(
const SbHandle libHandle,
const SbString& funcName);
123 struct SafeLibraryHandle
131 SafeLibraryHandle(
const SbString &libName);
132 ~SafeLibraryHandle();
134 SbHandle getHandle()
const;
138 static SbHandle getLibraryHandle(
const SbString& libName);
144 static void* m_libMap;
Class for smart character strings.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Class for managi...
static SbBool unloadLibrary(const SbString &libName)
Unloads a dynamic library previously loaded by the above method.
static SbString getLibraryFromSymbol(void *symbol)
Returns the full path of the library that contains the given symbol.
static SbString getLibrarySuffix()
Returns the dynamic library suffix used on the current operating system.
static void unloadAllLibraries()
Unloads all dynamic libraries previously loaded by the class.
static SbBool loadLibrary(const SbString &libName, const bool reportError=true)
Loads a dynamic library using the specified libName.
static void * lookUpFunction(const SbString &libName, const SbString &funcName, const bool reportError=true)
Inquires if the specified function is available in the specified library.
static SbBool isLibraryLoaded(const SbString &libName)
Inquires if the given library is already loaded by this class.
static int getLoadedLibraryList(SbString *&libList)
Allocates an array and fills it with the names of the libraries loaded by this class.