cgv
Loading...
Searching...
No Matches
cgv::signal::callback_stream Class Reference

connect to the write signal of the callback stream in order to process all text written to the stream More...

#include <callback_stream.h>

Inheritance diagram for cgv::signal::callback_stream:

Public Member Functions

 callback_stream ()
 constructor sets the stream buffer of the stream to the callback_streambuf
 

Public Attributes

cgv::signal::signal< const std::string & > write
 signal to which all text written to the stream is sent
 

Protected Attributes

callback_streambuf buf
 
char buffer [256]
 

Detailed Description

connect to the write signal of the callback stream in order to process all text written to the stream

Definition at line 47 of file callback_stream.h.

Constructor & Destructor Documentation

◆ callback_stream()

cgv::signal::callback_stream::callback_stream ( )
inline

constructor sets the stream buffer of the stream to the callback_streambuf

Definition at line 56 of file callback_stream.h.

Member Data Documentation

◆ buf

callback_streambuf cgv::signal::callback_stream::buf
protected

Definition at line 50 of file callback_stream.h.

◆ buffer

char cgv::signal::callback_stream::buffer[256]
protected

Definition at line 51 of file callback_stream.h.

◆ write

cgv::signal::signal<const std::string&> cgv::signal::callback_stream::write

signal to which all text written to the stream is sent

Definition at line 54 of file callback_stream.h.


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