libtcspc.Matcher

class libtcspc.Matcher[source]

Bases: ABC

Base class for matchers used by the Match and MatchAndConsume processors.

A matcher decides, for each event of the matched type, whether it matches.

See also

Match

Processor that emits an event for each match, passing all events through.

MatchAndConsume

Like Match, but matched events are consumed.