OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
This is the elevation database registry. More...
#include <ossimElevationDatabaseRegistry.h>
Public Member Functions | |
ossimElevationDatabaseRegistry () | |
void | getTypeNameList (std::vector< ossimString > &typeList) const |
ossimElevationDatabase * | createDatabase (const ossimString &typeName) const |
ossimElevationDatabase * | createDatabase (const ossimKeywordlist &kwl, const char *prefix=0) const |
ossimElevationDatabase * | open (const ossimString &connectionString) |
![]() | |
ossimFactoryListInterface () | |
void | addFactory (ossimElevationDatabaseFactoryBase *factory) |
This is for backward compatability and calls registerFactory for simple adds. More... | |
bool | isFactoryRegistered (ossimElevationDatabaseFactoryBase *factory) const |
Public access method to determine if a factory is already registered to this list. More... | |
void | registerFactory (ossimElevationDatabaseFactoryBase *factory, bool pushToFrontFlag=false) |
Will register a factory to the factory list. More... | |
void | unregisterFactory (ossimElevationDatabaseFactoryBase *factory) |
Will remove the factory from the registry. More... | |
void | unregisterFactory (const ossimString &factoryTypeName) |
Will remove the factory from the registry by name. More... | |
void | unregisterAllFactories () |
Will remove all factories from the registry. More... | |
void | registerFactoryToFront (ossimElevationDatabaseFactoryBase *factory) |
Inserts the factory to the front of the list. More... | |
void | registerFactoryBefore (ossimElevationDatabaseFactoryBase *factory, ossimElevationDatabaseFactoryBase *beforeThisFactory) |
Will insert the factory before the beforeThisFactory. More... | |
void | getAllTypeNamesFromRegistry (std::vector< ossimString > &typeList) const |
Will add all object types the factories can allocate. More... | |
ossimObject * | createObjectFromRegistry (const ossimString &typeName) const |
This is the base object return for all objects in the system. More... | |
ossimObject * | createObjectFromRegistry (const ossimKeywordlist &kwl, const char *prefix=0) const |
This is the base object return for all objects in the system. More... | |
ossimElevationDatabase * | createNativeObjectFromRegistry (const ossimString &typeName) const |
This is a helper method that calls the createObject and makes sure that the returned object is of the NativeType base type this registry supports. More... | |
ossimElevationDatabase * | createNativeObjectFromRegistry (const ossimKeywordlist &kwl, const char *prefix=0) const |
This is a helper method that calls the createObject and makes sure that the returned object is of the NativeType base type this registry supports. More... | |
Static Public Member Functions | |
static ossimElevationDatabaseRegistry * | instance () |
Static Protected Attributes | |
static ossimElevationDatabaseRegistry * | m_instance = 0 |
Additional Inherited Members | |
![]() | |
typedef std::vector< ossimElevationDatabaseFactoryBase *> | FactoryListType |
typedef ossimElevationDatabaseFactoryBase | FactoryType |
typedef ossimElevationDatabase | NativeReturnType |
![]() | |
bool | findFactory (ossimElevationDatabaseFactoryBase *factory) const |
Utility to find a factory in the list. More... | |
![]() | |
std::mutex | m_factoryListMutex |
FactoryListType | m_factoryList |
This is the elevation database registry.
Definition at line 14 of file ossimElevationDatabaseRegistry.h.
|
inline |
Definition at line 18 of file ossimElevationDatabaseRegistry.h.
Referenced by instance().
ossimElevationDatabase * ossimElevationDatabaseRegistry::createDatabase | ( | const ossimString & | typeName | ) | const |
typeName | is the type name of the database you wish to create |
Definition at line 18 of file ossimElevationDatabaseRegistry.cpp.
References ossimFactoryListInterface< ossimElevationDatabaseFactoryBase, ossimElevationDatabase >::m_factoryList.
ossimElevationDatabase * ossimElevationDatabaseRegistry::createDatabase | ( | const ossimKeywordlist & | kwl, |
const char * | prefix = 0 |
||
) | const |
kwl | kewyord list that has state information about how to create a database |
prefix | prefix key to use when loading the state information. |
Definition at line 30 of file ossimElevationDatabaseRegistry.cpp.
References ossimFactoryListInterface< ossimElevationDatabaseFactoryBase, ossimElevationDatabase >::m_factoryList.
|
inline |
Definition at line 23 of file ossimElevationDatabaseRegistry.h.
References ossimFactoryListInterface< T, NativeType >::getAllTypeNamesFromRegistry().
|
static |
Definition at line 6 of file ossimElevationDatabaseRegistry.cpp.
References ossimElevationDatabaseFactory::instance(), m_instance, ossimElevationDatabaseRegistry(), and ossimFactoryListInterface< T, NativeType >::registerFactory().
Referenced by ossimElevManager::getCellsForBounds(), and ossimElevManager::loadElevationPath().
ossimElevationDatabase * ossimElevationDatabaseRegistry::open | ( | const ossimString & | connectionString | ) |
connectionString | used to determine which database can support that connection. |
Definition at line 43 of file ossimElevationDatabaseRegistry.cpp.
References ossimFactoryListInterface< ossimElevationDatabaseFactoryBase, ossimElevationDatabase >::m_factoryList.
Referenced by ossimElevManager::getCellsForBounds(), and ossimElevManager::loadElevationPath().
|
staticprotected |
Definition at line 51 of file ossimElevationDatabaseRegistry.h.
Referenced by instance().