Finality Engine
Loading...
Searching...
No Matches
FINALITY::ExternalTools Class Reference

#include <ExternalTools.h>

Public Member Functions

void CloseProject ()
void OpenProject (const std::filesystem::path &root, const std::string &scriptDirectory="Assets/Scripts", const std::string &name={})
void Save ()
void Detect ()
void Update ()
bool OpenScript (const std::filesystem::path &source, bool allowGeneration=true)

Static Public Member Functions

static std::string SafeName (std::string name)
static std::wstring QuoteArgument (const std::wstring &value)
static std::wstring ScriptArguments (const std::filesystem::path &executable, const std::filesystem::path &root, const std::filesystem::path &solution, const std::filesystem::path &source)

Public Attributes

std::filesystem::path ProjectRoot
std::string Executable
std::string ProjectName
std::vector< std::string > Installations
std::string Status
std::future< ProcessResult > Detection
std::future< ProcessResult > SolutionGeneration
std::filesystem::path PendingSource
std::filesystem::path PendingVisualStudioSource
std::filesystem::path PendingVisualStudioSolution
std::chrono::steady_clock::time_point VisualStudioDeadline {}
std::chrono::steady_clock::time_point VisualStudioRetry {}
std::string ScriptDirectory = "Assets/Scripts"

Detailed Description

Todo
TODO: Document ExternalTools class semantics, ownership and usage.

Definition at line 25 of file ExternalTools.h.

Member Function Documentation

◆ SafeName()

std::string FINALITY::ExternalTools::SafeName ( std::string name)
inlinestatic

Definition at line 40 of file ExternalTools.h.

◆ QuoteArgument()

std::wstring FINALITY::ExternalTools::QuoteArgument ( const std::wstring & value)
inlinestatic

Definition at line 52 of file ExternalTools.h.

◆ ScriptArguments()

std::wstring FINALITY::ExternalTools::ScriptArguments ( const std::filesystem::path & executable,
const std::filesystem::path & root,
const std::filesystem::path & solution,
const std::filesystem::path & source )
inlinestatic

Definition at line 70 of file ExternalTools.h.

◆ CloseProject()

void FINALITY::ExternalTools::CloseProject ( )
inline

Definition at line 87 of file ExternalTools.h.

◆ OpenProject()

void FINALITY::ExternalTools::OpenProject ( const std::filesystem::path & root,
const std::string & scriptDirectory = "Assets/Scripts",
const std::string & name = {} )
inline

Definition at line 103 of file ExternalTools.h.

◆ Save()

void FINALITY::ExternalTools::Save ( )
inline

Definition at line 115 of file ExternalTools.h.

◆ Detect()

void FINALITY::ExternalTools::Detect ( )
inline

Definition at line 121 of file ExternalTools.h.

◆ Update()

void FINALITY::ExternalTools::Update ( )
inline

Definition at line 136 of file ExternalTools.h.

◆ OpenScript()

bool FINALITY::ExternalTools::OpenScript ( const std::filesystem::path & source,
bool allowGeneration = true )
inline

Definition at line 204 of file ExternalTools.h.

Member Data Documentation

◆ ProjectRoot

std::filesystem::path FINALITY::ExternalTools::ProjectRoot

Definition at line 28 of file ExternalTools.h.

◆ Executable

std::string FINALITY::ExternalTools::Executable

Definition at line 29 of file ExternalTools.h.

◆ ProjectName

std::string FINALITY::ExternalTools::ProjectName

Definition at line 30 of file ExternalTools.h.

◆ Installations

std::vector<std::string> FINALITY::ExternalTools::Installations

Definition at line 31 of file ExternalTools.h.

◆ Status

std::string FINALITY::ExternalTools::Status

Definition at line 32 of file ExternalTools.h.

◆ Detection

std::future<ProcessResult> FINALITY::ExternalTools::Detection

Definition at line 33 of file ExternalTools.h.

◆ SolutionGeneration

std::future<ProcessResult> FINALITY::ExternalTools::SolutionGeneration

Definition at line 34 of file ExternalTools.h.

◆ PendingSource

std::filesystem::path FINALITY::ExternalTools::PendingSource

Definition at line 35 of file ExternalTools.h.

◆ PendingVisualStudioSource

std::filesystem::path FINALITY::ExternalTools::PendingVisualStudioSource

Definition at line 36 of file ExternalTools.h.

◆ PendingVisualStudioSolution

std::filesystem::path FINALITY::ExternalTools::PendingVisualStudioSolution

Definition at line 36 of file ExternalTools.h.

◆ VisualStudioDeadline

std::chrono::steady_clock::time_point FINALITY::ExternalTools::VisualStudioDeadline {}

Definition at line 37 of file ExternalTools.h.

◆ VisualStudioRetry

std::chrono::steady_clock::time_point FINALITY::ExternalTools::VisualStudioRetry {}

Definition at line 37 of file ExternalTools.h.

◆ ScriptDirectory

std::string FINALITY::ExternalTools::ScriptDirectory = "Assets/Scripts"

Definition at line 38 of file ExternalTools.h.


The documentation for this class was generated from the following file: