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

#include <mvdI18nApplication.h>

+ Inheritance diagram for mvd::I18nApplication:
+ Collaboration diagram for mvd::I18nApplication:

Public Member Functions

 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 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)
 

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

The MVD2 application (which is different from QApplication).

I18nApplication do not derive from QApplication to prevent a dread diamong multiple inheritance scheme which could not be resolved using virtual inheritance (because Qt is not designed for).

See Also
I18nCoreApplication.

Definition at line 86 of file mvdI18nApplication.h.

Constructor & Destructor Documentation

mvd::I18nApplication::I18nApplication ( QApplication *  qtApp)

Constructor.

Parameters
qtAppThe parent Qt application of this MVD2 application.
mvd::I18nApplication::~I18nApplication ( )
override

Destructor.

Member Function Documentation

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

Get the singleton constant instance of application as a I18Application pointer.

Returns
The singleton constant instance of I18nApplication.

Definition at line 193 of file mvdI18nApplication.h.

I18nApplication * mvd::I18nApplication::Instance ( )
inlinestatic

Get the singleton instance of application as a I18Application pointer.

Returns
The singleton instance of I18nApplication.

Definition at line 185 of file mvdI18nApplication.h.

void mvd::I18nApplication::virtual_InitializeCore ( )
overrideprotectedvirtual

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