Function caerEventPacketHeaderSetEventCapacity(caerEventPacketHeader, int32_t)

Function Documentation

static inline void caerEventPacketHeaderSetEventCapacity(caerEventPacketHeader header, int32_t eventsCapacity)

Set the maximum number of events this packet can store. This is determined at packet allocation time and should not be changed during the life-time of the packet.

Parameters:
  • header – a valid EventPacket header pointer. Cannot be NULL.

  • eventsCapacity – the number of events this packet can hold.