#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/plugin/PluginManager.hpp>
Classes | |
| struct | Impl |
Public Member Functions | |
| ~ScriptAsyncRuntime () | |
| ScriptAsyncRuntime (const ScriptAsyncRuntime &)=delete | |
| ScriptAsyncRuntime & | operator= (const ScriptAsyncRuntime &)=delete |
| bool | start (const std::string &plugin_key, const std::string &capability_name, std::shared_ptr< PluginCapabilityInterface > capability, std::function< void(const ScriptCompletion &)> on_done) |
| void | cancel_plugin (const std::string &plugin_key) |
| bool | has_active_run (const PluginCapabilityInterface *capability) const |
| void | shutdown () |
| void | reset () |
Static Public Member Functions | |
| static ScriptAsyncRuntime & | instance () |
| static pybind11::object | current_loop () |
Private Member Functions | |
| ScriptAsyncRuntime () | |
Private Attributes | |
| std::unique_ptr< Impl > | m_impl |
| Slic3r::ScriptAsyncRuntime::~ScriptAsyncRuntime | ( | ) |
|
delete |
References ScriptAsyncRuntime().
Referenced by ScriptAsyncRuntime(), instance(), and operator=().
|
private |
References m_impl, and Slic3r::make_unique().
| void Slic3r::ScriptAsyncRuntime::cancel_plugin | ( | const std::string & | plugin_key | ) |
References m_impl.
Referenced by Slic3r::PluginManager::cancel_and_wait_for_capabilities().
|
static |
| bool Slic3r::ScriptAsyncRuntime::has_active_run | ( | const PluginCapabilityInterface * | capability | ) | const |
|
static |
References ScriptAsyncRuntime().
Referenced by Slic3r::PluginManager::cancel_and_wait_for_capabilities(), Slic3r::PluginManager::initialize(), Slic3r::PluginManager::instance(), Slic3r::PluginManager::launch_script_capability(), and Slic3r::PluginManager::shutdown().
|
delete |
| void Slic3r::ScriptAsyncRuntime::reset | ( | ) |
References m_impl, and shutdown().
Referenced by Slic3r::PluginManager::initialize().
| void Slic3r::ScriptAsyncRuntime::shutdown | ( | ) |
References m_impl.
Referenced by ~ScriptAsyncRuntime(), reset(), and Slic3r::PluginManager::shutdown().
| bool Slic3r::ScriptAsyncRuntime::start | ( | const std::string & | plugin_key, |
| const std::string & | capability_name, | ||
| std::shared_ptr< PluginCapabilityInterface > | capability, | ||
| std::function< void(const ScriptCompletion &)> | on_done ) |
References Slic3r::PythonInterpreter::instance(), and m_impl.
Referenced by Slic3r::PluginManager::launch_script_capability().
|
private |
Referenced by ScriptAsyncRuntime(), cancel_plugin(), has_active_run(), reset(), shutdown(), and start().