OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimWebRequestFactoryRegistry.h
Go to the documentation of this file.
1 #ifndef ossimWebFactoryRegistry_HEADER
2 #define ossimWebFactoryRegistry_HEADER
6 
7 
14 public ossimFactoryListInterface<ossimWebRequestFactoryBase, ossimWebRequest>
15 
16 {
17 public:
19 
20  virtual ossimWebRequest* create(const ossimUrl& url);
21  virtual ossimHttpRequest* createHttp(const ossimUrl& url);
22 
26  virtual ossimObject* createObject(const ossimString& typeName)const
27  {
28  return createObjectFromRegistry(typeName);
29  }
30 
34  virtual ossimObject* createObject(const ossimKeywordlist& kwl,
35  const char* prefix=0)const;
41  virtual void getTypeNameList(std::vector<ossimString>& typeList)const
42  {
44  }
45 protected:
48 };
49 #endif
virtual void getTypeNameList(std::vector< ossimString > &typeList) const
Represents serializable keyword/value map.
static ossimBaseObjectFactory * instance()
The is a factory list interface that allows registries to be accessed in a common way...
virtual ossimObject * createObject(const ossimString &typeName) const
static ossimWebRequestFactoryRegistry * m_instance
We will for now hard code to be ossimHttpRequest but later we will refactor and add a base ossimWebRe...
ossimObject * createObject(const ossimString &objectType)
Definition: kwl.cpp:64
This will later be changed fro ossimHttpRequest to ossimWebRequest so we have a base class for genera...
#define OSSIM_DLL
void getAllTypeNamesFromRegistry(std::vector< ossimString > &typeList) const
Will add all object types the factories can allocate.
ossimObject * createObjectFromRegistry(const ossimString &typeName) const
This is the base object return for all objects in the system.
virtual ossimWebRequest * create(const ossimUrl &)