VISR  0.11.1
Versatile Interactive Scene Renderer
gil_ensure_guard.hpp
Go to the documentation of this file.
1 /* Copyright Institute of Sound and Vibration Research - All rights reserved */
2 
3 #ifndef VISR_LIBPYTHONSUPPORT_GIL_ENSURE_GUARD_HPP_INCLUDED
4 #define VISR_LIBPYTHONSUPPORT_GIL_ENSURE_GUARD_HPP_INCLUDED
5 
6 #include "export_symbols.hpp"
7 
8 #include <memory>
9 
10 namespace visr
11 {
12 namespace pythonsupport
13 {
14 
23 class VISR_PYTHONSUPPORT_LIBRARY_SYMBOL GilEnsureGuard
24 {
25 public:
30 
35  ~GilEnsureGuard();
36 private:
40  class Impl;
41 
46  std::unique_ptr<Impl> mImpl;
47 };
48 
49 } // namespace pythonsupport
50 } // namespace visr
51 
52 #endif // #ifndef VISR_LIBPYTHONSUPPORT_GIL_ENSURE_GUARD_HPP_INCLUDED
Definition: options.cpp:10
Definition: gil_ensure_guard.hpp:23
Definition: gil_ensure_guard.cpp:14