Function caerEventPacketContainerGetEventPacketConst

Function Documentation

static inline caerEventPacketHeaderConst caerEventPacketContainerGetEventPacketConst(caerEventPacketContainerConst container, int32_t n)

Get the pointer to the EventPacket stored in this container at the given index. This is a read-only EventPacket, do not change its contents in any way!

Parameters:
  • container – a valid EventPacketContainer handle. If NULL, returns NULL too.

  • n – the index of the EventPacket to get.

Returns:

a pointer to a read-only EventPacket or NULL on error.