libtcspc.Router

class libtcspc.Router[source]

Bases: ABC

Base class for routers used by the Route processor.

A router maps an event to the index of the output port to which it should be routed (or to “no output”, discarding the event). Concrete subclasses select events by different criteria.

See also

tcspc::route()

The processor that uses a router.