pjmsg_mcap_wrapper
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
mcap::MessageView Struct Reference

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 388 of file types.hpp.

#include <types.hpp>

Public Member Functions

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

Public Attributes

const Messagemessage
 
const ChannelPtr channel
 
const SchemaPtr schema
 
const RecordOffset messageOffset
 

Constructor & Destructor Documentation

◆ MessageView()

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

Definition at line 394 of file types.hpp.

Member Data Documentation

◆ channel

const ChannelPtr mcap::MessageView::channel

Definition at line 390 of file types.hpp.

◆ message

const Message& mcap::MessageView::message

Definition at line 389 of file types.hpp.

◆ messageOffset

const RecordOffset mcap::MessageView::messageOffset

Definition at line 392 of file types.hpp.

◆ schema

const SchemaPtr mcap::MessageView::schema

Definition at line 391 of file types.hpp.


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