OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
PythonPluginBridge.cpp File Reference
#include "PythonPluginBridge.hpp"
#include <algorithm>
#include <boost/log/trivial.hpp>
#include <exception>
#include "libslic3r/LifecycleEvents.hpp"
#include <memory>
#include <mutex>
#include <slic3r/plugin/PluginAuditManager.hpp>
#include "slic3r/plugin/PythonPluginInterface.hpp"
#include <string>
#include <unordered_map>
#include <pybind11/embed.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <vector>
#include <utility>
#include "PythonInterpreter.hpp"
#include "PluginFsUtils.hpp"
#include "PluginConfig.hpp"
#include "host/PluginHost.hpp"
#include "PyPluginPackage.hpp"
#include "PyPluginTrampoline.hpp"
#include "pluginTypes/printerAgent/PrinterAgentPluginCapability.hpp"
#include "pluginTypes/pages/PagesPluginCapability.hpp"
#include "pluginTypes/resourceTexture/ResourceTexturePluginCapability.hpp"
#include "pluginTypes/script/ScriptPluginCapability.hpp"
#include "pluginTypes/slicingPipeline/SlicingPipelinePluginCapability.hpp"
#include <pybind11/pytypes.h>
#include <pybind11/gil.h>
#include "slic3r/GUI/I18N.hpp"
#include <nlohmann/json.hpp>
Include dependency graph for PythonPluginBridge.cpp:

Go to the source code of this file.

Classes

struct  Slic3r::anonymous_namespace{PythonPluginBridge.cpp}::PluginInstanceHandle

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/
namespace  Slic3r::anonymous_namespace{PythonPluginBridge.cpp}

Functions

void Slic3r::anonymous_namespace{PythonPluginBridge.cpp}::discard_pending_capture_without_python (const std::string &plugin_key)
void Slic3r::bind_python_api (pybind11::module_ &m)
void Slic3r::install_python_thread_audit_shim ()
 PYBIND11_EMBEDDED_MODULE (orca, m)

Variables

std::string Slic3r::anonymous_namespace{PythonPluginBridge.cpp}::g_active_plugin_key
std::mutex Slic3r::anonymous_namespace{PythonPluginBridge.cpp}::g_registry_mutex
std::unordered_map< std::string, std::vector< py::object > > Slic3r::anonymous_namespace{PythonPluginBridge.cpp}::g_pending_capabilities
std::unordered_map< std::string, py::object > Slic3r::anonymous_namespace{PythonPluginBridge.cpp}::g_pending_package
std::unordered_map< std::string, PluginPermissions > Slic3r::anonymous_namespace{PythonPluginBridge.cpp}::g_pending_permissions

Function Documentation

◆ PYBIND11_EMBEDDED_MODULE()

PYBIND11_EMBEDDED_MODULE ( orca ,
m  )
void bind_python_api(pybind11::module_ &m)
Definition PythonPluginBridge.cpp:370

References Slic3r::bind_python_api().

Here is the call graph for this function: