Function caerEventPacketContainerSetEventPacket

Function Documentation

static inline void caerEventPacketContainerSetEventPacket(caerEventPacketContainer container, int32_t n, caerEventPacketHeader packetHeader)

Set the pointer to the EventPacket stored in this container at the given index.

Parameters:
  • container – a valid EventPacketContainer handle. If NULL, nothing happens.

  • n – the index of the EventPacket to set.

  • packetHeader – a pointer to an EventPacket’s header. Can be NULL.