ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
Runtime::RegisteredPlugin Struct Reference

#include <Runtime.h>

Classes

struct  Action
 

Static Public Member Functions

static RegisteredPlugin InstanciatePlugin (pybind11::object class_type, const QString &name) noexcept(false)
 Instanciate a plugin with a known name. More...
 
static RegisteredPlugin InstanciatePlugin (pybind11::object class_type) noexcept(false)
 

Public Attributes

QString name
 
pybind11::object instance
 
std::vector< Action > actions
 
pybind11::object mainIcon
 

Member Function Documentation

◆ InstanciatePlugin() [1/2]

static RegisteredPlugin Runtime::RegisteredPlugin::InstanciatePlugin ( pybind11::object  class_type)
inlinestaticnoexcept

Instanciate a plugin with an unknown name. In this case the name will be infered from the python class name.

References InstanciatePlugin(), and name.

◆ InstanciatePlugin() [2/2]

static RegisteredPlugin Runtime::RegisteredPlugin::InstanciatePlugin ( pybind11::object  class_type,
const QString &  name 
)
inlinestaticnoexcept

Member Data Documentation

◆ actions

std::vector<Action> Runtime::RegisteredPlugin::actions

◆ instance

pybind11::object Runtime::RegisteredPlugin::instance

Referenced by InstanciatePlugin().

◆ mainIcon

pybind11::object Runtime::RegisteredPlugin::mainIcon

Referenced by InstanciatePlugin().

◆ name

QString Runtime::RegisteredPlugin::name

Referenced by InstanciatePlugin().


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