|
#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 120 of file PythonApplicationManager.h.
using path = std::filesystem::path |
Definition at line 122 of file PythonApplicationManager.h.
|
static |
Definition at line 448 of file PythonApplicationManager.cpp.
|
static |
Definition at line 440 of file PythonApplicationManager.cpp.
|
static |
Definition at line 456 of file PythonApplicationManager.cpp.
void derive | ( | const Properties & | properties | ) |
Definition at line 232 of file PythonApplicationManager.cpp.
PythonApplicationManager::Paths::path findArmarXPackagePath | ( | const Properties & | properties | ) | const |
Definition at line 277 of file PythonApplicationManager.cpp.
auto findPythonBinaryPath | ( | const Properties & | properties | ) | const |
Definition at line 394 of file PythonApplicationManager.cpp.
PythonApplicationManager::Paths::path findPythonPackagePath | ( | const Properties & | properties | ) | const |
Definition at line 289 of file PythonApplicationManager.cpp.
PythonApplicationManager::Paths::path findPythonScriptPath | ( | const Properties & | properties | ) | const |
Definition at line 296 of file PythonApplicationManager.cpp.
PythonApplicationManager::Paths::path findVenvPath | ( | const Properties & | properties | ) | const |
Definition at line 326 of file PythonApplicationManager.cpp.
auto getDedicatedVenvPath | ( | const Properties & | properties | ) | const |
Definition at line 426 of file PythonApplicationManager.cpp.
auto getSharedVenvPath | ( | const Properties & | properties | ) | const |
Definition at line 432 of file PythonApplicationManager.cpp.
|
friend |
Definition at line 221 of file PythonApplicationManager.cpp.
path armarxPackagePath |
Definition at line 128 of file PythonApplicationManager.h.
path pythonBinPath |
Definition at line 132 of file PythonApplicationManager.h.
path pythonPackagePath |
Definition at line 129 of file PythonApplicationManager.h.
path pythonScriptPath |
Definition at line 130 of file PythonApplicationManager.h.
std::string sharedVenvsDir = "shared_venvs" |
Definition at line 124 of file PythonApplicationManager.h.
path venvPath |
Definition at line 131 of file PythonApplicationManager.h.
path workingDir |
Definition at line 133 of file PythonApplicationManager.h.