Public Member Functions | Private Attributes | List of all members
rtabmap::PythonInterface Class Reference

#include <PythonInterface.h>

Public Member Functions

 PythonInterface ()
 
virtual ~PythonInterface ()
 

Private Attributes

pybind11::scoped_interpreter * guard_
 
pybind11::gil_scoped_release * release_
 

Detailed Description

Create a single PythonInterface on main thread at global scope before any Python classes.

Definition at line 26 of file PythonInterface.h.

Constructor & Destructor Documentation

◆ PythonInterface()

rtabmap::PythonInterface::PythonInterface ( )

Definition at line 15 of file PythonInterface.cpp.

◆ ~PythonInterface()

rtabmap::PythonInterface::~PythonInterface ( )
virtual

Definition at line 23 of file PythonInterface.cpp.

Member Data Documentation

◆ guard_

pybind11::scoped_interpreter* rtabmap::PythonInterface::guard_
private

Definition at line 33 of file PythonInterface.h.

◆ release_

pybind11::gil_scoped_release* rtabmap::PythonInterface::release_
private

Definition at line 34 of file PythonInterface.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jul 1 2024 02:42:45