TSDuck v3.40-4033
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
tsReportBuffer.h File Reference

A subclass of ts::Report which logs messages in an internal buffer. More...

Classes

class  ts::ReportBuffer< SAFETY >
 A subclass of ts::Report which logs all messages in an internal buffer. More...
 

Namespaces

namespace  ts
 TSDuck namespace, containing all TSDuck classes and functions.
 

Functions

template<ts::ThreadSafety SAFETY>
std::ostream & operator<< (std::ostream &strm, const ts::ReportBuffer< SAFETY > &log)
 Output operator for the class ts::ReportBuffer on standard text streams.
 

Detailed Description

A subclass of ts::Report which logs messages in an internal buffer.

Function Documentation

◆ operator<<()

template<ts::ThreadSafety SAFETY>
std::ostream & operator<< ( std::ostream &  strm,
const ts::ReportBuffer< SAFETY > &  log 
)
inline

Output operator for the class ts::ReportBuffer on standard text streams.

Parameters
[in,out]strmAn standard stream in output mode.
[in]logA ts::ReportBuffer object.
Returns
A reference to the strm object.