OTB  9.0.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 otb::Wrapper::Application::Pointer ApplicationPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef ApplicationRegistry Self
 
typedef itk::Object Superclass
 

Public Member Functions

virtual const char * GetNameOfClass () 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)
 

Protected Member Functions

 ApplicationRegistry ()
 
 ~ApplicationRegistry () override
 

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)
 

Detailed Description

Definition at line 41 of file otbWrapperApplicationRegistry.h.

Member Typedef Documentation

◆ ApplicationPointer

Convenient typedefs.

Definition at line 53 of file otbWrapperApplicationRegistry.h.

◆ ConstPointer

typedef itk::SmartPointer<const Self> otb::Wrapper::ApplicationRegistry::ConstPointer

Definition at line 48 of file otbWrapperApplicationRegistry.h.

◆ Pointer

Definition at line 47 of file otbWrapperApplicationRegistry.h.

◆ Self

Standard class typedefs.

Definition at line 45 of file otbWrapperApplicationRegistry.h.

◆ Superclass

Definition at line 46 of file otbWrapperApplicationRegistry.h.

Constructor & Destructor Documentation

◆ ApplicationRegistry() [1/2]

otb::Wrapper::ApplicationRegistry::ApplicationRegistry ( )
protected

◆ ~ApplicationRegistry()

otb::Wrapper::ApplicationRegistry::~ApplicationRegistry ( )
overrideprotected

◆ ApplicationRegistry() [2/2]

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

Member Function Documentation

◆ AddApplicationPath()

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

Add the specified path to the list of application search path

◆ CleanRegistry()

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

Clean registry by releasing unused modules

◆ CreateApplication()

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

Create the specified Application

◆ CreateApplicationFaster()

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

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

◆ GetApplicationPath()

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

Return the application search path

◆ GetAvailableApplications()

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

Return the list of available applications

◆ GetNameOfClass()

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

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

◆ LoadApplicationFromPath()

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

Load an application from a shared library

◆ operator=()

void otb::Wrapper::ApplicationRegistry::operator= ( const Self )
privatedelete

◆ SetApplicationPath()

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

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: