DynExp
Highly flexible laboratory automation for dynamically changing experiments.
Util::PyStdoutLoggerWrapper Class Reference

Forwards Python's stdout to Util::EventLogger instance defined in Util::EventLog(). More...

Public Member Functions

void write (std::string Str)
 Formats the string passed to the function and writes it to the event log. More...
 
void flush ()
 Required, but does nothing. More...
 

Detailed Description

Forwards Python's stdout to Util::EventLogger instance defined in Util::EventLog().

Definition at line 24 of file PyUtil.h.

Member Function Documentation

◆ flush()

void Util::PyStdoutLoggerWrapper::flush ( )
inline

Required, but does nothing.

Definition at line 36 of file PyUtil.h.

◆ write()

void Util::PyStdoutLoggerWrapper::write ( std::string  Str)

Formats the string passed to the function and writes it to the event log.

Parameters
StrMessage to forward to DynExp's event log

Definition at line 18 of file PyUtil.cpp.


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