PythonInterface.h
Go to the documentation of this file.
1 /*
2  * PythonInterface.h
3  *
4  * Created on: Jan. 14, 2021
5  * Author: mathieu
6  */
7 
8 #ifndef CORELIB_SRC_PYTHON_PYTHONINTERFACE_H_
9 #define CORELIB_SRC_PYTHON_PYTHONINTERFACE_H_
10 
11 
12 #include <string>
13 #include <rtabmap/utilite/UMutex.h>
14 
15 namespace pybind11 {
16 class scoped_interpreter;
17 class gil_scoped_release;
18 }
19 
20 namespace rtabmap {
21 
27 {
28 public:
30  virtual ~PythonInterface();
31 
32 private:
33  pybind11::scoped_interpreter* guard_;
34  pybind11::gil_scoped_release* release_;
35 };
36 
37 std::string getPythonTraceback();
38 
39 }
40 
41 #endif /* CORELIB_SRC_PYTHON_PYTHONINTERFACE_H_ */
gil_scoped_release
rtabmap::getPythonTraceback
std::string getPythonTraceback()
Definition: PythonInterface.cpp:30
rtabmap::PythonInterface::release_
pybind11::gil_scoped_release * release_
Definition: PythonInterface.h:34
rtabmap::PythonInterface
Definition: PythonInterface.h:26
scoped_interpreter
UMutex.h
rtabmap::PythonInterface::PythonInterface
PythonInterface()
Definition: PythonInterface.cpp:15
rtabmap::PythonInterface::guard_
pybind11::scoped_interpreter * guard_
Definition: PythonInterface.h:33
pybind11
rtabmap
Definition: CameraARCore.cpp:35
rtabmap::PythonInterface::~PythonInterface
virtual ~PythonInterface()
Definition: PythonInterface.cpp:23


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:15