CARDS 2.4.87
Package manager for the NuTyX GNU/Linux distribution
console_forwarder< Elem, Tr > Class Template Reference

Forward standard output console to specific listener. More...

#include <console_forwarder.h>

Inheritance diagram for console_forwarder< Elem, Tr >:

Public Member Functions

 console_forwarder (std::ostream &stream, pfncb cb)
 
std::streamsize xsputn (const Elem *_Ptr, std::streamsize _Count)
 
Tr::int_type overflow (typename Tr::int_type v)
 

Protected Attributes

std::basic_ostream< Elem, Tr > & m_stream
 
std::streambuf * m_buf
 
pfncb m_cb
 

Detailed Description

template<class Elem = char, class Tr = std::char_traits<Elem>>
class console_forwarder< Elem, Tr >

Forward standard output console to specific listener.

Cout string flow is redirected to a basic ostream to be handled by GUI event handler


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