14#ifndef OSGDB_DYNAMICLIBRARY
15#define OSGDB_DYNAMICLIBRARY 1
The core osg library provides the basic scene graph classes such as Nodes, State and Drawables,...
Definition AlphaFunc:19
The osgDB library provides support for reading and writing scene graphs, providing a plugin framework...
Definition Archive:24
Base class for providing reference counted objects.
Definition Referenced:44
const std::string & getName() const
return name of library stripped of path.
Definition DynamicLibrary:41
HANDLE _handle
Definition DynamicLibrary:71
HANDLE getHandle() const
return handle to .dso/.dll dynamic library itself.
Definition DynamicLibrary:47
static HANDLE getLibraryHandle(const std::string &libraryName)
get handle to library file
static DynamicLibrary * loadLibrary(const std::string &libraryName)
returns a pointer to a DynamicLibrary object on successfully opening of library returns NULL on failu...
void * PROC_ADDRESS
Definition DynamicLibrary:33
void * HANDLE
Definition DynamicLibrary:32
DynamicLibrary()
disallow default constructor.
Definition DynamicLibrary:58
PROC_ADDRESS getProcAddress(const std::string &procName)
return address of function located in library.
const std::string & getFullName() const
return name of library including full path to it.
Definition DynamicLibrary:44
DynamicLibrary(const std::string &name, HANDLE handle)
Disallow public construction so that users have to go through loadLibrary() above which returns NULL ...
std::string _name
Definition DynamicLibrary:72
std::string _fullName
Definition DynamicLibrary:73
DynamicLibrary(const DynamicLibrary &)
disallow copy constructor.
Definition DynamicLibrary:60
#define OSGDB_EXPORT
Definition Export:39