SourcePro® API Reference Guide

 
Loading...
Searching...
No Matches
RWTraceMultiClientFilterImp Class Reference

A body class for trace event filters that accept multiple clients. More...

#include <rw/trace/RWTraceMultiClientFilterImp.h>

Inheritance diagram for RWTraceMultiClientFilterImp:
RWTraceEventFilterImp RWTraceEventClientImp

Public Member Functions

virtual ~RWTraceMultiClientFilterImp (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 RWTraceEventFilter make (void)
 

Protected Member Functions

 RWTraceMultiClientFilterImp (void)
 
virtual void doAdd (RWTraceEventClientImp *clientP)
 
virtual void doRemove (RWTraceEventClientImp *clientP)
 
virtual void doTrace (const RWTraceEvent &ev)
 
RWTValOrderedVector< RWTraceEventClientImp * > getClients (void)
 
- Protected Member Functions inherited from RWTraceEventFilterImp
 RWTraceEventFilterImp (void)
 
- Protected Member Functions inherited from RWTraceEventClientImp
 RWTraceEventClientImp (void)
 
RWMutex & getMutex (void)
 

Detailed Description

RWTraceMultiClientFilterImp is a filter implementation that accepts multiple clients to which it forwards trace events. Objects of this class should be instantiated through the corresponding handle class RWTraceMultiClientFilter.

See also
RWTraceMultiClientFilter

Constructor & Destructor Documentation

◆ ~RWTraceMultiClientFilterImp()

virtual RWTraceMultiClientFilterImp::~RWTraceMultiClientFilterImp ( void )
virtual

Destructor.

◆ RWTraceMultiClientFilterImp()

RWTraceMultiClientFilterImp::RWTraceMultiClientFilterImp ( void )
protected

Default constructor.

Member Function Documentation

◆ doAdd()

virtual void RWTraceMultiClientFilterImp::doAdd ( RWTraceEventClientImp * clientP)
protectedvirtual

Attaches a client to the filter.

Implements RWTraceEventFilterImp.

◆ doRemove()

virtual void RWTraceMultiClientFilterImp::doRemove ( RWTraceEventClientImp * clientP)
protectedvirtual

Detaches the specified client.

Implements RWTraceEventFilterImp.

◆ doTrace()

virtual void RWTraceMultiClientFilterImp::doTrace ( const RWTraceEvent & ev)
protectedvirtual

Forwards the trace events to all attached clients.

Implements RWTraceEventClientImp.

◆ getClients()

RWTValOrderedVector< RWTraceEventClientImp * > RWTraceMultiClientFilterImp::getClients ( void )
inlineprotected

Returns a vector containing pointers to the attached clients.

◆ make()

static RWTraceEventFilter RWTraceMultiClientFilterImp::make ( void )
static

Creates a new RWTraceMultiClientFilterImp instance.

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