Function caerEventPacketContainerCopyValidEvents
Defined in File packetContainer.h
Function Documentation
-
static inline caerEventPacketContainer caerEventPacketContainerCopyValidEvents(caerEventPacketContainerConst container)
Make a deep copy of an event packet container, with its event packets sized down to only include the currently valid events (eventValid), and discarding everything else.
- Parameters:
container – an event packet container to copy.
- Returns:
a deep copy of an event packet container, containing only valid events.