Define CAER_ITERATOR_VALID_START

Define Documentation

CAER_ITERATOR_VALID_START(PACKET_HEADER, EVENT_TYPE)

Generic iterator over only the valid events in a packet. Returns the current index in the ‘caerIteratorCounter’ variable of type ‘int32_t’ and the current event in the ‘caerIteratorElement’ variable of type EVENT_TYPE.

PACKET_HEADER: a valid EventPacket header pointer. Cannot be NULL. EVENT_TYPE: the event pointer type for this EventPacket (ie. caerPolarityEvent or caerFrameEvent).