![]() |
#include <base/RunContextManager.hpp>
Public Member Functions | |
std::string | getInputDir () const |
std::string | getInputFullPath (const std::string &Filename) const |
void | setInputDir (const std::string &InputDir) |
std::string | getOutputDir () const |
std::string | getOutputFullPath (const std::string &Filename) const |
void | setOutputDir (const std::string &OutputDir) |
void | setDateTimeOutputDir () |
bool | isClearOutputDir () const |
void | setClearOutputDir (bool Enabled) |
bool | isProfiling () const |
void | setProfiling (bool Enabled) |
unsigned int | getValuesBufferUserSize () const |
void | setValuesBufferUserSize (unsigned int Size) |
void | unsetValuesBufferUserSize () |
bool | isValuesBufferUserSize () const |
unsigned int | getWaresMaxNumThreads () const |
void | setWaresMaxNumThreads (unsigned int Num) |
void | resetWaresMaxNumThreads () |
openfluid::core::MapValue & | extraProperties () |
const openfluid::core::MapValue & | getWaresEnvironment () const |
void | processWareParams (openfluid::ware::WareParams_t &Params) const |
std::string | getProjectPath () const |
std::string | getProjectName () const |
void | setProjectName (const std::string &Name) |
std::string | getProjectDescription () const |
void | setProjectDescription (const std::string &Description) |
std::string | getProjectAuthors () const |
void | setProjectAuthors (const std::string &Authors) |
std::string | getProjectCreationDate () const |
void | setProjectCreationDate (const std::string &CreationDate) |
void | setProjectCreationDateAsNow () |
std::string | getProjectLastModDate () const |
void | setProjectLastModDate (const std::string &LastModDate) |
bool | isProjectIncrementalOutputDir () const |
void | setProjectIncrementalOutputDir (const bool Inc) |
bool | openProject (const std::string &Path) |
bool | createProject (const std::string &Path, const std::string &Name, const std::string &Description, const std::string &Authors, const bool Inc) |
bool | isProjectOpen () const |
bool | saveProject () |
void | closeProject () |
void | updateProjectOutputDir () |
QVariant | getProjectConfigValue (const QString &Group, const QString &Key) const |
void | setProjectConfigValue (const QString &Group, const QString &Key, const QVariant &Value) |
Static Public Member Functions | |
static bool | isProject (const std::string &Path) |
static bool | getProjectInfos (const std::string &Path, std::string &Name, std::string &Description, std::string &Authors, std::string &CreationDate, std::string &LastModDate) |
![]() | |
static void | init () |
static std::string | getHostName () |
static std::string | getSystemArch () |
static int | getIdealThreadCount () |
static std::string | getUserName () |
static std::string | getVersion () |
static std::string | getVersionFull () |
static std::string | getVersionMajorMinor () |
static std::string | getTempDir () |
static std::string | getInstallPrefix () |
static std::string | getUserHomeDir () |
static std::string | getConfigFile () |
static std::string | getUserDataDir () |
static std::string | getUserDataFullPath (const std::string &Path) |
static std::string | getUserExamplesDir () |
static void | prepareUserDataDirectory () |
static std::string | getTranslationsDir () |
static std::string | getCommonResourcesDir () |
static std::string | getCommonResourcesFullPath (const std::string &Path) |
static std::string | getAppResourcesDir (const std::string &AppName) |
static std::string | getAppResourcesFullPath (const std::string &AppName, const std::string &Path) |
static std::vector< std::string > | getSimulatorsDirs () |
static std::vector< std::string > | getDefaultSimulatorsDirs () |
static std::vector< std::string > | getExtraSimulatorsDirs () |
static void | addExtraSimulatorsDirs (const std::string &Paths) |
static void | resetExtraSimulatorsDirs () |
static std::string | getSimulatorFullPath (const std::string &Filename) |
static std::vector< std::string > | getObserversDirs () |
static std::vector< std::string > | getDefaultObserversDirs () |
static std::vector< std::string > | getExtraObserversDirs () |
static void | addExtraObserversDirs (const std::string &Paths) |
static void | resetExtraObserversDirs () |
static std::string | getObserverFullPath (const std::string &Filename) |
static std::vector< std::string > | getBuilderextsDirs () |
static std::vector< std::string > | getDefaultBuilderextsDirs () |
static std::vector< std::string > | getExtraBuilderextsDirs () |
static void | addExtraBuilderextsDirs (const std::string &Paths) |
static void | resetExtraBuilderextsDirs () |
static std::string | getBuilderextFullPath (const std::string &Filename) |
static std::string | getMarketBagBinSubDir () |
static std::string | getMarketBagBuilderextsDir () |
static std::string | getMarketBagDataDir () |
static std::string | getMarketBagDir () |
static std::string | getMarketBagObserversDir () |
static std::string | getMarketBagSimulatorsDir () |
static std::string | getMarketBagSrcSubDir () |
static std::string | getMarketBagVersionDir () |
static std::string | getProvidedExamplesDir () |
Additional Inherited Members | |
![]() | |
Environment () | |
![]() | |
static std::string | getWareFullPath (const std::vector< std::string > &Dirs, const std::string &Filename) |
![]() | |
static std::string | m_SystemArch |
static std::string | m_HostName |
static std::string | m_UserName |
static std::string | m_Version |
static std::string | m_VersionFull |
static std::string | m_VersionMajorMinor |
static std::string | m_InstallPrefix |
static std::string | m_TempDir |
static std::string | m_UserHomeDir |
static std::string | m_UserDataDir |
static std::string | m_ConfigFile |
static std::vector< std::string > | m_DefaultSimulatorsDirs |
static std::vector< std::string > | m_ExtraSimulatorsDirs |
static std::vector< std::string > | m_DefaultObserversDirs |
static std::vector< std::string > | m_ExtraObserversDirs |
static std::vector< std::string > | m_DefaultBuilderextsDirs |
static std::vector< std::string > | m_ExtraBuilderextsDirs |
static std::string | m_ProvidedExamplesDir |
static std::string | m_UserExamplesDir |
static std::string | m_MarketBagDir |
static std::string | m_MarketBagVersionDir |
static std::string | m_MarketBagSimulatorsDir |
static std::string | m_MarketBagObserversDir |
static std::string | m_MarketBagBuilderextsDir |
static std::string | m_MarketBagDataDir |
static std::string | m_MarketBagBinSubDir |
static std::string | m_MarketBagSrcSubDir |
static std::string | m_TranslationsDir |
static std::string | m_CommonResourcesDir |
static std::string | m_AppsResourcesDir |
static int | m_IdealThreadCount |
void openfluid::base::RunContextManager::closeProject | ( | ) |
bool openfluid::base::RunContextManager::createProject | ( | const std::string & | Path, |
const std::string & | Name, | ||
const std::string & | Description, | ||
const std::string & | Authors, | ||
const bool | Inc | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
QVariant openfluid::base::RunContextManager::getProjectConfigValue | ( | const QString & | Group, |
const QString & | Key | ||
) | const |
|
inline |
|
inline |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
inline |
|
inline |
|
inline |
bool openfluid::base::RunContextManager::openProject | ( | const std::string & | Path | ) |
void openfluid::base::RunContextManager::processWareParams | ( | openfluid::ware::WareParams_t & | Params | ) | const |
void openfluid::base::RunContextManager::resetWaresMaxNumThreads | ( | ) |
bool openfluid::base::RunContextManager::saveProject | ( | ) |
|
inline |
void openfluid::base::RunContextManager::setDateTimeOutputDir | ( | ) |
void openfluid::base::RunContextManager::setInputDir | ( | const std::string & | InputDir | ) |
void openfluid::base::RunContextManager::setOutputDir | ( | const std::string & | OutputDir | ) |
|
inline |
|
inline |
void openfluid::base::RunContextManager::setProjectConfigValue | ( | const QString & | Group, |
const QString & | Key, | ||
const QVariant & | Value | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void openfluid::base::RunContextManager::updateProjectOutputDir | ( | ) |