ug4
Utility Bridge

Functions

static int ug::bridge::ExecuteSystemCommand (const char *cmd)
 
static string ug::bridge::GetAppsPath ()
 
static string ug::bridge::GetBinPath ()
 
static string ug::bridge::GetCurrentPath ()
 
std::vector< std::string > ug::bridge::GetDirsInDir (const char *dir)
 
std::vector< std::string > ug::bridge::GetFilesInDir (const char *dir)
 
static string ug::bridge::GetRootPath ()
 
static string ug::bridge::GetScriptPath ()
 
void ug::bridge::int_srand (int seed)
 
void ug::bridge::RegisterBridge_Util (Registry &reg, string parentGroup)
 
void ug::bridge::SetMinSecondsUntilProgress (size_t s)
 

Detailed Description

Function Documentation

◆ ExecuteSystemCommand()

static int ug::bridge::ExecuteSystemCommand ( const char *  cmd)
static

This function executes the given string in a system shell (if available)

Parameters
[in]cmdThe shell command to execute
Returns
1 if no shell available

Referenced by ug::bridge::RegisterBridge_Util().

◆ GetAppsPath()

static string ug::bridge::GetAppsPath ( )
static

◆ GetBinPath()

static string ug::bridge::GetBinPath ( )
static

References ug::BIN_PATH.

Referenced by ug::bridge::RegisterBridge_Util().

◆ GetCurrentPath()

static string ug::bridge::GetCurrentPath ( )
static

◆ GetDirsInDir()

std::vector<std::string> ug::bridge::GetDirsInDir ( const char *  dir)

◆ GetFilesInDir()

std::vector<std::string> ug::bridge::GetFilesInDir ( const char *  dir)

◆ GetRootPath()

static string ug::bridge::GetRootPath ( )
static

◆ GetScriptPath()

static string ug::bridge::GetScriptPath ( )
static

◆ int_srand()

void ug::bridge::int_srand ( int  seed)

◆ RegisterBridge_Util()

◆ SetMinSecondsUntilProgress()

void ug::bridge::SetMinSecondsUntilProgress ( size_t  s)