* @brief Composite snapshot key: dataset uniqueIds repeat across sources, so the time-ring * snapshot must include the sourceId or two plots collapse onto one entry and the second * restore move-assigns a moved-from (null-buffer) ring, crashing appendDecimated. */
| 89 | * restore move-assigns a moved-from (null-buffer) ring, crashing appendDecimated. |
| 90 | */ |
| 91 | static qint64 ringSnapshotKey(const int sourceId, const int uniqueId) |
| 92 | { |
| 93 | return (static_cast<qint64>(sourceId) << 32) | static_cast<quint32>(uniqueId); |
| 94 | } |
| 95 | |
| 96 | //-------------------------------------------------------------------------------------------------- |
| 97 | // File-local helpers |
no outgoing calls
no test coverage detected