|
ug4
|
#include <stack>#include <cstdlib>#include <string>#include "ug.h"#include "common/error.h"#include "common/log.h"#include "common/util/path_provider.h"#include "common/util/os_info.h"#include "common/profiler/profiler.h"#include "common/profiler/profile_node.h"#include "common/profiler/memtracker.h"#include "pcl/pcl.h"Namespaces | |
| namespace | ug |
| the ug namespace | |
Functions | |
| void | ug::AbortRun () |
| sets a flag, that the current run shall be aborted during the next call of TerminateAbortedRun() | |
| void | ug::ClearAbortRunFlag () |
| clears the abort-run-flag. | |
| std::string | gUGVersionString ("4.0.2") |
| bool | ug::InitPaths (const char *argv0) |
| Initializes the pathes of ug::PathProvider. | |
| void | ug::SetAppsPath (const char *c_strApps) |
| void | ug::SetAppsPath (const std::string &strApps) |
| Initializes the APPS_PATH of ug::PathProvider. | |
| void | ug::SetPluginPath (const char *c_strPlugin) |
| void | ug::SetPluginPath (const std::string &strPlugin) |
| Initializes the PLUGIN_PATH of ug::PathProvider. | |
| void | ug::SetRootPath (const char *c_strRoot) |
| void | ug::SetRootPath (const std::string &strRoot) |
| Initializes the paths of ug::PathProvider. | |
| void | ug::SetScriptPath (const char *c_strScript) |
| void | ug::SetScriptPath (const std::string &strScript) |
| Initializes the SCRIPT_PATH of ug::PathProvider. | |
| void | ug::TerminateAbortedRun () |
| Terminates the current run if AbortRun() was called and the abort-run-flag is thus set to true. | |
| int | ug::UGFinalize () |
| finalizes ug | |
| int | ug::UGFinalizeNoPCLFinalize () |
| void | ug::UGForceExit () |
| Calls UGFinalize and terminates the application. | |
| UG_API std::string | ug::UGGetVersionString () |
| Returns the version number of the current ug-version. | |
| int | ug::UGInit (int *argcp, char ***argvp, int parallelOutputProcRank) |
| initializes ug | |
| bool | ug::UGInitPlugins () |
| Init (if UG_PLUGINS is set) embedded or non-shared plugins. | |
| void | ug::UGOutputProfileStatsOnExit (bool bEnable) |
| Call with true, if profiling output is desired at the end of the show. | |
Variables | |
| static bool | outputProfileStats = false |
| static bool | ug::s_abortRun = false |
| std::string gUGVersionString | ( | "4.0.2" | ) |
Current ug version
Referenced by ug::UGGetVersionString().
|
static |
Tells whether profile-output is desired on exit.
Referenced by ug::UGFinalizeNoPCLFinalize(), and ug::UGOutputProfileStatsOnExit().