IFilter

@protocol IFilter <NSObject>

Protocol defines methods for Candidate filters

  • Test this candidate to see if it passes the filter criteria

    Declaration

    Objective-C

    - (BOOL)checkCandidate:(Candidate *)candidate;

    Swift

    func check(_ candidate: Candidate!) -> Bool

    Parameters

    candidate
    • a WC Candidate measurement object

    Return Value

    true if candidate passes this filter test

  • Get the number of dropped candidate measurements.

    Declaration

    Objective-C

    - (uint64_t)getCandidateDropCount;

    Swift

    func getCandidateDropCount() -> UInt64

    Return Value

    number of dropped candidate measurements

  • Undocumented

    Declaration

    Objective-C

    @protocol IFilter <NSObject>