OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | List of all members
otb::Wrapper::ApplicationRegistry Class Reference

#include <otbWrapperApplicationRegistry.h>

+ Inheritance diagram for otb::Wrapper::ApplicationRegistry:
+ Collaboration diagram for otb::Wrapper::ApplicationRegistry:

Public Types

typedef itk::SmartPointer
< const Self
typedef itk::SmartPointer< SelfPointer
typedef ApplicationRegistry Self
typedef itk::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 const char * GetNameOfClass () const
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
unsigned long AddObserver (const EventObject &event, Command *) const
virtual LightObject::Pointer CreateAnother () const override
virtual void DebugOff () const
virtual void DebugOn () const
CommandGetCommand (unsigned long tag)
bool GetDebug () const
const MetaDataDictionaryGetMetaDataDictionary () const
MetaDataDictionaryGetMetaDataDictionary ()
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 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) override
virtual void UnRegister () const noexceptoverride
- 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 void AddApplicationPath (std::string path)
static void CleanRegistry ()
static Application::Pointer CreateApplication (const std::string &applicationName, bool useFactory=true)
static Application::Pointer CreateApplicationFaster (const std::string &applicationName)
static std::string GetApplicationPath ()
static std::vector< std::string > GetAvailableApplications (bool useFactory=true)
static void SetApplicationPath (std::string path)
- 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

 ApplicationRegistry ()
 ~ApplicationRegistry () override
- Protected Member Functions inherited from itk::Object
 Object ()
bool PrintObservers (std::ostream &os, Indent indent) const
virtual void PrintSelf (std::ostream &os, Indent indent) const override
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 ()

Private Member Functions

 ApplicationRegistry (const Self &)=delete
void operator= (const Self &)=delete

Static Private Member Functions

static Application::Pointer LoadApplicationFromPath (std::string path, std::string name)

Additional Inherited Members

- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount

Detailed Description

Definition at line 41 of file otbWrapperApplicationRegistry.h.

Member Typedef Documentation

Convenient typedefs.

Definition at line 53 of file otbWrapperApplicationRegistry.h.

Definition at line 48 of file otbWrapperApplicationRegistry.h.

Definition at line 47 of file otbWrapperApplicationRegistry.h.

Standard class typedefs.

Definition at line 45 of file otbWrapperApplicationRegistry.h.

Definition at line 46 of file otbWrapperApplicationRegistry.h.

Constructor & Destructor Documentation

otb::Wrapper::ApplicationRegistry::ApplicationRegistry ( )
otb::Wrapper::ApplicationRegistry::~ApplicationRegistry ( )
otb::Wrapper::ApplicationRegistry::ApplicationRegistry ( const Self )

Member Function Documentation

static void otb::Wrapper::ApplicationRegistry::AddApplicationPath ( std::string  path)

Add the specified path to the list of application search path

static void otb::Wrapper::ApplicationRegistry::CleanRegistry ( )

Clean registry by releasing unused modules

static Application::Pointer otb::Wrapper::ApplicationRegistry::CreateApplication ( const std::string &  applicationName,
bool  useFactory = true 

Create the specified Application

static Application::Pointer otb::Wrapper::ApplicationRegistry::CreateApplicationFaster ( const std::string &  applicationName)

Create the specified Application (faster) method using dynamic library name to load the right module

static std::string otb::Wrapper::ApplicationRegistry::GetApplicationPath ( )

Return the application search path

static std::vector<std::string> otb::Wrapper::ApplicationRegistry::GetAvailableApplications ( bool  useFactory = true)

Return the list of available applications

virtual const char* otb::Wrapper::ApplicationRegistry::GetNameOfClass ( ) const

Class Methods used to interface with the registered factories Run-time type information (and related methods).

Reimplemented from itk::Object.

static Application::Pointer otb::Wrapper::ApplicationRegistry::LoadApplicationFromPath ( std::string  path,
std::string  name 

Load an application from a shared library

void otb::Wrapper::ApplicationRegistry::operator= ( const Self )
static void otb::Wrapper::ApplicationRegistry::SetApplicationPath ( std::string  path)

Set the specified path to the list of application search path. Reinit all previously set paths

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