|
#include <ArmarXCore/components/PythonApplicationManager/PythonApplicationManager.h>
Public Types | |
using | path = std::filesystem::path |
Public Member Functions | |
void | derive (const Properties &properties) |
path | findArmarXPackagePath (const Properties &properties) const |
path | findPythonBinaryPath (const Properties &properties) const |
path | findPythonPackagePath (const Properties &properties) const |
path | findPythonScriptPath (const Properties &properties) const |
path | findVenvPath (const Properties &properties) const |
path | getDedicatedVenvPath (const Properties &properties) const |
path | getSharedVenvPath (const Properties &properties) const |
Static Public Member Functions | |
static std::optional< path > | checkCandidateDirectories (const std::vector< path > &candidates) |
static std::optional< path > | checkCandidateFiles (const std::vector< path > &candidates) |
static std::optional< path > | checkCandidatePaths (const std::vector< path > &candidates, std::function< bool(path)> existsFn) |
Public Attributes | |
path | armarxPackagePath |
path | pythonBinPath |
path | pythonPackagePath |
path | pythonScriptPath |
std::string | sharedVenvsDir = "shared_venvs" |
path | venvPath |
path | workingDir |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Paths &rhs) |
Definition at line 114 of file PythonApplicationManager.h.
using path = std::filesystem::path |
Definition at line 116 of file PythonApplicationManager.h.
|
static |
Definition at line 521 of file PythonApplicationManager.cpp.
|
static |
Definition at line 513 of file PythonApplicationManager.cpp.
|
static |
Definition at line 529 of file PythonApplicationManager.cpp.
void derive | ( | const Properties & | properties | ) |
Definition at line 297 of file PythonApplicationManager.cpp.
PythonApplicationManager::Paths::path findArmarXPackagePath | ( | const Properties & | properties | ) | const |
Definition at line 346 of file PythonApplicationManager.cpp.
auto findPythonBinaryPath | ( | const Properties & | properties | ) | const |
Definition at line 465 of file PythonApplicationManager.cpp.
PythonApplicationManager::Paths::path findPythonPackagePath | ( | const Properties & | properties | ) | const |
Definition at line 360 of file PythonApplicationManager.cpp.
PythonApplicationManager::Paths::path findPythonScriptPath | ( | const Properties & | properties | ) | const |
Definition at line 368 of file PythonApplicationManager.cpp.
PythonApplicationManager::Paths::path findVenvPath | ( | const Properties & | properties | ) | const |
Definition at line 395 of file PythonApplicationManager.cpp.
auto getDedicatedVenvPath | ( | const Properties & | properties | ) | const |
Definition at line 499 of file PythonApplicationManager.cpp.
auto getSharedVenvPath | ( | const Properties & | properties | ) | const |
Definition at line 506 of file PythonApplicationManager.cpp.
|
friend |
Definition at line 285 of file PythonApplicationManager.cpp.
path armarxPackagePath |
Definition at line 122 of file PythonApplicationManager.h.
path pythonBinPath |
Definition at line 126 of file PythonApplicationManager.h.
path pythonPackagePath |
Definition at line 123 of file PythonApplicationManager.h.
path pythonScriptPath |
Definition at line 124 of file PythonApplicationManager.h.
std::string sharedVenvsDir = "shared_venvs" |
Definition at line 118 of file PythonApplicationManager.h.
path venvPath |
Definition at line 125 of file PythonApplicationManager.h.
path workingDir |
Definition at line 127 of file PythonApplicationManager.h.