19.1.5.6. IContentFilter
-
struct IContentFilter
The interface that content filter objects should implement.
Public Functions
-
virtual bool evaluate(const SerializedPayload &payload, const FilterSampleInfo &sample_info, const GUID_t &reader_guid) const = 0
Evaluate if a serialized payload should be accepted by certain reader.
- Parameters:
payload – [in] The serialized payload of the sample being evaluated.
sample_info – [in] The accompanying sample information.
reader_guid – [in] The GUID of the reader for which the filter is being evaluated.
- Returns:
whether the sample should be accepted for the specified reader.
-
virtual bool evaluate(const SerializedPayload &payload, const FilterSampleInfo &sample_info, const GUID_t &reader_guid) const = 0