OTB  5.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 Self
ConstPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef ApplicationFactory Self
 
typedef itk::ObjectFactoryBase Superclass
 
- Public Types inherited from itk::ObjectFactoryBase
typedef SmartPointer< const SelfConstPointer
 
enum  InsertionPositionType
 
typedef SmartPointer< SelfPointer
 
typedef ObjectFactoryBase Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetDescription (void) const
 
virtual const char * GetITKSourceVersion (void) const
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from itk::ObjectFactoryBase
virtual void Disable (const char *className)
 
virtual std::list< std::string > GetClassOverrideDescriptions ()
 
virtual std::list< std::string > GetClassOverrideNames ()
 
virtual std::list< std::string > GetClassOverrideWithNames ()
 
virtual bool GetEnableFlag (const char *className, const char *subclassName)
 
virtual std::list< bool > GetEnableFlags ()
 
const char * GetLibraryPath ()
 
virtual void SetEnableFlag (bool flag, const char *className, const char *subclassName)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
const MetaDataDictionaryGetMetaDataDictionary (void) const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
virtual ModifiedTimeType GetMTime () const
 
virtual const std::string & GetObjectName () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const ITK_OVERRIDE
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual void SetReferenceCount (int) ITK_OVERRIDE
 
virtual void UnRegister () const ITK_OVERRIDE
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New (void)
 
- Static Public Member Functions inherited from itk::ObjectFactoryBase
static std::list
< LightObject::Pointer
CreateAllInstance (const char *itkclassname)
 
static LightObject::Pointer CreateInstance (const char *itkclassname)
 
static std::list
< ObjectFactoryBase * > 
GetRegisteredFactories ()
 
static bool GetStrictVersionChecking ()
 
static bool RegisterFactory (ObjectFactoryBase *, InsertionPositionType where=INSERT_AT_BACK, vcl_size_t position=0)
 
static void RegisterFactoryInternal (ObjectFactoryBase *)
 
static void ReHash ()
 
static void SetStrictVersionChecking (bool)
 
static void StrictVersionCheckingOff ()
 
static void StrictVersionCheckingOn ()
 
static void UnRegisterAllFactories ()
 
static void UnRegisterFactory (ObjectFactoryBase *)
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

 ApplicationFactory ()
 
virtual ~ApplicationFactory ()
 
- Protected Member Functions inherited from itk::ObjectFactoryBase
 ObjectFactoryBase ()
 
virtual void PrintSelf (std::ostream &os, Indent indent) const ITK_OVERRIDE
 
void RegisterOverride (const char *classOverride, const char *overrideClassName, const char *description, bool enableFlag, CreateObjectFunctionBase *createFunction)
 
virtual ~ObjectFactoryBase ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 
virtual LightObject::Pointer CreateObject (const char *itkclassname)
 
virtual std::list
< LightObject::Pointer > 
CreateAllObject (const char *itkclassname)
 
 ApplicationFactory (const Self &)
 
void operator= (const Self &)
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Detailed Description

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

Definition at line 29 of file otbWrapperApplicationFactory.h.

Member Typedef Documentation

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

Definition at line 36 of file otbWrapperApplicationFactory.h.

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

Definition at line 35 of file otbWrapperApplicationFactory.h.

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

Standard class typedefs.

Definition at line 33 of file otbWrapperApplicationFactory.h.

template<class TApplication >
typedef itk::ObjectFactoryBase otb::Wrapper::ApplicationFactory< TApplication >::Superclass

Definition at line 34 of file otbWrapperApplicationFactory.h.

Constructor & Destructor Documentation

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

Definition at line 56 of file otbWrapperApplicationFactory.h.

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

Definition at line 61 of file otbWrapperApplicationFactory.h.

template<class TApplication >
otb::Wrapper::ApplicationFactory< TApplication >::ApplicationFactory ( const Self )
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.

Member Function Documentation

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

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

Reimplemented from itk::ObjectFactoryBase.

Definition at line 84 of file otbWrapperApplicationFactory.h.

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

Reimplemented from itk::Object.

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

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.

Reimplemented from itk::ObjectFactoryBase.

Definition at line 69 of file otbWrapperApplicationFactory.h.

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

Implements itk::ObjectFactoryBase.

Definition at line 44 of file otbWrapperApplicationFactory.h.

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

Class methods used to interface with the registered factories.

Implements itk::ObjectFactoryBase.

Definition at line 39 of file otbWrapperApplicationFactory.h.

References ITK_SOURCE_VERSION.

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

Run-time type information (and related methods).

Reimplemented from itk::ObjectFactoryBase.

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

Method for class instantiation.

template<class TApplication >
void otb::Wrapper::ApplicationFactory< TApplication >::operator= ( const Self )
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.


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