libtcspc.Select

final class libtcspc.Select(*event_types)[source]

Bases: Node

Processor that passes only events of the listed types, dropping others.

Parameters:

*event_types (EventType) – The event types to pass through. Events of all other types are silently discarded.

Notes

Events handled:

  • Events in event_types: pass through unchanged.

  • All other event types: discarded.

  • End of input: pass through.

See also

tcspc::select()

The underlying C++ factory function.

SelectAll

Forward every event unchanged.

SelectExcept

Discard the listed types, passing others.