OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <FactoryListBase.h>
Public Types | |
typedef std::vector< T > | FactoryListType |
typedef std::vector< ossimString > | TypeNameList |
Public Member Functions | |
FactoryListBase () | |
void | addFactory (T factory) |
This is for backward compatability and calls registerFactory for simple adds. More... | |
bool | isFactoryRegistered (T factory) const |
Public access method to determine if a factory is already registered to this list. More... | |
void | registerFactory (T factory, bool pushToFrontFlag=false) |
Will register a factory to the factory list. More... | |
void | unregisterFactory (T factory) |
Will remove the factory from the registry. More... | |
void | unregisterAllFactories () |
Will remove all factories from the registry. More... | |
void | registerFactoryToFront (T factory) |
Inserts the factory to the front of the list. More... | |
void | registerFactoryBefore (T factory, T beforeThisFactory) |
Will insert the factory before the beforeThisFactory. More... | |
Protected Member Functions | |
bool | findFactory (T factory) const |
Utility to find a factory in the list. More... | |
Protected Attributes | |
ossim::RWLock | m_rwlock |
FactoryListType | m_factoryList |
Definition at line 20 of file FactoryListBase.h.
typedef std::vector<T> ossim::FactoryListBase< T >::FactoryListType |
Definition at line 23 of file FactoryListBase.h.
typedef std::vector<ossimString> ossim::FactoryListBase< T >::TypeNameList |
Definition at line 24 of file FactoryListBase.h.
|
inline |
Definition at line 26 of file FactoryListBase.h.
|
inline |
This is for backward compatability and calls registerFactory for simple adds.
Definition at line 31 of file FactoryListBase.h.
|
inlineprotected |
Utility to find a factory in the list.
Definition at line 133 of file FactoryListBase.h.
Referenced by ossim::FactoryListBase< std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > >::isFactoryRegistered(), ossim::FactoryListBase< std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > >::registerFactory(), ossim::FactoryListBase< std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > >::registerFactoryBefore(), and ossim::FactoryListBase< std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > >::registerFactoryToFront().
|
inline |
Public access method to determine if a factory is already registered to this list.
Definition at line 40 of file FactoryListBase.h.
|
inline |
Will register a factory to the factory list.
Will append the passed in factory if not already registered to the list.
Definition at line 52 of file FactoryListBase.h.
Referenced by ossim::FactoryListBase< std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > >::addFactory().
|
inline |
Will insert the factory before the beforeThisFactory.
If not found it will do a simple append.
Definition at line 110 of file FactoryListBase.h.
|
inline |
Inserts the factory to the front of the list.
Definition at line 97 of file FactoryListBase.h.
|
inline |
|
inline |
|
protected |
Definition at line 148 of file FactoryListBase.h.
Referenced by ossim::FactoryListBase< std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > >::findFactory(), ossim::FactoryListBase< std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > >::registerFactory(), ossim::FactoryListBase< std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > >::registerFactoryBefore(), ossim::FactoryListBase< std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > >::registerFactoryToFront(), ossim::FactoryListBase< std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > >::unregisterAllFactories(), and ossim::FactoryListBase< std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > >::unregisterFactory().
|
mutableprotected |
Definition at line 147 of file FactoryListBase.h.
Referenced by ossim::FactoryListBase< std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > >::isFactoryRegistered(), ossim::FactoryListBase< std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > >::registerFactory(), ossim::FactoryListBase< std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > >::registerFactoryBefore(), ossim::FactoryListBase< std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > >::registerFactoryToFront(), ossim::FactoryListBase< std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > >::unregisterAllFactories(), and ossim::FactoryListBase< std::shared_ptr< ossim::StateFactoryBase< std::shared_ptr< ossim::ImageHandlerState > > > >::unregisterFactory().