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

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

#include <types.hpp>

Public Attributes

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

Detailed Description

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

Definition at line 252 of file types.hpp.

Member Data Documentation

◆ contentType

std::string mcap::Attachment::contentType

Definition at line 256 of file types.hpp.

◆ crc

uint32_t mcap::Attachment::crc

Definition at line 259 of file types.hpp.

◆ createTime

Timestamp mcap::Attachment::createTime

Definition at line 254 of file types.hpp.

◆ data

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

Definition at line 258 of file types.hpp.

◆ dataSize

uint64_t mcap::Attachment::dataSize

Definition at line 257 of file types.hpp.

◆ logTime

Timestamp mcap::Attachment::logTime

Definition at line 253 of file types.hpp.

◆ name

std::string mcap::Attachment::name

Definition at line 255 of file types.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:12:56