Public Member Functions | Public Attributes | List of all members
mcap::MessageView Struct Reference

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. More...

#include <types.hpp>

Public Member Functions

 MessageView (const Message &message, const ChannelPtr channel, const SchemaPtr schema)
 

Public Attributes

const ChannelPtr channel
 
const Messagemessage
 
const SchemaPtr schema
 

Detailed 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.

Definition at line 356 of file types.hpp.

Constructor & Destructor Documentation

◆ MessageView()

mcap::MessageView::MessageView ( const Message message,
const ChannelPtr  channel,
const SchemaPtr  schema 
)
inline

Definition at line 361 of file types.hpp.

Member Data Documentation

◆ channel

const ChannelPtr mcap::MessageView::channel

Definition at line 358 of file types.hpp.

◆ message

const Message& mcap::MessageView::message

Definition at line 357 of file types.hpp.

◆ schema

const SchemaPtr mcap::MessageView::schema

Definition at line 359 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