Set event receive handler to be notified on reception of new event samples.

Called from user thread or from event-handler thread.

Syntax

template <…>
void amsr::socal::r20_11::events::ProxyEvent<…>::SetReceiveHandler(ara::com::EventReceiveHandler handler)

Parameters

in

handler

User-defined receive handler. Must not be nullptr. Any exception thrown by the callback will lead to a termination through std::terminate().

Returns

void

Precondition

Subscribe() has not been called or Unsubscribe() has been called.

Thread-safety, Reentrance, Result Delivery