SourcePro® 2023.1 |
SourcePro® API Reference Guide |
A body class for a trace level filter that accepts only one client. More...
#include <rw/trace/RWTraceSingleClientFilterImp.h>
Public Member Functions | |
virtual | ~RWTraceSingleClientFilterImp (void) |
void | disconnectClient (void) |
Public Member Functions inherited from RWTraceEventFilterImp | |
virtual | ~RWTraceEventFilterImp (void) |
void | add (RWTraceEventClientImp *clientP) |
void | remove (RWTraceEventClientImp *clientP) |
Public Member Functions inherited from RWTraceEventClientImp | |
virtual | ~RWTraceEventClientImp (void) |
void | addReference (void) |
void | connect (RWTraceEventFilter &filter) |
void | connectToManager (void) |
void | disconnect (void) |
unsigned | removeReference (void) |
void | trace (const RWTraceEvent &ev) |
Static Public Member Functions | |
static RWTraceSingleClientFilter | make (void) |
Protected Member Functions | |
RWTraceSingleClientFilterImp (void) | |
virtual void | doAdd (RWTraceEventClientImp *clientP) |
virtual void | doDisconnectClient () |
virtual void | doRemove (RWTraceEventClientImp *clientP) |
virtual void | doTrace (const RWTraceEvent &ev) |
RWTraceEventClientImp * | getClient () |
Protected Member Functions inherited from RWTraceEventFilterImp | |
RWTraceEventFilterImp (void) | |
Protected Member Functions inherited from RWTraceEventClientImp | |
RWTraceEventClientImp (void) | |
RWMutex & | getMutex (void) |
RWTraceSingleClientFilterImp is a filter implementation that accepts one client to which it forwards trace events. This class is intended to be the base class for filters that accept one client and is not intended to be directly instantiated.
Attempting to add a client if the filter already has one throws an RWTraceClientAlreadyAdded exception.
|
virtual |
Destructor.
|
protected |
Default constructor.
void RWTraceSingleClientFilterImp::disconnectClient | ( | void | ) |
Disconnects the attached client.
|
protectedvirtual |
Attaches a client to the filter. Throws an exception if there already is a client.
Implements RWTraceEventFilterImp.
|
protectedvirtual |
Disconnects the attached client.
|
protectedvirtual |
Detaches the client.
Implements RWTraceEventFilterImp.
|
protectedvirtual |
Forwards the trace event to the attached client.
Implements RWTraceEventClientImp.
Reimplemented in RWTraceLevelFilterImp.
|
inlineprotected |
Returns a pointer to the attached client.
|
static |
Creates a new RWTraceSingleClientFilterImp instance.
Copyright © 2023 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |