OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
This will later be changed fro ossimHttpRequest to ossimWebRequest so we have a base class for general schema access such as ftp, sftp,smtp, ... More...
#include <ossimWebRequestFactoryRegistry.h>
Public Member Functions | |
virtual ossimWebRequest * | create (const ossimUrl &url) |
virtual ossimHttpRequest * | createHttp (const ossimUrl &url) |
virtual ossimObject * | createObject (const ossimString &typeName) const |
virtual ossimObject * | createObject (const ossimKeywordlist &kwl, const char *prefix=0) const |
virtual void | getTypeNameList (std::vector< ossimString > &typeList) const |
![]() | |
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 (ossimWebRequestFactoryBase *factory) |
This is for backward compatability and calls registerFactory for simple adds. More... | |
bool | isFactoryRegistered (ossimWebRequestFactoryBase *factory) const |
Public access method to determine if a factory is already registered to this list. More... | |
void | registerFactory (ossimWebRequestFactoryBase *factory, bool pushToFrontFlag=false) |
Will register a factory to the factory list. More... | |
void | unregisterFactory (ossimWebRequestFactoryBase *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 (ossimWebRequestFactoryBase *factory) |
Inserts the factory to the front of the list. More... | |
void | registerFactoryBefore (ossimWebRequestFactoryBase *factory, ossimWebRequestFactoryBase *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... | |
ossimWebRequest * | 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... | |
ossimWebRequest * | 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 ossimWebRequestFactoryRegistry * | instance () |
![]() | |
static ossimBaseObjectFactory * | instance () |
Protected Member Functions | |
ossimWebRequestFactoryRegistry () | |
![]() | |
virtual | ~ossimReferenced () |
![]() | |
bool | findFactory (ossimWebRequestFactoryBase *factory) const |
Utility to find a factory in the list. More... | |
Static Protected Attributes | |
static ossimWebRequestFactoryRegistry * | m_instance = 0 |
Additional Inherited Members | |
![]() | |
typedef std::vector< ossimWebRequestFactoryBase *> | FactoryListType |
typedef ossimWebRequestFactoryBase | FactoryType |
typedef ossimWebRequest | NativeReturnType |
![]() | |
std::mutex | m_factoryListMutex |
FactoryListType | m_factoryList |
This will later be changed fro ossimHttpRequest to ossimWebRequest so we have a base class for general schema access such as ftp, sftp,smtp, ...
etc and not just restricted to http and https schema definitions.
Definition at line 13 of file ossimWebRequestFactoryRegistry.h.
|
protected |
Definition at line 6 of file ossimWebRequestFactoryRegistry.cpp.
References m_instance.
Referenced by instance().
|
virtual |
Reimplemented from ossimWebRequestFactoryBase.
Definition at line 28 of file ossimWebRequestFactoryRegistry.cpp.
References ossimFactoryListInterface< ossimWebRequestFactoryBase, ossimWebRequest >::m_factoryList.
Referenced by createHttp().
|
virtual |
Definition at line 40 of file ossimWebRequestFactoryRegistry.cpp.
References create(), ossimRefPtr< T >::get(), ossimRefPtr< T >::release(), and ossimRefPtr< T >::valid().
Referenced by ossimKakaduJpipHandler::allocateSession(), and ossimKakaduJpipHandler::loadClient().
|
inlinevirtual |
Creates an object given a type name.
Reimplemented from ossimBaseObjectFactory.
Definition at line 26 of file ossimWebRequestFactoryRegistry.h.
References ossimFactoryListInterface< T, NativeType >::createObjectFromRegistry().
|
virtual |
Creates and object given a keyword list.
Reimplemented from ossimBaseObjectFactory.
Definition at line 22 of file ossimWebRequestFactoryRegistry.cpp.
References ossimFactoryListInterface< ossimWebRequestFactoryBase, ossimWebRequest >::createObjectFromRegistry().
|
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 41 of file ossimWebRequestFactoryRegistry.h.
References ossimFactoryListInterface< T, NativeType >::getAllTypeNamesFromRegistry().
|
static |
Definition at line 11 of file ossimWebRequestFactoryRegistry.cpp.
References m_instance, and ossimWebRequestFactoryRegistry().
Referenced by ossimKakaduJpipHandler::allocateSession(), ossimKakaduJpipHandler::loadClient(), and ossimSharedLibraryInitialize().
|
staticprotected |
Definition at line 47 of file ossimWebRequestFactoryRegistry.h.
Referenced by instance(), and ossimWebRequestFactoryRegistry().