OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimAtpPluginInit.cpp
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 #include "ossimAtpToolFactory.h"
11 
12 extern "C"
13 {
15 
16 const char* getAtpDescription()
17 {
18  return "ossim-atp tool plugin\n\n";
19 }
20 
22 {
23  return 1;
24 }
25 
26 const char* getAtpClassName(int idx)
27 {
28  if (idx == 0)
29  {
30  return "ossimAtpTool";
31  }
32  return (const char*)0;
33 }
34 
35 /* Note symbols need to be exported on windoze... */
37 {
41 
42  *info = &atpInfo;
43 
44  /* Register the utility... */
46 
47 }
48 
49 /* Note symbols need to be exported on windoze... */
51 {
53 }
54 }
OSSIM_PLUGINS_DLL void ossimSharedLibraryFinalize()
ossimSharedLibraryGetNumberOfClassNamesPtr getNumberOfClassNames
static ossimAtpToolFactory * instance()
ossimSharedObjectInfo atpInfo
int getAtpNumberOfClassNames()
const char * getAtpDescription()
static ossimToolRegistry * instance()
void unregisterFactory(T *factory)
Will remove the factory from the registry.
OSSIM_PLUGINS_DLL void ossimSharedLibraryInitialize(ossimSharedObjectInfo **info)
ossimSharedLibraryGetDescriptionPtr getDescription
#define OSSIM_PLUGINS_DLL
void registerFactory(T *factory, bool pushToFrontFlag=false)
Will register a factory to the factory list.
ossimSharedLibraryGetClassNamesPtr getClassName
const char * getAtpClassName(int idx)