libtcspc.DataLostEvent¶
- class libtcspc.DataLostEvent(data_types=None)[source]¶
Bases:
EventTypeEvent indicating that the data source detected a buffer overflow.
Emitted when an upstream data source (FIFO, DMA, or similar) detected that one or more events were lost before they could be delivered. Subsequent events may therefore be missing and the
abstimefield may have skipped time.- Parameters:
data_types (DataTypes or None) – Set of integer types parameterising the C++ event.
None(the default) usesDataTypesdefaults.
Notes
The corresponding C++ event has the field
abstime. The source should continue to produce overflow notifications for subsequent occurrences; cancelling the stream in response to data loss is the responsibility of a downstream processor.See also
- tcspc::data_lost_event
The underlying C++ event type.