Function caerFrameEventPacketFromPacketHeaderConst
Defined in File frame.h
Function Documentation
-
static inline caerFrameEventPacketConst caerFrameEventPacketFromPacketHeaderConst(caerEventPacketHeaderConst header)
Transform a generic read-only event packet header into a read-only Frame event packet. This takes care of proper casting and checks that the packet type really matches the intended conversion type.
- Parameters:
header – a valid read-only event packet header pointer. Cannot be NULL.
- Returns:
a properly converted, read-only typed event packet pointer.