A body class for clients that send all trace events to an std::ostream.
More...
#include <rw/trace/RWTraceOstreamClientImp.h>
RWTraceOstreamClientImp::~RWTraceOstreamClientImp |
( |
void |
| ) |
|
RWTraceOstreamClientImp::RWTraceOstreamClientImp |
( |
std::ostream & |
ostr = std::cerr | ) |
|
|
protected |
Constructor that takes an output stream. Default argument sets the output stream to std::cerr.
virtual void RWTraceOstreamClientImp::doTrace |
( |
const RWTraceEvent & |
ev | ) |
|
|
protectedvirtual |
std::ostream & RWTraceOstreamClientImp::getOstream |
( |
| ) |
const |
|
inlineprotected |
Returns the output stream for trace events.
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.