SourcePro® API Reference Guide

 
List of all members | Public Member Functions | Protected Member Functions
RWTraceEventFilterImp Class Referenceabstract

A body class for trace event filter implementations. More...

#include <rw/trace/RWTraceEventFilterImp.h>

Inheritance diagram for RWTraceEventFilterImp:
RWTraceEventClientImp RWTraceMultiClientFilterImp RWTraceSingleClientFilterImp RWTraceLevelFilterImp

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)
 

Detailed Description

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.

See also
RWTraceEventFilter

Constructor & Destructor Documentation

virtual RWTraceEventFilterImp::~RWTraceEventFilterImp ( void  )
virtual

Destructor.

RWTraceEventFilterImp::RWTraceEventFilterImp ( void  )
protected

Default constructor.

Member Function Documentation

void RWTraceEventFilterImp::add ( RWTraceEventClientImp clientP)

Public interface for adding a client. This member forwards the call to the internal protected doAdd() member. This method is called by the client implementation's connect() member.

virtual void RWTraceEventFilterImp::doAdd ( RWTraceEventClientImp clientP)
protectedpure virtual

Attaches a client to the filter. Derived filters must define this method.

Implemented in RWTraceSingleClientFilterImp, and RWTraceMultiClientFilterImp.

virtual void RWTraceEventFilterImp::doRemove ( RWTraceEventClientImp clientP)
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.