A body class for clients that send all trace events to an std::ostream.
More...
#include <rw/trace/RWTraceOstreamClientImp.h>
◆ ~RWTraceOstreamClientImp()
RWTraceOstreamClientImp::~RWTraceOstreamClientImp |
( |
void | | ) |
|
◆ RWTraceOstreamClientImp()
RWTraceOstreamClientImp::RWTraceOstreamClientImp |
( |
std::ostream & | ostr = std::cerr | ) |
|
|
protected |
Constructor that takes an output stream. Default argument sets the output stream to std::cerr.
◆ doTrace()
virtual void RWTraceOstreamClientImp::doTrace |
( |
const RWTraceEvent & | ev | ) |
|
|
protectedvirtual |
◆ getOstream()
std::ostream & RWTraceOstreamClientImp::getOstream |
( |
| ) |
const |
|
inlineprotected |
Returns the output stream for trace events.
◆ make()
static RWTraceEventClient RWTraceOstreamClientImp::make |
( |
std::ostream & | ostr = std::cerr | ) |
|
|
static |
Creates a new RWTraceOstreamClientImp instance that outputs trace events to the specified std::ostream. If no std::ostream is specified, uses std::cerr by default.