libtcspc.Match¶
- final class libtcspc.Match(event_type, out_event_type, matcher)[source]¶
Bases:
NodeProcessor that emits an output event for each matched event, passing all through.
For each event of
event_typethat the matcher matches, anout_event_type(constructed with the matched event’sabstime) is emitted. All input events, matched or not, pass through.- Parameters:
Notes
Events handled:
event_typematched by the matcher: emit anout_event_typeconstructed from the matched event’sabstime.All input events: pass through unchanged (matched or not).
End of input: pass through.
See also
- tcspc::match()
The underlying C++ factory function.
MatchAndConsumeLike
Match, but matched events are not passed through.