source: DataSource, Frame, SourceConfig and the registry (unused yet)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Martino FerrariandClaude Opus 4.6 committed 2026-10-31 19:56:00 +01:00
1 parent 71b904a93b
commit 3896f404a9
11 files changed
+445 -3

No files matched your search

+7
View File
@@ -24,6 +24,13 @@
namespace udpscope {
/// `SignalInfo::time_mode` values. They equal the wire protocol's `UDPS_TIME_*`
/// (`udps_source.cpp` static_asserts it), but the model must not name a source's own header.
constexpr std::uint8_t kTimePacket = 0;
constexpr std::uint8_t kTimeFullArray = 1;
constexpr std::uint8_t kTimeFirstSample = 2;
constexpr std::uint8_t kTimeLastSample = 3;
/// One streamed signal, as the CONFIG packet described it.
struct SignalInfo {
std::string name;