Main Page Modules Class Hierarchy Data Structures File List Data Fields Globals Related Pages

# PVLoggerFilter Class Reference

`#include <pvlogger_accessories.h>`

Inheritance diagram for PVLoggerFilter:

## Public Types
typedef PVLogger::message_id_type | message_id_type
typedef PVLogger::log_level_type | log_level_type
typedef PVLogger::filter_status_type | filter_status_type
## Public Methods
virtual | ~PVLoggerFilter ()
virtual filter_status_type | FilterString (char *tag, message_id_type msgID, log_level_type level)=0
virtual filter_status_type | FilterOpaqueMessge (char *tag, message_id_type msgID, log_level_type level)=0

## Detailed Description

Base class for all message filters. This class defines the interface to the message filters. There are two kinds of msg filtering APIs, one to filter text messages, and other to filter opaque message buffers.

## Member Typedef Documentation

typedef PVLogger::filter_status_type PVLoggerFilter::filter_status_type

| Reimplemented in AllPassFilter.

typedef PVLogger::log_level_type PVLoggerFilter::log_level_type

| Reimplemented in AllPassFilter.

typedef PVLogger::message_id_type PVLoggerFilter::message_id_type

| Reimplemented in AllPassFilter.

## Constructor & Destructor Documentation

virtual PVLoggerFilter::~PVLoggerFilter | ( |  | ) | `[inline, virtual]`

## Member Function Documentation

virtual filter_status_type PVLoggerFilter::FilterOpaqueMessge | ( | char * | tag,
|  | message_id_type | msgID,
|  | log_level_type | level
| ) | `[pure virtual]`

| Implemented in AllPassFilter.

virtual filter_status_type PVLoggerFilter::FilterString | ( | char * | tag,
|  | message_id_type | msgID,
|  | log_level_type | level
| ) | `[pure virtual]`

| Implemented in AllPassFilter.

The documentation for this class was generated from the following file:

- pvlogger_accessories.h