OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimDatumFactoryRegistry.h>
Public Member Functions | |
~ossimDatumFactoryRegistry () | |
destructor More... | |
void | registerFactory (ossimDatumFactoryInterface *factory) |
Method to add factory to registry. More... | |
virtual const ossimDatum * | create (const ossimString &code) const |
create method More... | |
virtual const ossimDatum * | create (const ossimKeywordlist &kwl, const char *prefix=0) const |
virtual void | getList (std::vector< ossimString > &list) const |
getList method to return a combined list of all datums from registered datum factories. More... | |
![]() | |
ossimDatumFactoryInterface () | |
default constructor More... | |
virtual | ~ossimDatumFactoryInterface () |
virtual destructor More... | |
Static Public Member Functions | |
static ossimDatumFactoryRegistry * | instance () |
instance method More... | |
Protected Member Functions | |
ossimDatumFactoryRegistry () | |
hidden from use default constructor More... | |
Protected Attributes | |
std::mutex | theFactoryListMutex |
Single static instance of this class. More... | |
std::vector< ossimDatumFactoryInterface * > | theFactoryList |
Definition at line 24 of file ossimDatumFactoryRegistry.h.
ossimDatumFactoryRegistry::~ossimDatumFactoryRegistry | ( | ) |
|
protected |
hidden from use default constructor
Definition at line 93 of file ossimDatumFactoryRegistry.cpp.
References ossimEpsgDatumFactory::instance(), ossimDatumFactory::instance(), and registerFactory().
|
virtual |
create method
Implements pure virtual ossimDatumFactoryInterface::create.
Implements ossimDatumFactoryInterface.
Definition at line 45 of file ossimDatumFactoryRegistry.cpp.
References theFactoryList.
Referenced by ossimFgdcXmlDoc::createOssimDatum(), ossimEpsgProjectionDatabase::findProjection(), ossimMapProjection::loadState(), operator>>(), ossimStatePlaneProjectionInfo::ossimStatePlaneProjectionInfo(), and ossimInfo::printDatums().
|
virtual |
Implements ossimDatumFactoryInterface.
Definition at line 65 of file ossimDatumFactoryRegistry.cpp.
References theFactoryList.
|
virtual |
getList method to return a combined list of all datums from registered datum factories.
list | The list to add to. |
Implements ossimDatumFactoryInterface.
Definition at line 82 of file ossimDatumFactoryRegistry.cpp.
References theFactoryList.
Referenced by ossimInfo::printDatums().
|
static |
instance method
Definition at line 24 of file ossimDatumFactoryRegistry.cpp.
Referenced by ossimFgdcXmlDoc::createOssimDatum(), ossimEpsgProjectionDatabase::findProjection(), ossimInit::initializeDefaultFactories(), ossimMapProjection::loadState(), operator>>(), ossimStatePlaneProjectionInfo::ossimStatePlaneProjectionInfo(), and ossimInfo::printDatums().
void ossimDatumFactoryRegistry::registerFactory | ( | ossimDatumFactoryInterface * | factory | ) |
Method to add factory to registry.
factory | Factory to register. |
Definition at line 36 of file ossimDatumFactoryRegistry.cpp.
References theFactoryList.
Referenced by ossimDatumFactoryRegistry().
|
protected |
Definition at line 71 of file ossimDatumFactoryRegistry.h.
Referenced by create(), getList(), and registerFactory().
|
mutableprotected |
Single static instance of this class.
Definition at line 70 of file ossimDatumFactoryRegistry.h.