struct MessageView

Declaration

struct MessageView { /* full declaration omitted */ };

Description

Returned when iterating over Messages in a file, MessageView contains a reference to one Message, a pointer to its Channel, and an optional pointer to that Channel's Schema. The Channel pointer is guaranteed to be valid, while the Schema pointer may be null if the Channel references schema_id 0.

Declared at: mcap/include/mcap/types.hpp:387

Member Variables

public const mcap::Message& message
public const mcap::ChannelPtr channel
public const mcap::SchemaPtr schema
public const mcap::RecordOffset messageOffset

Method Overview

  • public MessageView(const mcap::Message & message, const mcap::ChannelPtr channel, const mcap::SchemaPtr schema, mcap::RecordOffset offset)

Methods

ΒΆMessageView(const mcap::Message& message,
            const mcap::ChannelPtr channel,
            const mcap::SchemaPtr schema,
            mcap::RecordOffset offset)

Declared at: mcap/include/mcap/types.hpp:393

Parameters

const mcap::Message& message
const mcap::ChannelPtr channel
const mcap::SchemaPtr schema
mcap::RecordOffset offset