CARLA
Public Member Functions | List of all members
carla::PythonUtil::AcquireGILDeleter Class Reference

A deleter that can be passed to a smart pointer to acquire the GIL before destroying the object. More...

#include <PythonUtil.h>

Public Member Functions

template<typename T >
void operator() (T *ptr) const
 

Detailed Description

A deleter that can be passed to a smart pointer to acquire the GIL before destroying the object.

Definition at line 83 of file PythonUtil.h.

Member Function Documentation

◆ operator()()

template<typename T >
void carla::PythonUtil::AcquireGILDeleter::operator() ( T *  ptr) const
inline

Definition at line 87 of file PythonUtil.h.

References carla::PythonUtil::ThisThreadHasTheGIL().

+ Here is the call graph for this function:

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