Determines ARC installation location. More...
#include <ArcLocation.h>
Static Public Member Functions | |
static void | Init (std::string path) |
static const std::string & | Get () |
static std::list< std::string > | GetPlugins () |
Determines ARC installation location.
static std::list<std::string> Arc::ArcLocation::GetPlugins | ( | ) | [static] |
Returns ARC plugins directory location.
Main source is value of variable ARC_PLUGIN_PATH, otherwise path is derived from installation location.
static void Arc::ArcLocation::Init | ( | std::string | path | ) | [static] |
Initializes location information.
Main source is value of variable ARC_LOCATION, otherwise path to executable provided in is used. If nothing works then warning message is sent to logger and initial installation prefix is used.