DynExp
Highly flexible laboratory automation for dynamically changing experiments.
PyUtil.h File Reference

Provides utilities related to pybind11 within DynExp's Util namespace. More...

Go to the source code of this file.

Classes

class  Util::PyStdoutLoggerWrapper
 Forwards Python's stdout to Util::EventLogger instance defined in Util::EventLog(). More...
 
class  Util::PyGilReleasedInterpreter
 Initialize Python interpreter and directly release the GIL after construction. More...
 
class  Util::PyObject< T, >
 Wraps a class derived from pybind11::object and ensures that the GIL is acquired when the PyObject is destroyed. For any other operation on this wrapper, the GIL still needs to be acquired manually before! More...
 

Namespaces

 Util
 DynExp's Util namespace contains commonly used functions and templates as well as extensions to Qt and its widgets.
 

Variables

static constexpr auto Util::PyTab = " "
 Character sequence to indent a Python instruction by one level. More...
 

Detailed Description

Provides utilities related to pybind11 within DynExp's Util namespace.

Definition in file PyUtil.h.