SubscribeError

virtual PSubscription IAcquisition::SubscribeError(AcquisitionErrorHandler handler) = 0

Subscribes a callback to be executed when an error condition has occurred with this acquisition instance.

Parameters

handler – Function to be called when error callback is received.

Returns

PSubscription – An ISubscription for the callback.

Throws

CInvalidArgumentException – Empty callback handler specified.