ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
qt_input_streambuf Class Reference

Stream buffer that blocks on read until data is fed from the UI. More...

#include <ShellMdiWindow.hpp>

Inherits streambuf.

Collaboration diagram for qt_input_streambuf:
Collaboration graph

Public Member Functions

void feed_line (const std::string &line)
 Feed a line of input (called from UI thread).
 
void close ()
 Signal EOF to unblock the reader.
 

Protected Member Functions

int_type underflow () override
 

Detailed Description

Stream buffer that blocks on read until data is fed from the UI.

Uses a queue of lines. underflow() blocks on a condition variable until feed_line() provides data or close() sets the EOF flag.