Function caerEventPacketHeaderSetEventSource
Defined in File common.h
Function Documentation
-
static inline void caerEventPacketHeaderSetEventSource(caerEventPacketHeader header, int16_t eventSource)
Set the numerical event source ID, representing the event source that generated all the events present in this packet. This ID should be unique at least within a process, if not within the whole system, to guarantee correct identification of who generated an event later on.
- Parameters:
header – a valid EventPacket header pointer. Cannot be NULL.
eventSource – the numerical event source ID.