Module: Threads Package: Execution Tracing
RWTraceSingleClientFilterImp RWTraceEventFilterImp ...... RWTraceEventClientImp RWReference
disconnectClient() doAdd() doDisconnectClient() |
doRemove() doTrace() getClient() |
make() RWTraceSingleClientFilterImp() ~RWTraceSingleClientFilterImp() |
#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.
static RWTraceSingleClientFilter make();
Creates a new RWTraceSingleClientFilterImp instance.
virtual ~RWTraceSingleClientFilterImp();
Destructor.
void disconnectClient();
Tells the attached client to disconnect itself.
RWTraceSingleClientFilterImp();
Default constructor.
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 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.