MT Showcase SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Showcase::Configuration Class Reference

This class holds configuration for Showcase. More...

#include <Configuration.hpp>

Public Member Functions

 ~Configuration ()
 
void setRunConfiguration (const QString &runConfigurationName)
 
std::map< QString,
RunConfigurationPtr > 
getRunConfs () const
 

Static Public Member Functions

static std::shared_ptr
< Configuration
defaultConfiguration ()
 

Detailed Description

This class holds configuration for Showcase.

You can load a custom configuration file to Showcase with –showcase-config command line parameter

Now it is assumed that configuration is read once and never updated during the lifetime of the application. This means that none of the following things is unsupported at the moment:

  • Changing path of the components
  • Changing entry points to the backend

Constructor & Destructor Documentation

Showcase::Configuration::~Configuration ( )

Member Function Documentation

std::shared_ptr< Configuration > Showcase::Configuration::defaultConfiguration ( )
static

When we add /opt/showcase-packages or C: Files Packages to this list add it before rootFolder. This way those packages get priority over the ones in installation folder

std::map< QString, RunConfigurationPtr > Showcase::Configuration::getRunConfs ( ) const

Just run query through normal generators

void Showcase::Configuration::setRunConfiguration ( const QString &  runConfigurationName)