SourcePro® API Reference Guide

 
Loading...
Searching...
No Matches
RWTraceOstreamClient Class Reference

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

Public Member Functions

 RWTraceOstreamClient ()
 
 RWTraceOstreamClient (const RWTraceOstreamClient &second)
 
 RWTraceOstreamClient (RWStaticCtor)
 
 RWTraceOstreamClient (RWTraceOstreamClientImp *bodyP)
 
 RWTraceOstreamClient (std::ostream &ostr)
 
 ~RWTraceOstreamClient (void)
 
- Public Member Functions inherited from RWTraceEventClient
 RWTraceEventClient ()
 
 RWTraceEventClient (const RWTraceEventClient &second)
 
 RWTraceEventClient (RWStaticCtor)
 
 RWTraceEventClient (RWTraceEventClientImp *bodyP)
 
virtual ~RWTraceEventClient (void)
 
void connect (RWTraceEventFilter &filter)
 
void connectToManager (void)
 
void disconnect (void)
 
bool isValid (void) const
 
bool operator!= (const RWTraceEventClient &second) const
 
RWTraceEventClientoperator= (const RWTraceEventClient &second)
 
RWTraceEventClientoperator= (RWTraceEventClientImp *ptr)
 
bool operator== (const RWTraceEventClient &second) const
 
void orphan (void)
 
void trace (const RWTraceEvent &ev)
 
void validate (void) const
 

Additional Inherited Members

- Protected Member Functions inherited from RWTraceEventClient
RWTraceEventClientImpgetBody (void) const
 
void transfer (RWTraceEventClientImp *bodyP=0)
 

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.

Example
#include <rw/trace/trace.h>
RWTraceOstreamClient myTraceClient(std::cerr);
A handle class for a trace event client that sends all events to an std::ostream.
Definition RWTraceOstreamClient.h:49
See also
RWTraceOstreamClientImp

Constructor & Destructor Documentation

◆ RWTraceOstreamClient() [1/5]

RWTraceOstreamClient::RWTraceOstreamClient ( )

Creates a client that outputs trace events to std::cerr.

◆ RWTraceOstreamClient() [2/5]

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

Creates a client that outputs trace events to the specified std::ostream.

◆ RWTraceOstreamClient() [3/5]

RWTraceOstreamClient::RWTraceOstreamClient ( RWTraceOstreamClientImp * bodyP)

Attaches to and increments the reference count on bodyP.

◆ RWTraceOstreamClient() [4/5]

RWTraceOstreamClient::RWTraceOstreamClient ( RWStaticCtor )

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

◆ RWTraceOstreamClient() [5/5]

RWTraceOstreamClient::RWTraceOstreamClient ( const RWTraceOstreamClient & second)

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

◆ ~RWTraceOstreamClient()

RWTraceOstreamClient::~RWTraceOstreamClient ( void )

Destructor.

Copyright © 2024 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.