Metadata for one event queue entry, either a complete event or a fragment.
More...
#include <flow.h>
|
| uint8_t | complete |
| | 1 for an unfragmented event or final fragment; 0 if more fragments follow.
|
| char | dataItemType [256] |
| | Data item type (DIT) interpreted according to registryType. SMPTE DIT strings omit the 0x prefix. MXL DIT strings use a namespace such as x-mxl:example or x-company:example. Readers must bound string access to 256 bytes; a full array need not contain a terminating NUL.
|
| uint32_t | eventSize |
| | Number of payload bytes published in this entry, possibly zero. For fragments this is the fragment size, not the total logical event size. It must not exceed the flow's eventPayloadSize.
|
| uint32_t | flags |
| | Reserved; must be zero.
|
| uint64_t | index |
| | Zero-based queue position, assigned by the library on a successful read. Compare with mxlFlowRuntimeInfo.headIndex to measure reader lag, or with the previous received index to count skipped entries. Open initializes this to MXL_UNDEFINED_INDEX; commit ignores the supplied value.
|
| uint32_t | offset |
| | Logical byte offset within a fragmented event. Zero for unfragmented events and first fragments. Consumers validate continuity and assemble the complete payload. Fragments of one logical event must occupy consecutive queue entries; interleaving un related events is not allowed.
|
| uint32_t | registryType |
| | Registry that determines the interpretation of dataItemType; a mxlEventRegistryType value.
|
| uint8_t | reserved [215] |
| | Reserved bytes; leave zero.
|
| uint32_t | size |
| | Size of this structure.
|
| uint64_t | timestamp |
| | Application supplied TAI timestamp in nanoseconds since the epoch; must not decrease within a flow.
|
| uint32_t | version |
| | Structure version, currently 1.
|
Metadata for one event queue entry, either a complete event or a fragment.
Definition at line 158 of file flow.h.
◆ complete
| uint8_t mxlEventInfo_t::complete |
1 for an unfragmented event or final fragment; 0 if more fragments follow.
Definition at line 191 of file flow.h.
◆ dataItemType
| char mxlEventInfo_t::dataItemType[256] |
Data item type (DIT) interpreted according to registryType. SMPTE DIT strings omit the 0x prefix. MXL DIT strings use a namespace such as x-mxl:example or x-company:example. Readers must bound string access to 256 bytes; a full array need not contain a terminating NUL.
Definition at line 172 of file flow.h.
◆ eventSize
| uint32_t mxlEventInfo_t::eventSize |
Number of payload bytes published in this entry, possibly zero. For fragments this is the fragment size, not the total logical event size. It must not exceed the flow's eventPayloadSize.
Definition at line 179 of file flow.h.
◆ flags
| uint32_t mxlEventInfo_t::flags |
Reserved; must be zero.
Definition at line 163 of file flow.h.
◆ index
| uint64_t mxlEventInfo_t::index |
Zero-based queue position, assigned by the library on a successful read. Compare with mxlFlowRuntimeInfo.headIndex to measure reader lag, or with the previous received index to count skipped entries. Open initializes this to MXL_UNDEFINED_INDEX; commit ignores the supplied value.
Definition at line 202 of file flow.h.
◆ offset
| uint32_t mxlEventInfo_t::offset |
Logical byte offset within a fragmented event. Zero for unfragmented events and first fragments. Consumers validate continuity and assemble the complete payload. Fragments of one logical event must occupy consecutive queue entries; interleaving un related events is not allowed.
Definition at line 188 of file flow.h.
◆ registryType
| uint32_t mxlEventInfo_t::registryType |
◆ reserved
| uint8_t mxlEventInfo_t::reserved[215] |
Reserved bytes; leave zero.
Definition at line 194 of file flow.h.
◆ size
| uint32_t mxlEventInfo_t::size |
Size of this structure.
Definition at line 161 of file flow.h.
◆ timestamp
| uint64_t mxlEventInfo_t::timestamp |
Application supplied TAI timestamp in nanoseconds since the epoch; must not decrease within a flow.
Definition at line 162 of file flow.h.
◆ version
| uint32_t mxlEventInfo_t::version |
Structure version, currently 1.
Definition at line 160 of file flow.h.
The documentation for this struct was generated from the following file: