stage/publish/header.h
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | // SPDX-License-Identifier: BSD-3-Clause | ||
| 2 | #pragma once | ||
| 3 | |||
| 4 | #include <cstddef> | ||
| 5 | #include <cstdint> | ||
| 6 | #include <span> | ||
| 7 | |||
| 8 | #include "chrono_batch_render/stage/columns/kernels/authored.h" | ||
| 9 | #include "chrono_batch_render/stage/publish/table.h" | ||
| 10 | |||
| 11 | namespace chrono::batch_render { | ||
| 12 | |||
| 13 | 356 | class SnapshotHeader { | |
| 14 | public: | ||
| 15 | 443 | virtual ~SnapshotHeader() = default; | |
| 16 | |||
| 17 | virtual void Describe(const Table& table) = 0; | ||
| 18 | virtual std::span<const std::byte> Seal(const AuthoredData& data, uint32_t worldCount) = 0; | ||
| 19 | }; | ||
| 20 | |||
| 21 | } | ||
| 22 |