|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <qdebugstream.hpp>
Public Member Functions | |
| QDebugStream (std::ostream &stream, QTextEdit *text_edit) | |
| ~QDebugStream () | |
Protected Member Functions | |
| virtual int_type | overflow (int_type v) |
| virtual std::streamsize | xsputn (const char *p, std::streamsize n) |
| virtual bool | event (QEvent *event) |
Private Attributes | |
| std::ostream & | m_stream |
| std::streambuf * | m_old_buf |
| std::string | m_string |
| QTextEdit * | log_window |
| QMutex * | m_mutex |
| QString | m_text |
Redirects a std::ostream (such as cout or cerr) to a text edit. In order to reset the stream simply delete the QDebugStream object.
Usage:
Definition at line 27 of file qdebugstream.hpp.
|
inline |
Definition at line 33 of file qdebugstream.hpp.
|
inline |
Definition at line 40 of file qdebugstream.hpp.
|
protectedvirtual |
Definition at line 20 of file qdebugstream.cpp.
|
protectedvirtual |
Definition at line 34 of file qdebugstream.cpp.
|
protectedvirtual |
Definition at line 4 of file qdebugstream.cpp.
|
private |
Definition at line 57 of file qdebugstream.hpp.
|
private |
Definition at line 58 of file qdebugstream.hpp.
|
private |
Definition at line 55 of file qdebugstream.hpp.
|
private |
Definition at line 54 of file qdebugstream.hpp.
|
private |
Definition at line 56 of file qdebugstream.hpp.
|
private |
Definition at line 59 of file qdebugstream.hpp.