RWTraceSingleClientFilterImp RWTraceEventFilterImp ... ... RWTraceEventClientImp RWReference
#include <rw/trace/RWTraceSingleClientFilterImp.h>
RWTraceSingleClientFilterImp is a filter implementation that accepts one client and forwards trace events to it. This class is intended to be the base class for filters that accept one client. It is not meant to be instantiated as it provides no functionality. If one attempts to add a client and the filter already has one, a TraceClientAlreadyAdded exception is thrown.
virtual ~RWTraceSingleClientFilterImp(void);
Destructor.
static RWTraceSingleClientFilter make(void);
Creates a new RWTraceSingleClientFilterImp instance.
void disconnectClient(void);
Tells the attached client to disconnect itself.
virtual void doAdd(RWTraceEventClientImp* clientP);
Attaches a client to the filter. Throws an exception if there already is a client.
virtual void doDisconnectClient();
Tells the attached client to disconnect itself.
virtual void doRemove(RWTraceEventClientImp* clientP);
Detaches the client.
virtual void doTrace(const RWTraceEvent& ev);
Forwards the trace event to the attached client.
RWTraceEventClientImp* getClient();
Returns a pointer to the attached client.
©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.