OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossim2dTo2dTransformRegistry.h>
Public Member Functions | |
virtual | ~ossim2dTo2dTransformRegistry () |
virtual ossimObject * | createObject (const ossimString &typeName) const |
virtual ossimObject * | createObject (const ossimKeywordlist &kwl, const char *prefix=0) const |
virtual ossim2dTo2dTransform * | createTransform (const ossimString &typeName) const |
virtual ossim2dTo2dTransform * | createTransform (const ossimKeywordlist &kwl, const char *prefix=0) const |
virtual void | getTypeNameList (std::vector< ossimString > &typeList) const |
![]() | |
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 (ossim2dTo2dTransformFactoryBase *factory) |
This is for backward compatability and calls registerFactory for simple adds. More... | |
bool | isFactoryRegistered (ossim2dTo2dTransformFactoryBase *factory) const |
Public access method to determine if a factory is already registered to this list. More... | |
void | registerFactory (ossim2dTo2dTransformFactoryBase *factory, bool pushToFrontFlag=false) |
Will register a factory to the factory list. More... | |
void | unregisterFactory (ossim2dTo2dTransformFactoryBase *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 (ossim2dTo2dTransformFactoryBase *factory) |
Inserts the factory to the front of the list. More... | |
void | registerFactoryBefore (ossim2dTo2dTransformFactoryBase *factory, ossim2dTo2dTransformFactoryBase *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... | |
ossim2dTo2dTransform * | 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... | |
ossim2dTo2dTransform * | 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 ossim2dTo2dTransformRegistry * | instance () |
Protected Member Functions | |
ossim2dTo2dTransformRegistry () | |
ossim2dTo2dTransformRegistry (const ossim2dTo2dTransformRegistry &rhs) | |
void | operator= (const ossim2dTo2dTransformRegistry &) |
![]() | |
virtual | ~ossimReferenced () |
![]() | |
bool | findFactory (ossim2dTo2dTransformFactoryBase *factory) const |
Utility to find a factory in the list. More... | |
Static Protected Attributes | |
static ossim2dTo2dTransformRegistry * | m_instance = 0 |
Additional Inherited Members | |
![]() | |
typedef std::vector< ossim2dTo2dTransformFactoryBase *> | FactoryListType |
typedef ossim2dTo2dTransformFactoryBase | FactoryType |
typedef ossim2dTo2dTransform | NativeReturnType |
![]() | |
std::mutex | m_factoryListMutex |
FactoryListType | m_factoryList |
Definition at line 20 of file ossim2dTo2dTransformRegistry.h.
|
inlinevirtual |
Definition at line 25 of file ossim2dTo2dTransformRegistry.h.
|
inlineprotected |
Definition at line 72 of file ossim2dTo2dTransformRegistry.h.
Referenced by instance().
|
inlineprotected |
Definition at line 76 of file ossim2dTo2dTransformRegistry.h.
|
inlinevirtual |
Creates an object given a type name.
Implements ossimObjectFactory.
Definition at line 31 of file ossim2dTo2dTransformRegistry.h.
References ossimFactoryListInterface< T, NativeType >::createObjectFromRegistry().
|
inlinevirtual |
Creates and object given a keyword list.
Implements ossimObjectFactory.
Definition at line 39 of file ossim2dTo2dTransformRegistry.h.
References ossimFactoryListInterface< T, NativeType >::createObjectFromRegistry().
|
inlinevirtual |
Creates an object given a type name.
Definition at line 47 of file ossim2dTo2dTransformRegistry.h.
References ossimFactoryListInterface< T, NativeType >::createNativeObjectFromRegistry().
|
inlinevirtual |
Creates and object given a keyword list.
Definition at line 55 of file ossim2dTo2dTransformRegistry.h.
References ossimFactoryListInterface< T, NativeType >::createNativeObjectFromRegistry().
|
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.
Implements ossimObjectFactory.
Definition at line 66 of file ossim2dTo2dTransformRegistry.h.
References ossimFactoryListInterface< T, NativeType >::getAllTypeNamesFromRegistry().
|
static |
Definition at line 16 of file ossim2dTo2dTransformRegistry.cpp.
References ossim2dTo2dTransformFactory::instance(), ossimObjectFactoryRegistry::instance(), m_instance, ossim2dTo2dTransformRegistry(), and ossimFactoryListInterface< T, NativeType >::registerFactory().
Referenced by ossimInit::initializeDefaultFactories(), and ossimImageGeometry::loadState().
|
inlineprotected |
Definition at line 79 of file ossim2dTo2dTransformRegistry.h.
|
staticprotected |
Definition at line 80 of file ossim2dTo2dTransformRegistry.h.
Referenced by instance().