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< 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)
 

Member Typedef Documentation

◆ path

using path = std::filesystem::path

Member Function Documentation

◆ checkCandidateDirectories()

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

◆ checkCandidateFiles()

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

◆ checkCandidatePaths()

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

◆ derive()

void derive ( const Properties & properties)

◆ findArmarXPackagePath()

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

◆ findPythonBinaryPath()

auto findPythonBinaryPath ( const Properties & properties) const

◆ findPythonPackagePath()

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

◆ findPythonScriptPath()

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

◆ findVenvPath()

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

◆ getDedicatedVenvPath()

auto getDedicatedVenvPath ( const Properties & properties) const

◆ getSharedVenvPath()

auto getSharedVenvPath ( const Properties & properties) const

Friends And Related Symbol Documentation

◆ operator<<

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

Member Data Documentation

◆ armarxPackagePath

path armarxPackagePath

◆ pythonBinPath

path pythonBinPath

◆ pythonPackagePath

path pythonPackagePath

◆ pythonScriptPath

path pythonScriptPath

◆ sharedVenvsDir

std::string sharedVenvsDir = "shared_venvs"

◆ venvPath

path venvPath

◆ workingDir

path workingDir

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