27#ifndef Q_DEBUG_STREAM_H
28#define Q_DEBUG_STREAM_H
30#include "../../common/typeDefs.h"
38class QDebugStream :
public QObject,
public std::basic_streambuf<char>
53 virtual std::basic_streambuf<char>::int_type
overflow(int_type v);
55 virtual std::streamsize
xsputn(
const char *p, std::streamsize n);
63#if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0))
65 uint32 m_randWaitThreshold;
68 int m_randWaitThreshold;
Definition qDebugStream.h:39
virtual std::basic_streambuf< char >::int_type overflow(int_type v)
this method overwrites a corresponding method in basic_streambuf class and is invoked,...
Definition qDebugStream.cpp:126
ito::tStreamMessageType msg_type
Definition qDebugStream.h:61
virtual std::streamsize xsputn(const char *p, std::streamsize n)
method invoked if new content has been added to stream
Definition qDebugStream.cpp:93
std::ostream & m_stream
Definition qDebugStream.h:58
~QDebugStream()
destructor
Definition qDebugStream.cpp:75
std::streambuf * m_old_buf
Definition qDebugStream.h:59
std::string m_string
Definition qDebugStream.h:60
QDebugStream(std::ostream &stream, ito::tStreamMessageType)
constructor
Definition qDebugStream.cpp:44
void flushStream(QString, ito::tStreamMessageType)
Definition apiFunctionsGraph.cpp:40
tStreamMessageType
Definition typeDefs.h:77