ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
Runtime::PythonPluginInterface Class Referenceabstract

Interface that 'class-style' PythonPlugin must implement to be loaded. More...

Inheritance diagram for Runtime::PythonPluginInterface:

Public Member Functions

virtual ~PythonPluginInterface ()=default
 
virtual py::object getIcon ()
 
virtual std::vector< Runtime::RegisteredPlugin::ActiongetActions ()=0
 

Detailed Description

Interface that 'class-style' PythonPlugin must implement to be loaded.

Definition at line 32 of file Runtime.cpp.

Constructor & Destructor Documentation

◆ ~PythonPluginInterface()

virtual Runtime::PythonPluginInterface::~PythonPluginInterface ( )
virtualdefault

Member Function Documentation

◆ getActions()

virtual std::vector<Runtime::RegisteredPlugin::Action> Runtime::PythonPluginInterface::getActions ( )
pure virtual

Called automatically after the plugin is instantiated. In this function, the plugin implementer should register actions it wishes to expose to the user.

Implemented in Runtime::PythonPluginTrampoline.

Referenced by PYBIND11_EMBEDDED_MODULE().

◆ getIcon()

virtual py::object Runtime::PythonPluginInterface::getIcon ( )
inlinevirtual

Reimplemented in Runtime::PythonPluginTrampoline.

Definition at line 37 of file Runtime.cpp.

Referenced by PYBIND11_EMBEDDED_MODULE().


The documentation for this class was generated from the following file: