OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
This is the state registry for all image handler states that will be supported. More...
#include <ImageHandlerStateRegistry.h>
Public Member Functions | |
ImageHandlerStateRegistry () | |
std::shared_ptr< ossim::ImageHandlerState > | createState (const ossimKeywordlist &kwl, const ossimString &prefix="") const |
std::shared_ptr< ossim::ImageHandlerState > | createState (const ossimString &typeName) const |
![]() | |
FactoryListBase () | |
void | addFactory (std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > factory) |
This is for backward compatability and calls registerFactory for simple adds. More... | |
bool | isFactoryRegistered (std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > factory) const |
Public access method to determine if a factory is already registered to this list. More... | |
void | registerFactory (std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > factory, bool pushToFrontFlag=false) |
Will register a factory to the factory list. More... | |
void | unregisterFactory (std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > factory) |
Will remove the factory from the registry. More... | |
void | unregisterAllFactories () |
Will remove all factories from the registry. More... | |
void | registerFactoryToFront (std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > factory) |
Inserts the factory to the front of the list. More... | |
void | registerFactoryBefore (std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > factory, std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > beforeThisFactory) |
Will insert the factory before the beforeThisFactory. More... | |
Static Public Member Functions | |
static std::shared_ptr< ImageHandlerStateRegistry > | instance () |
Additional Inherited Members | |
![]() | |
typedef std::vector< std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > > | FactoryListType |
typedef std::vector< ossimString > | TypeNameList |
![]() | |
bool | findFactory (std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > factory) const |
Utility to find a factory in the list. More... | |
![]() | |
ossim::RWLock | m_rwlock |
FactoryListType | m_factoryList |
This is the state registry for all image handler states that will be supported.
Definition at line 20 of file ImageHandlerStateRegistry.h.
ossim::ImageHandlerStateRegistry::ImageHandlerStateRegistry | ( | ) |
Definition at line 5 of file ImageHandlerStateRegistry.cpp.
std::shared_ptr< ossim::ImageHandlerState > ossim::ImageHandlerStateRegistry::createState | ( | const ossimKeywordlist & | kwl, |
const ossimString & | prefix = "" |
||
) | const |
Definition at line 17 of file ImageHandlerStateRegistry.cpp.
std::shared_ptr< ossim::ImageHandlerState > ossim::ImageHandlerStateRegistry::createState | ( | const ossimString & | typeName | ) | const |
Definition at line 31 of file ImageHandlerStateRegistry.cpp.
|
static |
Definition at line 9 of file ImageHandlerStateRegistry.cpp.
Referenced by ossimInit::initializeDefaultFactories(), ossimInfo::openImageFromState(), and ossimInfo::openImageHandler().