rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWTraceOstreamClient Class Reference
[Execution Tracing]

A handle class for a trace event client that sends all events to an std::ostream. More...

#include <rw/trace/RWTraceOstreamClient.h>

Inheritance diagram for RWTraceOstreamClient:
RWTraceEventClient

List of all members.

Public Member Functions

 RWTraceOstreamClient (std::ostream &ostr=std::cerr)
 RWTraceOstreamClient (RWTraceOstreamClientImp *bodyP)
 RWTraceOstreamClient (RWStaticCtor)
 RWTraceOstreamClient (const RWTraceOstreamClient &second)
 ~RWTraceOstreamClient (void)

Detailed Description

RWTraceOstreamClient is a trace client that sends all events to an std::ostream. If no std::ostream is specified, uses std::cerr by default.

Examples

 #include <rw/trace/trace.h>
 . . .
 RWTraceOstreamClient myTraceClient(cerr);
See also:
RWTraceOstreamClientImp

Constructor & Destructor Documentation

RWTraceOstreamClient::RWTraceOstreamClient ( std::ostream &  ostr = std::cerr  ) 

Creates a client that outputs trace events to the specified std::ostream. If no std::ostream is specified, uses std::cerr by default.

RWTraceOstreamClient::RWTraceOstreamClient ( RWTraceOstreamClientImp bodyP  ) 

Attaches to and increments the reference count on bodyP.

RWTraceOstreamClient::RWTraceOstreamClient ( RWStaticCtor   ) 

Constructs a global static handle instance (that may be used before being constructed).

RWTraceOstreamClient::RWTraceOstreamClient ( const RWTraceOstreamClient second  ) 

Attaches to and increments the reference count on the body of second.

RWTraceOstreamClient::~RWTraceOstreamClient ( void   ) 

Destructor.

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© 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.