OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimDynamicLibrary.h>
Public Member Functions | |
ossimDynamicLibrary () | |
ossimDynamicLibrary (const ossimString &name) | |
virtual | ~ossimDynamicLibrary () |
bool | isLoaded () const |
bool | load (const ossimString &name) |
bool | load () |
void | unload () |
void * | getSymbol (const ossimString &name) const |
const ossimString & | getName () const |
![]() | |
ossimReferenced () | |
ossimReferenced (const ossimReferenced &) | |
ossimReferenced & | operator= (const ossimReferenced &) |
void | ref () const |
increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
void | unref () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
void | unref_nodelete () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
int | referenceCount () const |
Protected Attributes | |
void * | theLibrary |
ossimString | theLibraryName |
Additional Inherited Members | |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 27 of file ossimDynamicLibrary.h.
ossimDynamicLibrary::ossimDynamicLibrary | ( | ) |
Definition at line 19 of file ossimDynamicLibrary.cpp.
ossimDynamicLibrary::ossimDynamicLibrary | ( | const ossimString & | name | ) |
Definition at line 24 of file ossimDynamicLibrary.cpp.
References load().
|
virtual |
|
inline |
Definition at line 48 of file ossimDynamicLibrary.h.
Referenced by ossimSharedPluginRegistry::isLoaded(), and ossimSharedPluginRegistry::printAllPluginInformation().
void * ossimDynamicLibrary::getSymbol | ( | const ossimString & | name | ) | const |
Definition at line 93 of file ossimDynamicLibrary.cpp.
References ossimString::c_str(), isLoaded(), and theLibrary.
Referenced by ossimPluginLibrary::finalize(), ossimPluginLibrary::initialize(), and ossimSharedPluginRegistry::registerPlugin().
|
inline |
Definition at line 34 of file ossimDynamicLibrary.h.
Referenced by ossimPluginLibrary::getDescription(), getSymbol(), ossimPluginLibrary::initialize(), load(), and unload().
bool ossimDynamicLibrary::load | ( | const ossimString & | name | ) |
Definition at line 39 of file ossimDynamicLibrary.cpp.
References ossimString::c_str(), ossimString::empty(), ossimFilename::isFile(), isLoaded(), ossimNotify(), ossimNotifyLevel_WARN, theLibrary, theLibraryName, and ossimString::trim().
Referenced by ossimSharedPluginRegistry::registerPlugin().
bool ossimDynamicLibrary::load | ( | ) |
Definition at line 34 of file ossimDynamicLibrary.cpp.
References theLibraryName.
Referenced by ossimPluginLibrary::initialize(), and ossimDynamicLibrary().
void ossimDynamicLibrary::unload | ( | ) |
Definition at line 79 of file ossimDynamicLibrary.cpp.
References isLoaded(), and theLibrary.
Referenced by ossimPluginLibrary::finalize(), and ~ossimDynamicLibrary().
|
protected |
Definition at line 58 of file ossimDynamicLibrary.h.
Referenced by getSymbol(), load(), and unload().
|
protected |
Definition at line 60 of file ossimDynamicLibrary.h.
Referenced by load().