#include <MREmbeddedPython.h>
|
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) |
|
◆ 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 |
◆ pythonConfig
MRPYTHON_API Config MR::EmbeddedPython::pythonConfig |
|
static |
The documentation for this class was generated from the following file: