Struct McapWriterOptions¶
Defined in File mcap.hpp
Struct Documentation¶
-
struct McapWriterOptions¶
Options for an MCAP writer.
Public Functions
-
McapWriterOptions() = default¶
Public Members
-
std::string_view path¶
The path to the MCAP file.
-
std::string_view profile¶
The profile to use for the MCAP file.
-
uint64_t chunk_size = static_cast<uint64_t>(1024 * 768)¶
The size of each chunk in the MCAP file.
-
McapCompression compression = McapCompression::Zstd¶
The compression algorithm to use for the MCAP file.
-
bool use_chunks = true¶
Whether to use chunks in the MCAP file.
-
bool disable_seeking = false¶
Whether to disable seeking in the MCAP file.
-
bool emit_statistics = true¶
Whether to emit statistics in the MCAP file.
-
bool emit_summary_offsets = true¶
Whether to emit summary offsets in the MCAP file.
-
bool emit_message_indexes = true¶
Whether to emit message indexes in the MCAP file.
-
bool emit_chunk_indexes = true¶
Whether to emit chunk indexes in the MCAP file.
-
bool emit_attachment_indexes = true¶
Whether to emit attachment indexes in the MCAP file.
-
bool emit_metadata_indexes = true¶
Whether to emit metadata indexes in the MCAP file.
-
bool repeat_channels = true¶
Whether to repeat channels in the MCAP file.
-
bool repeat_schemas = true¶
Whether to repeat schemas in the MCAP file.
-
bool truncate = false¶
Whether to truncate the MCAP file.
Friends
- friend class McapWriter
-
McapWriterOptions() = default¶