pjmsg_mcap_wrapper
|
A low-level interface for parsing MCAP-style TLV records from a data source.
Definition at line 507 of file reader.hpp.
#include <reader.hpp>
Public Member Functions | |
RecordReader (IReadable &dataSource, ByteOffset startOffset, ByteOffset endOffset=EndOffset) | |
void | reset (IReadable &dataSource, ByteOffset startOffset, ByteOffset endOffset) |
std::optional< Record > | next () |
const Status & | status () const |
ByteOffset | curRecordOffset () const |
Public Attributes | |
ByteOffset | offset |
ByteOffset | endOffset |
Private Attributes | |
IReadable * | dataSource_ = nullptr |
Status | status_ |
Record | curRecord_ |
mcap::RecordReader::RecordReader | ( | IReadable & | dataSource, |
ByteOffset | startOffset, | ||
ByteOffset | endOffset = EndOffset |
||
) |
Definition at line 1221 of file reader.inl.
ByteOffset mcap::RecordReader::curRecordOffset | ( | ) | const |
Definition at line 1253 of file reader.inl.
std::optional< Record > mcap::RecordReader::next | ( | ) |
Definition at line 1236 of file reader.inl.
void mcap::RecordReader::reset | ( | IReadable & | dataSource, |
ByteOffset | startOffset, | ||
ByteOffset | endOffset | ||
) |
Definition at line 1228 of file reader.inl.
const Status & mcap::RecordReader::status | ( | ) | const |
Definition at line 1249 of file reader.inl.
|
private |
Definition at line 524 of file reader.hpp.
|
private |
Definition at line 522 of file reader.hpp.
ByteOffset mcap::RecordReader::endOffset |
Definition at line 509 of file reader.hpp.
ByteOffset mcap::RecordReader::offset |
Definition at line 508 of file reader.hpp.
|
private |
Definition at line 523 of file reader.hpp.