OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Functions | Variables
ossimAtpPluginInit.cpp File Reference
#include "ossimAtpToolFactory.h"
#include <ossim/plugin/ossimSharedObjectBridge.h>
#include <ossim/util/ossimToolRegistry.h>

Go to the source code of this file.

Functions

const char * getAtpDescription ()
 
int getAtpNumberOfClassNames ()
 
const char * getAtpClassName (int idx)
 
OSSIM_PLUGINS_DLL void ossimSharedLibraryInitialize (ossimSharedObjectInfo **info)
 
OSSIM_PLUGINS_DLL void ossimSharedLibraryFinalize ()
 

Variables

ossimSharedObjectInfo atpInfo
 

Function Documentation

◆ getAtpClassName()

const char* getAtpClassName ( int  idx)

Definition at line 26 of file ossimAtpPluginInit.cpp.

Referenced by ossimSharedLibraryInitialize().

27 {
28  if (idx == 0)
29  {
30  return "ossimAtpTool";
31  }
32  return (const char*)0;
33 }

◆ getAtpDescription()

const char* getAtpDescription ( )

Definition at line 16 of file ossimAtpPluginInit.cpp.

Referenced by ossimSharedLibraryInitialize().

17 {
18  return "ossim-atp tool plugin\n\n";
19 }

◆ getAtpNumberOfClassNames()

int getAtpNumberOfClassNames ( )

Definition at line 21 of file ossimAtpPluginInit.cpp.

Referenced by ossimSharedLibraryInitialize().

22 {
23  return 1;
24 }

◆ ossimSharedLibraryFinalize()

OSSIM_PLUGINS_DLL void ossimSharedLibraryFinalize ( )

◆ ossimSharedLibraryInitialize()

OSSIM_PLUGINS_DLL void ossimSharedLibraryInitialize ( ossimSharedObjectInfo **  info)

Definition at line 36 of file ossimAtpPluginInit.cpp.

References atpInfo, getAtpClassName(), getAtpDescription(), getAtpNumberOfClassNames(), ossimSharedObjectInfo::getClassName, ossimSharedObjectInfo::getDescription, ossimSharedObjectInfo::getNumberOfClassNames, ATP::ossimAtpToolFactory::instance(), ossimToolRegistry::instance(), and ossimFactoryListInterface< T, NativeType >::registerFactory().

37 {
41 
42  *info = &atpInfo;
43 
44  /* Register the utility... */
46 
47 }
ossimSharedLibraryGetNumberOfClassNamesPtr getNumberOfClassNames
static ossimAtpToolFactory * instance()
ossimSharedObjectInfo atpInfo
int getAtpNumberOfClassNames()
const char * getAtpDescription()
static ossimToolRegistry * instance()
ossimSharedLibraryGetDescriptionPtr getDescription
void registerFactory(T *factory, bool pushToFrontFlag=false)
Will register a factory to the factory list.
ossimSharedLibraryGetClassNamesPtr getClassName
const char * getAtpClassName(int idx)

Variable Documentation

◆ atpInfo

Definition at line 14 of file ossimAtpPluginInit.cpp.

Referenced by ossimSharedLibraryInitialize().