#pragma once #include "python_interop/execution/execution_gateway.h" #include "python_interop/execution/execution_gateway_bridge.h" #include "python_interop/md/md_bridge.h" #include "python_interop/md/md_provider.h" #include "python_interop/python_object.h" #include #include #include #include #include namespace python_interop { class PluginManager { void *me_; public: PluginManager(); ~PluginManager(); void start_work_thread(); void stop_work_thread(); std::future>> start_md_provider( std::string provider_name, std::string target, std::shared_ptr bridge); void stop_md_provider(const std::string &provider_name); std::future< std::shared_ptr>> start_execution_gateway( std::string gateway_name, std::string target, std::shared_ptr bridge); void stop_execution_gateway(const std::string &gateway_name); void invoke(std::function callback); }; } // namespace python_interop