|
scc 2025.09
SystemC components library
|
allows to capture the strings written to std::cout and std::cerr (MT-safe) More...
#include <io-redirector.h>
Public Member Functions | |
| void | start () |
| void | stop () |
| bool | is_active () |
| std::string | get_output (bool blocking=false) |
Static Public Member Functions | |
| static IoRedirector & | get () |
allows to capture the strings written to std::cout and std::cerr (MT-safe)
Definition at line 34 of file io-redirector.h.
|
inlinestatic |
Definition at line 46 of file io-redirector.h.
| auto util::IoRedirector::get_output | ( | bool | blocking = false | ) |
Definition at line 109 of file io-redirector.cpp.
| auto util::IoRedirector::is_active | ( | ) |
Definition at line 63 of file io-redirector.cpp.
| void util::IoRedirector::start | ( | ) |
Definition at line 47 of file io-redirector.cpp.
| void util::IoRedirector::stop | ( | ) |
Definition at line 68 of file io-redirector.cpp.