Function caerEventPacketContainerSetEventPacketsNumber

Function Documentation

static inline void caerEventPacketContainerSetEventPacketsNumber(caerEventPacketContainer container, int32_t eventPacketsNumber)

Set the maximum number of EventPacket pointers that can be stored in this particular EventPacketContainer. This should never be used directly, caerEventPacketContainerAllocate() sets this for you.

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

  • eventPacketsNumber – the number of EventPacket pointers that can be contained.