#include "libslic3r/LifecycleEvents.hpp"#include <exception>#include <pybind11/embed.h>#include <boost/log/trivial.hpp>#include <memory>#include <optional>#include <stdexcept>#include <string>#include "PythonPluginInterface.hpp"#include "PythonInterpreter.hpp"#include "PluginFsUtils.hpp"#include "PluginAuditManager.hpp"#include "pybind11/cast.h"#include <pybind11/pybind11.h>#include <pybind11/gil.h>#include <pybind11/pytypes.h>#include <utility>Go to the source code of this file.
Classes | |
| struct | Slic3r::ScriptExecuteInvocation |
| class | Slic3r::PyPluginCommonTrampoline< Base > |
| class | Slic3r::PyPluginInterfaceTrampoline |
Namespaces | |
| namespace | Slic3r |
| |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/ | |
Macros | |
| #define | ORCA_PY_LOGGED_OVERRIDE_BODY(override_call) |
| #define | ORCA_PY_AUDIT_SCOPE() |
| #define | ORCA_PY_OVERRIDE_AUDITED(audit_setup, override_macro, ret, base, name, ...) |
Functions | |
| bool | Slic3r::py_is_coroutine (const pybind11::handle &object) |
| ScriptExecuteInvocation | Slic3r::invoke_script_execute (const std::shared_ptr< PluginCapabilityInterface > &capability) |
| struct Slic3r::ScriptExecuteInvocation |
| Class Members | ||
|---|---|---|
| object | awaitable | |
| string | error | |
| bool | is_async = false | |
| ExecutionResult | result | |
| #define ORCA_PY_AUDIT_SCOPE | ( | ) |
Referenced by Slic3r::PyPluginCommonTrampoline< Base >::get_default_config(), Slic3r::PyPagesPluginCapabilityTrampoline::on_message(), and Slic3r::PyPrinterAgentPluginCapabilityTrampoline::request_bind_ticket().
| #define ORCA_PY_LOGGED_OVERRIDE_BODY | ( | override_call | ) |
Referenced by Slic3r::PyPagesPluginCapabilityTrampoline::on_message().
| #define ORCA_PY_OVERRIDE_AUDITED | ( | audit_setup, | |
| override_macro, | |||
| ret, | |||
| base, | |||
| name, | |||
| ... ) |
Referenced by Slic3r::PyScriptPluginCapabilityTrampoline::execute(), Slic3r::PySlicingPipelinePluginCapabilityTrampoline::execute(), Slic3r::PyPluginCommonTrampoline< Base >::get_config_ui(), Slic3r::PyPagesPluginCapabilityTrampoline::get_icon(), Slic3r::PyPluginCommonTrampoline< Base >::get_name(), Slic3r::PyResourceTexturePluginCapabilityTrampoline::get_texture_dir(), Slic3r::PyPluginInterfaceTrampoline::get_type(), Slic3r::PyPagesPluginCapabilityTrampoline::get_ui(), Slic3r::PyPluginCommonTrampoline< Base >::has_config_ui(), Slic3r::PyPluginCommonTrampoline< Base >::on_cancelled(), Slic3r::PyPluginCommonTrampoline< Base >::on_lifecycle_event(), Slic3r::PyPluginCommonTrampoline< Base >::on_load(), and Slic3r::PyPluginCommonTrampoline< Base >::on_unload().