PythonApplicationManager::Paths Struct Reference

#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< pathcheckCandidateDirectories (const std::vector< path > &candidates)
 
static std::optional< pathcheckCandidateFiles (const std::vector< path > &candidates)
 
static std::optional< pathcheckCandidatePaths (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)
 

Detailed Description

Definition at line 120 of file PythonApplicationManager.h.

Member Typedef Documentation

◆ path

using path = std::filesystem::path

Definition at line 122 of file PythonApplicationManager.h.

Member Function Documentation

◆ checkCandidateDirectories()

std::optional< PythonApplicationManager::Paths::path > checkCandidateDirectories ( const std::vector< path > &  candidates)
static

Definition at line 448 of file PythonApplicationManager.cpp.

◆ checkCandidateFiles()

std::optional< PythonApplicationManager::Paths::path > checkCandidateFiles ( const std::vector< path > &  candidates)
static

Definition at line 440 of file PythonApplicationManager.cpp.

◆ checkCandidatePaths()

std::optional< PythonApplicationManager::Paths::path > checkCandidatePaths ( const std::vector< path > &  candidates,
std::function< bool(path)>  existsFn 
)
static

Definition at line 456 of file PythonApplicationManager.cpp.

◆ derive()

void derive ( const Properties properties)

Definition at line 232 of file PythonApplicationManager.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ findArmarXPackagePath()

PythonApplicationManager::Paths::path findArmarXPackagePath ( const Properties properties) const

Definition at line 277 of file PythonApplicationManager.cpp.

+ Here is the call graph for this function:

◆ findPythonBinaryPath()

auto findPythonBinaryPath ( const Properties properties) const

Definition at line 394 of file PythonApplicationManager.cpp.

◆ findPythonPackagePath()

PythonApplicationManager::Paths::path findPythonPackagePath ( const Properties properties) const

Definition at line 289 of file PythonApplicationManager.cpp.

◆ findPythonScriptPath()

PythonApplicationManager::Paths::path findPythonScriptPath ( const Properties properties) const

Definition at line 296 of file PythonApplicationManager.cpp.

◆ findVenvPath()

PythonApplicationManager::Paths::path findVenvPath ( const Properties properties) const

Definition at line 326 of file PythonApplicationManager.cpp.

◆ getDedicatedVenvPath()

auto getDedicatedVenvPath ( const Properties properties) const

Definition at line 426 of file PythonApplicationManager.cpp.

◆ getSharedVenvPath()

auto getSharedVenvPath ( const Properties properties) const

Definition at line 432 of file PythonApplicationManager.cpp.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const Paths rhs 
)
friend

Definition at line 221 of file PythonApplicationManager.cpp.

Member Data Documentation

◆ armarxPackagePath

path armarxPackagePath

Definition at line 128 of file PythonApplicationManager.h.

◆ pythonBinPath

path pythonBinPath

Definition at line 132 of file PythonApplicationManager.h.

◆ pythonPackagePath

path pythonPackagePath

Definition at line 129 of file PythonApplicationManager.h.

◆ pythonScriptPath

path pythonScriptPath

Definition at line 130 of file PythonApplicationManager.h.

◆ sharedVenvsDir

std::string sharedVenvsDir = "shared_venvs"

Definition at line 124 of file PythonApplicationManager.h.

◆ venvPath

path venvPath

Definition at line 131 of file PythonApplicationManager.h.

◆ workingDir

path workingDir

Definition at line 133 of file PythonApplicationManager.h.


The documentation for this struct was generated from the following files: