OTB  6.7.0
Orfeo Toolbox
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
mvd::Application Class Reference

#include <mvdApplication.h>

+ Inheritance diagram for mvd::Application:
+ Collaboration diagram for mvd::Application:

Public Member Functions

 Application (QApplication *qtApp)
 
const OTBApplicationsModelGetOTBApplicationsModel () const
 
OTBApplicationsModelGetOTBApplicationsModel ()
 
 ~Application () override
 
- Public Member Functions inherited from mvd::I18nApplication
 I18nApplication (QApplication *qtApp)
 
 ~I18nApplication () override
 
- Public Member Functions inherited from mvd::I18nCoreApplication
template<typename T >
const T * ConstInstance ()
 
bool ElevationSetup ()
 
const AbstractModelGetModel () const
 
AbstractModelGetModel ()
 
template<typename TModel >
const TModel * GetModel () const
 
template<typename TModel >
TModel * GetModel ()
 
const QDir & GetResultsDir () const
 
QDir & GetResultsDir ()
 
bool HasSettingsKey (SettingsKey) const
 
bool HasSettingsKey (const QString &key) const
 
 I18nCoreApplication (QCoreApplication *qtApp)
 
void Initialize ()
 
template<typename T >
T * Instance ()
 
QVariant RetrieveSettingsKey (SettingsKey) const
 
QVariant RetrieveSettingsKey (const QString &key) const
 
void StoreSettingsKey (SettingsKey, const QVariant &value)
 
void StoreSettingsKey (const QString &key, const QVariant &value)
 
 ~I18nCoreApplication () override
 

Static Public Member Functions

static const ApplicationConstInstance ()
 
static ApplicationInstance ()
 
- Static Public Member Functions inherited from mvd::I18nApplication
static const I18nApplicationConstInstance ()
 
static I18nApplicationInstance ()
 
- Static Public Member Functions inherited from mvd::I18nCoreApplication
static const I18nCoreApplicationConstInstance ()
 
static QString DatasetPathName (QString &name, const QString &imageFilename)
 
static void DeleteDatasetModel (const QString &path, const QString &hash)
 
static I18nCoreApplicationInstance ()
 
static bool IsDirValid (const QString &path)
 
static bool IsResultsDirValid (const QString &path)
 
static VectorImageModelLoadImageModel (const QString &filename, int width, int height, QObject *p=NULL)
 
static bool MakeDirTree (const QString &path, const QString &tree, QDir *dir=NULL)
 

Protected Member Functions

void virtual_InitializeCore () override
 
- Protected Member Functions inherited from mvd::I18nCoreApplication
void InitializeCore (const QString &appName, const QString &appVersion, const QString &orgName, const QString &orgDomain)
 

Private Member Functions

void OpenApplicationsBrowser ()
 

Private Attributes

OTBApplicationsModelm_OTBApplicationsModel
 

Additional Inherited Members

- Public Types inherited from mvd::I18nCoreApplication
enum  SettingsKey {
  SETTINGS_KEY_GEOID_PATH,
  SETTINGS_KEY_GEOID_PATH_ACTIVE,
  SETTINGS_KEY_OVERVIEWS_ENABLED,
  SETTINGS_KEY_OVERVIEWS_SIZE,
  SETTINGS_KEY_RESOLUTION,
  SETTINGS_KEY_RESULTS_DIR,
  SETTINGS_KEY_SRTM_DIR,
  SETTINGS_KEY_SRTM_DIR_ACTIVE,
  SETTINGS_KEY_TILE_SIZE,
  SETTINGS_KEY_COUNT
}
 
- Public Slots inherited from mvd::I18nCoreApplication
void SetModel (AbstractModel *model)
 
- Signals inherited from mvd::I18nCoreApplication
void AboutToChangeModel (const AbstractModel *model)
 
void ModelChanged (AbstractModel *model)
 
- Static Public Attributes inherited from mvd::I18nCoreApplication
static const char * DATASET_EXT
 
static const char * DEFAULT_CACHE_DIR_NAME
 
static const char * DEFAULT_CACHE_RESULT_DIR_NAME
 
- Static Protected Member Functions inherited from mvd::I18nCoreApplication
template<typename TApplication >
static const TApplication * ConstInstance ()
 
template<typename TApplication >
static TApplication * Instance ()
 

Detailed Description

Definition at line 76 of file mvdApplication.h.

Constructor & Destructor Documentation

mvd::Application::Application ( QApplication *  qtApp)

Constructor.

Parameters
qtAppThe parent Qt application (
See Also
I18nApplication).
mvd::Application::~Application ( )
override

Destructor.

Member Function Documentation

const Application * mvd::Application::ConstInstance ( )
inlinestatic

Access the const instance of application singleton.

Returns
The const instance to the singleton Application.

Definition at line 202 of file mvdApplication.h.

const OTBApplicationsModel * mvd::Application::GetOTBApplicationsModel ( ) const
inline

Get the OTB application model.

Returns
The number of outdated dataset-models present in the cache-directory.

Definition at line 220 of file mvdApplication.h.

OTBApplicationsModel * mvd::Application::GetOTBApplicationsModel ( )
inline

Get the OTB application model.

Definition at line 229 of file mvdApplication.h.

Application * mvd::Application::Instance ( )
inlinestatic

Access the non-const instance of application singleton.

Returns
The non-const instance to the singleton Application.

Definition at line 211 of file mvdApplication.h.

void mvd::Application::OpenApplicationsBrowser ( )
private
void mvd::Application::virtual_InitializeCore ( )
overrideprotectedvirtual

Reimplemented from mvd::I18nApplication.

Member Data Documentation

OTBApplicationsModel* mvd::Application::m_OTBApplicationsModel
private

Definition at line 181 of file mvdApplication.h.


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