SubscribeNext¶
-
virtual PSubscription IAcquisition::SubscribeNext(AcquisitionNextHandler handler) = 0¶
Subscribes a callback to be executed when a new batch of samples is available.
- Parameters
handler – Function to be called when next callback is received.
- Returns
PSubscription – An ISubscription for the callback.
- Throws
CInvalidArgumentException
– Empty callback handler specified.