ConditionalRouter

constructor(cases: List<RoutingCase>, default: QObjectReceiverIfc)(source)

Parameters

cases

the ordered list of (predicate, receiver) cases, evaluated first-match

default

the receiver used when no case matches