|
ARC SDK
|
Determines ARC installation location. More...
#include <arc/ArcLocation.h>
Static Public Member Functions | |
| static void | Init (std::string path) |
| Initializes location information. More... | |
| static const std::string & | Get () |
| Returns ARC installation location. | |
| static std::list< std::string > | GetPlugins () |
| Returns ARC plugins directory location. More... | |
| static std::string | GetDataDir () |
| Returns location of ARC system data, e.g. $ARC_LOCATION/share/arc. | |
| static std::string | GetToolsDir () |
| Returns location of ARC system tools, e.g. $ARC_LOCATION/libexec/arc. | |
Determines ARC installation location.
|
static |
Returns ARC plugins directory location.
Main source is value of variable ARC_PLUGIN_PATH, otherwise path is derived from installation location.
|
static |
Initializes location information.
Main source is value of variable ARC_LOCATION, otherwise path to executable provided in path is used. If nothing works then warning message is sent to logger and initial installation prefix is used.
1.8.3.1