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

ccGuiPythonInstanceGetInstance () noexcept
 
ccCommandLineInterfaceGetCmdLineInstance () 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 ccGuiPythonInstances_pythonInstance {nullptr}
 
static ccCommandLineInterfaces_cmdLineInstance {nullptr}
 

Function Documentation

◆ GetCmdLineInstance()

ccCommandLineInterface* Runtime::GetCmdLineInstance ( )
noexcept

Definition at line 77 of file Runtime.cpp.

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

Definition at line 99 of file Runtime.cpp.

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

Definition at line 82 of file Runtime.cpp.

References s_pythonInstance.

Referenced by PythonPlugin::setMainAppInterface().

◆ unsetCmdLineInterfaceInstance()

void Runtime::unsetCmdLineInterfaceInstance ( )
noexcept

Unsets the pointer to the cmdline app interface.

Definition at line 107 of file Runtime.cpp.

References s_cmdLineInstance.

Referenced by PythonPlugin::~PythonPlugin().

◆ unsetMainAppInterfaceInstance()

void Runtime::unsetMainAppInterfaceInstance ( )
noexcept

Unsets the app interface pointer.

Definition at line 90 of file Runtime.cpp.

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