This document describes the format of version 2 of the ComponentRequest
struct.
ComponentRequest
version 2 consists of 8 32-bit words:
- Version
- Padding word
- SourceID version 2 Version (upper 16 bits) / Subsystem (lower 16 bits)
- SourceID version 2 Element ID
- Window Begin (upper 32 bits)
- Window Begin (lower 32 bits)
- Window End (upper 32 bits)
- Window End (lower 32 bits)
struct ComponentRequest
{
uint32_t version{ 2 };
unit32_t unused {0xFFFFFFFF};
SourceID component;
timestamp_t window_begin{ TypeDefaults::s_invalid_timestamp };
timestamp_t window_end{ TypeDefaults::s_invalid_timestamp };
ComponentRequest(const SourceID& comp, const timestamp_t& wbegin, const timestamp_t& wend);
};
As can be seen from the layout of the ComponentRequest
struct, this can be considered a data source + a time window