OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
otb::Wrapper::ApplicationFactory< TApplication > Class Template Reference

#include <otbWrapperApplicationFactory.h>

+ Inheritance diagram for otb::Wrapper::ApplicationFactory< TApplication >:
+ Collaboration diagram for otb::Wrapper::ApplicationFactory< TApplication >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef ApplicationFactory Self
 
typedef ApplicationFactoryBase Superclass
 
- Public Types inherited from otb::Wrapper::ApplicationFactoryBase
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef ApplicationFactoryBase Self
 
typedef itk::ObjectFactoryBase Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
const char * GetDescription (void) const override
 
const char * GetITKSourceVersion (void) const override
 
virtual const char * GetNameOfClass () const
 
void SetClassName (const char *name)
 
- Public Member Functions inherited from otb::Wrapper::ApplicationFactoryBase
Application::Pointer CreateApplication (const char *name)
 

Static Public Member Functions

static Pointer New (void)
 

Protected Member Functions

 ApplicationFactory ()
 
 ~ApplicationFactory () override
 
- Protected Member Functions inherited from otb::Wrapper::ApplicationFactoryBase
 ApplicationFactoryBase ()
 
 ~ApplicationFactoryBase () override
 
std::string m_ClassName
 
LightObject::Pointer CreateObject (const char *itkclassname) override
 
std::list< LightObject::Pointer > CreateAllObject (const char *itkclassname) override
 
 ApplicationFactory (const Self &)=delete
 
void operator= (const Self &)=delete
 

Detailed Description

template<class TApplication>
class otb::Wrapper::ApplicationFactory< TApplication >

Definition at line 34 of file otbWrapperApplicationFactory.h.

Member Typedef Documentation

◆ ConstPointer

template<class TApplication >
typedef itk::SmartPointer<const Self> otb::Wrapper::ApplicationFactory< TApplication >::ConstPointer

Definition at line 41 of file otbWrapperApplicationFactory.h.

◆ Pointer

template<class TApplication >
typedef itk::SmartPointer<Self> otb::Wrapper::ApplicationFactory< TApplication >::Pointer

Definition at line 40 of file otbWrapperApplicationFactory.h.

◆ Self

template<class TApplication >
typedef ApplicationFactory otb::Wrapper::ApplicationFactory< TApplication >::Self

Standard class typedefs.

Definition at line 38 of file otbWrapperApplicationFactory.h.

◆ Superclass

template<class TApplication >
typedef ApplicationFactoryBase otb::Wrapper::ApplicationFactory< TApplication >::Superclass

Definition at line 39 of file otbWrapperApplicationFactory.h.

Constructor & Destructor Documentation

◆ ApplicationFactory() [1/2]

template<class TApplication >
otb::Wrapper::ApplicationFactory< TApplication >::ApplicationFactory ( )
inlineprotected

Definition at line 73 of file otbWrapperApplicationFactory.h.

◆ ~ApplicationFactory()

template<class TApplication >
otb::Wrapper::ApplicationFactory< TApplication >::~ApplicationFactory ( )
inlineoverrideprotected

Definition at line 77 of file otbWrapperApplicationFactory.h.

◆ ApplicationFactory() [2/2]

template<class TApplication >
otb::Wrapper::ApplicationFactory< TApplication >::ApplicationFactory ( const Self )
privatedelete

This method is provided by sub-classes of ObjectFactoryBase. It should create the named itk object or return 0 if that object is not supported by the factory implementation.

Member Function Documentation

◆ CreateAllObject()

template<class TApplication >
std::list<LightObject::Pointer> otb::Wrapper::ApplicationFactory< TApplication >::CreateAllObject ( const char *  itkclassname)
inlineoverrideprotected

This method creates all the objects with the new class of itkclass name, which are provide by this object

Definition at line 97 of file otbWrapperApplicationFactory.h.

◆ CreateAnother()

template<class TApplication >
virtual ::itk::LightObject::Pointer otb::Wrapper::ApplicationFactory< TApplication >::CreateAnother ( void  ) const
virtual

◆ CreateObject()

template<class TApplication >
LightObject::Pointer otb::Wrapper::ApplicationFactory< TApplication >::CreateObject ( const char *  itkclassname)
inlineoverrideprotected

This method is provided by sub-classes of ObjectFactoryBase. It should create the named itk object or return 0 if that object is not supported by the factory implementation.

Definition at line 84 of file otbWrapperApplicationFactory.h.

◆ GetDescription()

template<class TApplication >
const char* otb::Wrapper::ApplicationFactory< TApplication >::GetDescription ( void  ) const
inlineoverride

Definition at line 49 of file otbWrapperApplicationFactory.h.

◆ GetITKSourceVersion()

template<class TApplication >
const char* otb::Wrapper::ApplicationFactory< TApplication >::GetITKSourceVersion ( void  ) const
inlineoverride

Class methods used to interface with the registered factories.

Definition at line 44 of file otbWrapperApplicationFactory.h.

◆ GetNameOfClass()

template<class TApplication >
virtual const char* otb::Wrapper::ApplicationFactory< TApplication >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from otb::Wrapper::ApplicationFactoryBase.

◆ New()

template<class TApplication >
static Pointer otb::Wrapper::ApplicationFactory< TApplication >::New ( void  )
static

Method for class instantiation.

◆ operator=()

template<class TApplication >
void otb::Wrapper::ApplicationFactory< TApplication >::operator= ( const Self )
privatedelete

This method is provided by sub-classes of ObjectFactoryBase. It should create the named itk object or return 0 if that object is not supported by the factory implementation.

◆ SetClassName()

template<class TApplication >
void otb::Wrapper::ApplicationFactory< TApplication >::SetClassName ( const char *  name)
inline

Definition at line 60 of file otbWrapperApplicationFactory.h.

Member Data Documentation

◆ m_ClassName

template<class TApplication >
std::string otb::Wrapper::ApplicationFactory< TApplication >::m_ClassName
private

This method is provided by sub-classes of ObjectFactoryBase. It should create the named itk object or return 0 if that object is not supported by the factory implementation.

Definition at line 112 of file otbWrapperApplicationFactory.h.


The documentation for this class was generated from the following file: