Module: Threads Package: Execution Tracing
RWTraceOstreamClientImp RWTraceEventClientImp RWReference
#include <rw/trace/RWTraceOstreamClientImp.h>
RWTraceOstreamClientImp is the implementation (body) for RWTraceOstreamClient.
static RWTraceEventClient make(ostream& ostr);
Creates a new RWTraceOstreamClientImp instance that will output to the specified std::ostream. If no ostream is specified, uses cerr by default.
~RWTraceOstreamClientImp();
Destructor.
RWTraceOstreamClientImp(ostream& ostr = std::cerr);
Constructor that takes an output stream. Default argument sets the output stream to cerr.
ostream& getOstream() const;
Returns the output stream for trace events.
virtual void doTrace(const RWTraceEvent& ev);
Sends trace events to the output stream.
© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.