SourcePro® 2023.1 |
SourcePro® API Reference Guide |
A body class for trace level filter implementations. More...
#include <rw/trace/RWTraceLevelFilterImp.h>
Public Member Functions | |
~RWTraceLevelFilterImp (void) | |
RWTraceEventSeverity | getLevel () const |
void | setLevel (RWTraceEventSeverity level) |
Public Member Functions inherited from RWTraceSingleClientFilterImp | |
virtual | ~RWTraceSingleClientFilterImp (void) |
void | disconnectClient (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 RWTraceSingleClientFilter | make (RWTraceEventSeverity level=RW_TRACE_LEVEL_NONE) |
Static Public Member Functions inherited from RWTraceSingleClientFilterImp | |
static RWTraceSingleClientFilter | make (void) |
Protected Member Functions | |
RWTraceLevelFilterImp (void) | |
RWTraceLevelFilterImp (RWTraceEventSeverity level) | |
virtual RWTraceEventSeverity | doGetLevel () const |
virtual void | doSetLevel (RWTraceEventSeverity level) |
virtual void | doTrace (const RWTraceEvent &ev) |
Protected Member Functions inherited from RWTraceSingleClientFilterImp | |
RWTraceSingleClientFilterImp (void) | |
virtual void | doAdd (RWTraceEventClientImp *clientP) |
virtual void | doDisconnectClient () |
virtual void | doRemove (RWTraceEventClientImp *clientP) |
RWTraceEventClientImp * | getClient () |
Protected Member Functions inherited from RWTraceEventFilterImp | |
RWTraceEventFilterImp (void) | |
Protected Member Functions inherited from RWTraceEventClientImp | |
RWTraceEventClientImp (void) | |
RWMutex & | getMutex (void) |
RWTraceLevelFilterImp is the implementation (body) for RWTraceLevelFilter.
RWTraceLevelFilterImp::~RWTraceLevelFilterImp | ( | void | ) |
Destructor.
|
protected |
Default constructor. Trace level is RW_TRACE_LEVEL_NONE.
|
protected |
Constructor that takes a severity level.
|
protectedvirtual |
Returns the filter's severity level.
|
protectedvirtual |
Sets the severity level for the filter, overriding any existing level.
|
protectedvirtual |
Forwards the trace event to the attached client if the event's severity is greater or equal to the filter's severity level.
Reimplemented from RWTraceSingleClientFilterImp.
|
inline |
Public interface for getting the filter's severity level. Forwards to the internal protected doGetLevel() member.
|
static |
Creates a new RWTraceLevelFilterImp instance that filters based on level. By default, all trace events are filtered out.
|
inline |
Public interface for setting the filter's severity level. Forwards to the internal protected doSetLevel() member.
Copyright © 2023 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |