|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimSharedPluginRegistry.h>
Public Member Functions | |
| virtual | ~ossimSharedPluginRegistry () |
| bool | registerPlugin (const ossimFilename &filename, const ossimString &options="") |
| bool | unregisterPlugin (int idx) |
| bool | unregisterPlugin (ossimPluginLibrary *plugin) |
| const ossimPluginLibrary * | getPlugin (const ossimFilename &filename) const |
| ossimPluginLibrary * | getPlugin (const ossimFilename &filename) |
| ossim_uint32 | getIndex (const ossimPluginLibrary *lib) const |
| ossimPluginLibrary * | getPlugin (ossim_uint32 idx) |
| const ossimPluginLibrary * | getPlugin (ossim_uint32 idx) const |
| ossim_uint32 | getNumberOfPlugins () const |
| bool | isLoaded (const ossimFilename &filename) const |
| Checks if filename is already loaded to avoid duplication. More... | |
| void | printAllPluginInformation (std::ostream &out) |
Static Public Member Functions | |
| static ossimSharedPluginRegistry * | instance () |
Protected Member Functions | |
| ossimSharedPluginRegistry () | |
| ossimSharedPluginRegistry (const ossimSharedPluginRegistry &) | |
| void | operator= (const ossimSharedPluginRegistry &) |
Protected Attributes | |
| std::vector< ossimRefPtr< ossimPluginLibrary > > | theLibraryList |
Definition at line 10 of file ossimSharedPluginRegistry.h.
|
virtual |
Definition at line 28 of file ossimSharedPluginRegistry.cpp.
References theLibraryList.
|
protected |
Definition at line 24 of file ossimSharedPluginRegistry.cpp.
|
inlineprotected |
Definition at line 41 of file ossimSharedPluginRegistry.h.
| ossim_uint32 ossimSharedPluginRegistry::getIndex | ( | const ossimPluginLibrary * | lib | ) | const |
| ossim_uint32 ossimSharedPluginRegistry::getNumberOfPlugins | ( | ) | const |
Definition at line 180 of file ossimSharedPluginRegistry.cpp.
References theLibraryList.
Referenced by isLoaded(), and printAllPluginInformation().
| const ossimPluginLibrary * ossimSharedPluginRegistry::getPlugin | ( | const ossimFilename & | filename | ) | const |
Definition at line 110 of file ossimSharedPluginRegistry.cpp.
References ossimFilename::file(), and theLibraryList.
Referenced by isLoaded(), printAllPluginInformation(), registerPlugin(), and unregisterPlugin().
| ossimPluginLibrary * ossimSharedPluginRegistry::getPlugin | ( | const ossimFilename & | filename | ) |
Definition at line 125 of file ossimSharedPluginRegistry.cpp.
References ossimFilename::file(), and theLibraryList.
| ossimPluginLibrary * ossimSharedPluginRegistry::getPlugin | ( | ossim_uint32 | idx | ) |
Definition at line 156 of file ossimSharedPluginRegistry.cpp.
References theLibraryList.
| const ossimPluginLibrary * ossimSharedPluginRegistry::getPlugin | ( | ossim_uint32 | idx | ) | const |
Definition at line 168 of file ossimSharedPluginRegistry.cpp.
References theLibraryList.
|
static |
Definition at line 33 of file ossimSharedPluginRegistry.cpp.
Referenced by ossimInit::initializePlugins(), ossimInit::loadPlugins(), ossimInfo::printPlugins(), and ossimInfo::testPlugin().
| bool ossimSharedPluginRegistry::isLoaded | ( | const ossimFilename & | filename | ) | const |
Checks if filename is already loaded to avoid duplication.
| filename | The file to check. |
Definition at line 186 of file ossimSharedPluginRegistry.cpp.
References ossimFilename::file(), ossimDynamicLibrary::getName(), getNumberOfPlugins(), and getPlugin().
|
inlineprotected |
Definition at line 42 of file ossimSharedPluginRegistry.h.
| void ossimSharedPluginRegistry::printAllPluginInformation | ( | std::ostream & | out | ) |
Definition at line 207 of file ossimSharedPluginRegistry.cpp.
References ossimPluginLibrary::getClassNames(), ossimPluginLibrary::getDescription(), ossimDynamicLibrary::getName(), getNumberOfPlugins(), and getPlugin().
Referenced by ossimInfo::printPlugins().
| bool ossimSharedPluginRegistry::registerPlugin | ( | const ossimFilename & | filename, |
| const ossimString & | options = "" |
||
| ) |
Definition at line 40 of file ossimSharedPluginRegistry.cpp.
References getPlugin(), ossimDynamicLibrary::getSymbol(), ossimPluginLibrary::initialize(), ossimDynamicLibrary::load(), ossimPluginLibrary::setOptions(), and theLibraryList.
Referenced by ossimInit::initializePlugins(), and ossimInit::loadPlugins().
| bool ossimSharedPluginRegistry::unregisterPlugin | ( | int | idx | ) |
Definition at line 88 of file ossimSharedPluginRegistry.cpp.
References getPlugin().
| bool ossimSharedPluginRegistry::unregisterPlugin | ( | ossimPluginLibrary * | plugin | ) |
|
protected |
Definition at line 45 of file ossimSharedPluginRegistry.h.
Referenced by getIndex(), getNumberOfPlugins(), getPlugin(), registerPlugin(), unregisterPlugin(), and ~ossimSharedPluginRegistry().
1.8.14