MeshLib Documentation
Loading...
Searching...
No Matches
MR::EmbeddedPython Class Reference

#include <MREmbeddedPython.h>

Classes

struct  Config
 

Static Public Member Functions

static MRPYTHON_API bool isAvailable ()
 
static bool nowRunning ()
 
static MRPYTHON_API bool runString (std::string pythonString, std::function< void(bool success)> onDoneAsync=nullptr)
 
static MRPYTHON_API bool runScript (const std::filesystem::path &path)
 
static MRPYTHON_API bool isPythonScript (const std::filesystem::path &path)
 

Static Public Attributes

static MRPYTHON_API Config pythonConfig
 

Member Function Documentation

◆ isAvailable()

static MRPYTHON_API bool MR::EmbeddedPython::isAvailable ( )
static

◆ isPythonScript()

static MRPYTHON_API bool MR::EmbeddedPython::isPythonScript ( const std::filesystem::path & path)
static

◆ nowRunning()

static bool MR::EmbeddedPython::nowRunning ( )
inlinestaticnodiscard

◆ runScript()

static MRPYTHON_API bool MR::EmbeddedPython::runScript ( const std::filesystem::path & path)
static

◆ runString()

static MRPYTHON_API bool MR::EmbeddedPython::runString ( std::string pythonString,
std::function< void(bool success)> onDoneAsync = nullptr )
static

Member Data Documentation

◆ pythonConfig

MRPYTHON_API Config MR::EmbeddedPython::pythonConfig
static

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