A body class for a trace level filter that accepts only one client.
More...
#include <rw/trace/RWTraceSingleClientFilterImp.h>
RWTraceSingleClientFilterImp is a filter implementation that accepts one client to which it forwards trace events. This class is intended to be the base class for filters that accept one client and is not intended to be directly instantiated.
Attempting to add a client if the filter already has one throws an RWTraceClientAlreadyAdded exception.
- See also
- RWTraceSingleClientFilter, RWTraceMultiClientFilterImp
◆ ~RWTraceSingleClientFilterImp()
virtual RWTraceSingleClientFilterImp::~RWTraceSingleClientFilterImp |
( |
void | | ) |
|
|
virtual |
◆ RWTraceSingleClientFilterImp()
RWTraceSingleClientFilterImp::RWTraceSingleClientFilterImp |
( |
void | | ) |
|
|
protected |
◆ disconnectClient()
void RWTraceSingleClientFilterImp::disconnectClient |
( |
void | | ) |
|
Disconnects the attached client.
◆ doAdd()
Attaches a client to the filter. Throws an exception if there already is a client.
Implements RWTraceEventFilterImp.
◆ doDisconnectClient()
virtual void RWTraceSingleClientFilterImp::doDisconnectClient |
( |
| ) |
|
|
protectedvirtual |
Disconnects the attached client.
◆ doRemove()
◆ doTrace()
virtual void RWTraceSingleClientFilterImp::doTrace |
( |
const RWTraceEvent & | ev | ) |
|
|
protectedvirtual |
◆ getClient()
Returns a pointer to the attached client.
◆ make()