OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimImageGeometryRegistry.h>
Public Member Functions | |
virtual | ~ossimImageGeometryRegistry () |
virtual ossimImageGeometry * | createGeometry (const ossimString &typeName) const |
virtual ossimImageGeometry * | createGeometry (const ossimKeywordlist &kwl, const char *prefix=0) const |
virtual ossimImageGeometry * | createGeometry (const ossimFilename &filename, ossim_uint32 entryIdx) const |
virtual bool | extendGeometry (ossimImageHandler *handler) const |
virtual void | getTypeNameList (std::vector< ossimString > &typeList) const |
![]() | |
virtual ossimObject * | createObject (const ossimString &typeName) const |
Creates an object given a type name. More... | |
virtual ossimObject * | createObject (const ossimKeywordlist &kwl, const char *prefix=0) const |
Creates and object given a keyword list. More... | |
![]() | |
ossimBaseObjectFactory () | |
virtual | ~ossimBaseObjectFactory () |
![]() | |
virtual | ~ossimObjectFactory () |
![]() | |
ossimObject () | |
virtual | ~ossimObject () |
virtual ossimObject * | dup () const |
virtual ossimString | getShortName () const |
virtual ossimString | getLongName () const |
virtual ossimString | getDescription () const |
virtual ossimString | getClassName () const |
virtual RTTItypeid | getType () const |
virtual bool | canCastTo (ossimObject *obj) const |
virtual bool | canCastTo (const RTTItypeid &id) const |
virtual bool | canCastTo (const ossimString &parentClassName) const |
virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
virtual std::ostream & | print (std::ostream &out) const |
Generic print method. More... | |
virtual bool | isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
virtual void | accept (ossimVisitor &visitor) |
![]() | |
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 |
![]() | |
ossimFactoryListInterface () | |
void | addFactory (ossimImageGeometryFactoryBase *factory) |
This is for backward compatability and calls registerFactory for simple adds. More... | |
bool | isFactoryRegistered (ossimImageGeometryFactoryBase *factory) const |
Public access method to determine if a factory is already registered to this list. More... | |
void | registerFactory (ossimImageGeometryFactoryBase *factory, bool pushToFrontFlag=false) |
Will register a factory to the factory list. More... | |
void | unregisterFactory (ossimImageGeometryFactoryBase *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 (ossimImageGeometryFactoryBase *factory) |
Inserts the factory to the front of the list. More... | |
void | registerFactoryBefore (ossimImageGeometryFactoryBase *factory, ossimImageGeometryFactoryBase *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... | |
ossimImageGeometry * | 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... | |
ossimImageGeometry * | 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 ossimImageGeometryRegistry * | instance () |
![]() | |
static ossimBaseObjectFactory * | instance () |
Protected Member Functions | |
ossimImageGeometryRegistry () | |
ossimImageGeometryRegistry (const ossimImageGeometryRegistry &rhs) | |
void | operator= (const ossimImageGeometryRegistry &) |
![]() | |
virtual | ~ossimReferenced () |
![]() | |
bool | findFactory (ossimImageGeometryFactoryBase *factory) const |
Utility to find a factory in the list. More... | |
Static Protected Attributes | |
static ossimImageGeometryRegistry * | m_instance = 0 |
Additional Inherited Members | |
![]() | |
typedef std::vector< ossimImageGeometryFactoryBase *> | FactoryListType |
typedef ossimImageGeometryFactoryBase | FactoryType |
typedef ossimImageGeometry | NativeReturnType |
![]() | |
std::mutex | m_factoryListMutex |
FactoryListType | m_factoryList |
Definition at line 17 of file ossimImageGeometryRegistry.h.
|
inlinevirtual |
Definition at line 22 of file ossimImageGeometryRegistry.h.
|
inlineprotected |
|
inlineprotected |
Definition at line 66 of file ossimImageGeometryRegistry.h.
|
virtual |
Implements ossimImageGeometryFactoryBase.
Definition at line 40 of file ossimImageGeometryRegistry.cpp.
References ossimFactoryListInterface< ossimImageGeometryFactoryBase, ossimImageGeometry >::createObjectFromRegistry(), ossimRefPtr< T >::get(), and ossimRefPtr< T >::release().
Referenced by ossimKakaduJpipHandler::getImageGeometry().
|
virtual |
Implements ossimImageGeometryFactoryBase.
Definition at line 51 of file ossimImageGeometryRegistry.cpp.
References ossimFactoryListInterface< ossimImageGeometryFactoryBase, ossimImageGeometry >::createObjectFromRegistry(), ossimRefPtr< T >::get(), and ossimRefPtr< T >::release().
|
virtual |
Implements ossimImageGeometryFactoryBase.
Definition at line 63 of file ossimImageGeometryRegistry.cpp.
References ossimFactoryListInterface< ossimImageGeometryFactoryBase, ossimImageGeometry >::m_factoryList.
|
virtual |
Implements ossimImageGeometryFactoryBase.
Definition at line 28 of file ossimImageGeometryRegistry.cpp.
References ossimFactoryListInterface< ossimImageGeometryFactoryBase, ossimImageGeometry >::m_factoryList.
Referenced by ossimERSTileSource::getImageGeometry(), ossimplugins::ossimRadarSat2TiffReader::getImageGeometry(), ossimplugins::ossimTerraSarTiffReader::getImageGeometry(), ossimGeneralRasterTileSource::getImageGeometry(), ossimUsgsDemTileSource::getImageGeometry(), ossimOpjJp2Reader::getImageGeometry(), ossimJpegTileSource::getImageGeometry(), ossimMG4LidarReader::getImageGeometry(), ossimGeoPdfReader::getImageGeometry(), ossimMrSidReader::getImageGeometry(), ossimH5ImageHandler::getImageGeometry(), ossimLasReader::getImageGeometry(), ossimKakaduJp2Reader::getImageGeometry(), ossimGpkgReader::getImageGeometry(), and ossimImageHandler::getImageGeometry().
|
inlinevirtual |
This should return the type name of all objects in all factories. This is the name used to construct the objects dynamially and this name must be unique.
Reimplemented from ossimBaseObjectFactory.
Definition at line 56 of file ossimImageGeometryRegistry.h.
References ossimFactoryListInterface< T, NativeType >::getAllTypeNamesFromRegistry().
|
static |
Definition at line 16 of file ossimImageGeometryRegistry.cpp.
References ossimImageGeometryFactory::instance(), ossimObjectFactoryRegistry::instance(), m_instance, ossimImageGeometryRegistry(), and ossimFactoryListInterface< T, NativeType >::registerFactory().
Referenced by ossimERSTileSource::getImageGeometry(), ossimKakaduJpipHandler::getImageGeometry(), ossimplugins::ossimRadarSat2TiffReader::getImageGeometry(), ossimplugins::ossimTerraSarTiffReader::getImageGeometry(), ossimGdalTileSource::getImageGeometry(), ossimUsgsDemTileSource::getImageGeometry(), ossimGeneralRasterTileSource::getImageGeometry(), ossimOpjJp2Reader::getImageGeometry(), ossimJpegTileSource::getImageGeometry(), ossimMG4LidarReader::getImageGeometry(), ossimGeoPdfReader::getImageGeometry(), ossimMrSidReader::getImageGeometry(), ossimH5ImageHandler::getImageGeometry(), ossimLasReader::getImageGeometry(), ossimKakaduJp2Reader::getImageGeometry(), ossimGpkgReader::getImageGeometry(), ossimImageHandler::getImageGeometry(), ossimInit::initializeDefaultFactories(), ossimSharedLibraryFinalize(), and ossimSharedLibraryInitialize().
|
inlineprotected |
Definition at line 69 of file ossimImageGeometryRegistry.h.
|
staticprotected |
Definition at line 70 of file ossimImageGeometryRegistry.h.
Referenced by instance().