SourcePro® 2023.1 |
SourcePro® API Reference Guide |
A body class for trace event filter implementations. More...
#include <rw/trace/RWTraceEventFilterImp.h>
Public Member Functions | |
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) |
Protected Member Functions | |
RWTraceEventFilterImp (void) | |
virtual void | doAdd (RWTraceEventClientImp *clientP)=0 |
virtual void | doRemove (RWTraceEventClientImp *clientP)=0 |
Protected Member Functions inherited from RWTraceEventClientImp | |
RWTraceEventClientImp (void) | |
virtual void | doTrace (const RWTraceEvent &ev)=0 |
RWMutex & | getMutex (void) |
RWTraceEventFilterImp is the body for trace event filters. This class provides the interface for adding and removing clients. Derived filters are required to implement this interface.
|
virtual |
Destructor.
|
protected |
Default constructor.
void RWTraceEventFilterImp::add | ( | RWTraceEventClientImp * | clientP | ) |
|
protectedpure virtual |
Attaches a client to the filter. Derived filters must define this method.
Implemented in RWTraceSingleClientFilterImp, and RWTraceMultiClientFilterImp.
|
protectedpure virtual |
Detaches a client from the filter. Derived filters must define this method.
Implemented in RWTraceSingleClientFilterImp, and RWTraceMultiClientFilterImp.
void RWTraceEventFilterImp::remove | ( | RWTraceEventClientImp * | clientP | ) |
Public interface for removing a client. This member forwards the call to the internal protected doRemove() member. This method is called by the client implementation's disconnect() member.
Copyright © 2023 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |