Public Attributes | List of all members
mcap::Attachment Struct Reference

An Attachment is an arbitrary file embedded in an MCAP file, including a name, media type, timestamps, and optional CRC. Attachment records are written in the Data section, outside of Chunks. More...

#include <types.hpp>

Public Attributes

uint32_t crc
 
Timestamp createTime
 
const std::byte * data = nullptr
 
uint64_t dataSize
 
Timestamp logTime
 
std::string mediaType
 
std::string name
 

Detailed Description

An Attachment is an arbitrary file embedded in an MCAP file, including a name, media type, timestamps, and optional CRC. Attachment records are written in the Data section, outside of Chunks.

Definition at line 255 of file types.hpp.

Member Data Documentation

◆ crc

uint32_t mcap::Attachment::crc

Definition at line 262 of file types.hpp.

◆ createTime

Timestamp mcap::Attachment::createTime

Definition at line 257 of file types.hpp.

◆ data

const std::byte* mcap::Attachment::data = nullptr

Definition at line 261 of file types.hpp.

◆ dataSize

uint64_t mcap::Attachment::dataSize

Definition at line 260 of file types.hpp.

◆ logTime

Timestamp mcap::Attachment::logTime

Definition at line 256 of file types.hpp.

◆ mediaType

std::string mcap::Attachment::mediaType

Definition at line 259 of file types.hpp.

◆ name

std::string mcap::Attachment::name

Definition at line 258 of file types.hpp.


The documentation for this struct was generated from the following file:


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:31