ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
Runtime Namespace Reference

Classes

class  PythonPluginInterface
 Interface that 'class-style' PythonPlugin must implement to be loaded. More...
 
class  PythonPluginTrampoline
 
struct  RegisteredPlugin
 

Functions

ccGuiPythonInstance * GetInstance () noexcept
 
ccCommandLineInterface * GetCmdLineInstance () noexcept
 
void setMainAppInterfaceInstance (ecvMainAppInterface *appInterface) noexcept(false)
 
void unsetMainAppInterfaceInstance () noexcept
 Unsets the app interface pointer. More...
 
void setCmdLineInterfaceInstance (ccCommandLineInterface *cmdLine) noexcept
 
void unsetCmdLineInterfaceInstance () noexcept
 Unsets the pointer to the cmdline app interface. More...
 

Variables

static ccGuiPythonInstance * s_pythonInstance {nullptr}
 
static ccCommandLineInterface * s_cmdLineInstance {nullptr}
 

Function Documentation

◆ GetCmdLineInstance()

ccCommandLineInterface* Runtime::GetCmdLineInstance ( )
noexcept

References s_cmdLineInstance.

Referenced by PYBIND11_EMBEDDED_MODULE().

◆ GetInstance()

◆ setCmdLineInterfaceInstance()

void Runtime::setCmdLineInterfaceInstance ( ccCommandLineInterface *  cmdLine)
noexcept

Sets the internal pointer to the command line app interface that python script will be able to access in the CMD Line mode

References s_cmdLineInstance.

Referenced by PythonPlugin::registerCommands().

◆ setMainAppInterfaceInstance()

void Runtime::setMainAppInterfaceInstance ( ecvMainAppInterface *  appInterface)
noexcept

Sets the internal pointer to the app interface that python scripts will be able to access in GUI mode

References s_pythonInstance.

Referenced by PythonPlugin::setMainAppInterface().

◆ unsetCmdLineInterfaceInstance()

void Runtime::unsetCmdLineInterfaceInstance ( )
noexcept

Unsets the pointer to the cmdline app interface.

References s_cmdLineInstance.

Referenced by PythonPlugin::~PythonPlugin().

◆ unsetMainAppInterfaceInstance()

void Runtime::unsetMainAppInterfaceInstance ( )
noexcept

Unsets the app interface pointer.

References s_pythonInstance.

Referenced by PythonPlugin::~PythonPlugin().

Variable Documentation

◆ s_cmdLineInstance

ccCommandLineInterface* Runtime::s_cmdLineInstance {nullptr}
static

◆ s_pythonInstance

ccGuiPythonInstance* Runtime::s_pythonInstance {nullptr}
static