MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / dataset_unique_id

Function dataset_unique_id

app/src/DataModel/Frame.h:1009–1014  ·  view source on GitHub ↗

* @brief Single source of truth for the (source, group, dataset) -> uniqueId mapping. */

Source from the content-addressed store, hash-verified

1007 * @brief Single source of truth for the (source, group, dataset) -> uniqueId mapping.
1008 */
1009[[nodiscard]] inline constexpr int dataset_unique_id(int sourceId,
1010 int groupId,
1011 int datasetId) noexcept
1012{
1013 return sourceId * kSourceIdStride + groupId * kGroupIdStride + datasetId;
1014}
1015
1016/**
1017 * @brief Convenience overload taking a Group + Dataset directly.

Callers 4

buildQuickPlotFrameMethod · 0.85
finalize_frameMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected