OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimToolRegistry.h
Go to the documentation of this file.
1 //**************************************************************************************************
2 //
3 // OSSIM Open Source Geospatial Data Processing Library
4 // See top level LICENSE.txt file for license information
5 //
6 //**************************************************************************************************
7 
8 #ifndef ossimUtilityManager_HEADER
9 #define ossimUtilityManager_HEADER
10 
13 #include <map>
14 #include <string>
15 
16 class ossimTool;
17 
23  public ossimFactoryListInterface<ossimToolFactoryBase, ossimTool>
24 {
25 public:
28 
29  static ossimToolRegistry* instance();
30 
35  virtual bool initialize();
36 
42  virtual void getCapabilities(std::map<std::string, std::string>& capabilities) const;
43  virtual std::map<std::string, std::string> getCapabilities() const;
44 
45  virtual ossimTool* createTool(const std::string& typeName) const;
46 
47  virtual ossimString getClassName() const { return "ossimToolRegistry"; }
48 
49  virtual void getTypeNameList(std::vector<ossimString>& typeList) const;
50 
51 private:
53 };
54 
55 #endif
virtual std::map< std::string, std::string > getCapabilities() const =0
#define OSSIMDLLEXPORT
Registry of all utility factories.
virtual void getTypeNameList(std::vector< ossimString > &typeList) const =0
The is a factory list interface that allows registries to be accessed in a common way...
virtual ossimString getClassName() const
virtual ossimTool * createTool(const std::string &typeName) const =0
static ossimToolRegistry * s_instance