ug4
ug.h File Reference
#include <string>
#include "common/profiler/profiler.h"
#include "common/ug_config.h"

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 

Functions

void ug::AbortRun ()
 sets a flag, that the current run shall be aborted during the next call of TerminateAbortedRun() More...
 
void ug::ClearAbortRunFlag ()
 clears the abort-run-flag. More...
 
bool ug::InitPaths (const char *argv0)
 Initializes the pathes of ug::PathProvider. More...
 
void ug::SetAppsPath (const char *c_strApps)
 
void ug::SetAppsPath (const std::string &strApps)
 Initializes the APPS_PATH of ug::PathProvider. More...
 
void ug::SetPluginPath (const char *c_strPlugin)
 
void ug::SetPluginPath (const std::string &strPlugin)
 Initializes the PLUGIN_PATH of ug::PathProvider. More...
 
void ug::SetRootPath (const char *c_strRoot)
 
void ug::SetRootPath (const std::string &strRoot)
 Initializes the paths of ug::PathProvider. More...
 
void ug::SetScriptPath (const char *c_strScript)
 
void ug::SetScriptPath (const std::string &strScript)
 Initializes the SCRIPT_PATH of ug::PathProvider. More...
 
void ug::TerminateAbortedRun ()
 Terminates the current run if AbortRun() was called and the abort-run-flag is thus set to true. More...
 
int ug::UGFinalize ()
 finalizes ug More...
 
void ug::UGForceExit ()
 Calls UGFinalize and terminates the application. More...
 
UG_API std::string ug::UGGetVersionString ()
 Returns the version number of the current ug-version. More...
 
int ug::UGInit (int *argcp, char ***argvp, int parallelOutputProcRank)
 initializes ug More...
 
bool ug::UGInitPlugins ()
 Init (if UG_PLUGINS is set) embedded or non-shared plugins. More...
 
void ug::UGOutputProfileStatsOnExit (bool bEnable)
 Call with true, if profiling output is desired at the end of the show. More...