OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
PluginManager.cpp File Reference
#include "PluginManager.hpp"
#include <atomic>
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/operations.hpp>
#include <exception>
#include <functional>
#include "libslic3r/LifecycleEvents.hpp"
#include <memory>
#include <optional>
#include <pybind11/embed.h>
#include "PluginFsUtils.hpp"
#include "PluginHooks.hpp"
#include "PluginAuditManager.hpp"
#include "PyPluginTrampoline.hpp"
#include "PythonInterpreter.hpp"
#include "PythonPluginBridge.hpp"
#include "OrcaCloudServiceAgent.hpp"
#include "libslic3r/Semver.hpp"
#include "pybind11/pytypes.h"
#include "pybind11/gil.h"
#include "pybind11/pybind11.h"
#include "slic3r/GUI/GUI_App.hpp"
#include "slic3r/GUI/I18N.hpp"
#include "slic3r/GUI/NotificationManager.hpp"
#include "slic3r/GUI/format.hpp"
#include <boost/filesystem.hpp>
#include <boost/log/trivial.hpp>
#include <algorithm>
#include <chrono>
#include <mutex>
#include "slic3r/plugin/CloudPluginService.hpp"
#include <slic3r/plugin/PluginConfig.hpp>
#include <slic3r/plugin/PluginDescriptor.hpp>
#include <slic3r/plugin/PluginLoader.hpp>
#include <slic3r/plugin/PythonPluginInterface.hpp>
#include <slic3r/plugin/pluginTypes/script/ScriptPluginCapability.hpp>
#include <stdexcept>
#include <thread>
#include <unordered_set>
#include <utility>
#include <vector>
#include <wx/app.h>
#include <wx/thread.h>
#include <wx/utils.h>
#include "slic3r/GUI/ImGuiWrapper.hpp"
#include "slic3r/GUI/Plater.hpp"
Include dependency graph for PluginManager.cpp:

Go to the source code of this file.

Classes

struct  Slic3r::ScriptAsyncRuntime::Impl
struct  Slic3r::ScriptAsyncRuntime::Impl::Run

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{PluginManager.cpp}

Functions

bool Slic3r::anonymous_namespace{PluginManager.cpp}::is_cloud_version_newer (const std::string &cloud_version, const std::string &local_version)

Variables

const char *const Slic3r::anonymous_namespace{PluginManager.cpp}::LOAD_CANCELLED = "__plugin_load_cancelled__"
const char *const Slic3r::anonymous_namespace{PluginManager.cpp}::CLOUD_PLUGIN_NOT_FOUND_ERROR = "Plugin was not found in the cloud."
PyObject * Slic3r::anonymous_namespace{PluginManager.cpp}::tl_script_loop = nullptr

Class Documentation

◆ Slic3r::ScriptAsyncRuntime::Impl::Run

struct Slic3r::ScriptAsyncRuntime::Impl::Run
Collaboration diagram for Slic3r::ScriptAsyncRuntime::Impl::Run:
Class Members
atomic< bool > cancel_requested {false}
shared_ptr< PluginCapabilityInterface > capability
string capability_name
mutex handle_mutex
atomic< bool > has_loop {false}
object loop
function< void(const ScriptCompletion &)> on_done
string plugin_key
object task