pjmsg_mcap_wrapper
|
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.
#include <types.hpp>
Public Member Functions | |
MessageView (const Message &message, const ChannelPtr channel, const SchemaPtr schema, RecordOffset offset) | |
Public Attributes | |
const Message & | message |
const ChannelPtr | channel |
const SchemaPtr | schema |
const RecordOffset | messageOffset |
|
inline |
const ChannelPtr mcap::MessageView::channel |
const RecordOffset mcap::MessageView::messageOffset |