ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
RootUtils::PyGILStateEnsure Class Reference

#include <PyAthenaGILStateEnsure.h>

Collaboration diagram for RootUtils::PyGILStateEnsure:

Public Member Functions

 PyGILStateEnsure ()
 Inline methods:
More...
 
 PyGILStateEnsure (const PyGILStateEnsure &)=delete
 
PyGILStateEnsureoperator= (const PyGILStateEnsure &)=delete
 
 ~PyGILStateEnsure ()
 

Private Attributes

PyGILState_STATE m_gstate
 

Detailed Description

Definition at line 19 of file PyAthenaGILStateEnsure.h.

Constructor & Destructor Documentation

◆ PyGILStateEnsure() [1/2]

RootUtils::PyGILStateEnsure::PyGILStateEnsure ( )
inline

Inline methods:

Definition at line 35 of file PyAthenaGILStateEnsure.h.

36  : m_gstate (PyGILState_Ensure())
37 {
38 }

◆ PyGILStateEnsure() [2/2]

RootUtils::PyGILStateEnsure::PyGILStateEnsure ( const PyGILStateEnsure )
delete

◆ ~PyGILStateEnsure()

RootUtils::PyGILStateEnsure::~PyGILStateEnsure ( )
inline

Definition at line 40 of file PyAthenaGILStateEnsure.h.

41 {
42  PyGILState_Release( m_gstate );
43 }

Member Function Documentation

◆ operator=()

PyGILStateEnsure& RootUtils::PyGILStateEnsure::operator= ( const PyGILStateEnsure )
delete

Member Data Documentation

◆ m_gstate

PyGILState_STATE RootUtils::PyGILStateEnsure::m_gstate
private

Definition at line 28 of file PyAthenaGILStateEnsure.h.


The documentation for this class was generated from the following file:
RootUtils::PyGILStateEnsure::m_gstate
PyGILState_STATE m_gstate
Definition: PyAthenaGILStateEnsure.h:28