SubscribeMatch

virtual PSubscription ISignal::SubscribeMatch(const SUint32Condition &condition, SignalMatchHandler<uint32_t> handler) = 0

Subscribes a callback to be executed when the signal matches the specified condition.

Parameters
  • condition – SUint32Condition specifying when callback is to be executed.

  • handler – Function to be called when match occurs.

Returns

PSubscription – An ISubscription for the callback.

Throws