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

#include <reader.hpp>

Public Member Functions

bool next ()
 
ByteOffset offset () const
 
TypedChunkReaderoperator= (const TypedChunkReader &)=delete
 
TypedChunkReaderoperator= (TypedChunkReader &&)=delete
 
void reset (const Chunk &chunk, Compression compression)
 
const Statusstatus () const
 
 TypedChunkReader ()
 
 TypedChunkReader (const TypedChunkReader &)=delete
 
 TypedChunkReader (TypedChunkReader &&)=delete
 

Public Attributes

std::function< void(const ChannelPtr, ByteOffset)> onChannel
 
std::function< void(const Message &, ByteOffset)> onMessage
 
std::function< void(const SchemaPtr, ByteOffset)> onSchema
 
std::function< void(const Record &, ByteOffset)> onUnknownRecord
 

Private Attributes

LZ4Reader lz4Reader_
 
RecordReader reader_
 
Status status_
 
BufferReader uncompressedReader_
 
ZStdReader zstdReader_
 

Detailed Description

Definition at line 518 of file reader.hpp.

Constructor & Destructor Documentation

◆ TypedChunkReader() [1/3]

mcap::TypedChunkReader::TypedChunkReader ( )

◆ TypedChunkReader() [2/3]

mcap::TypedChunkReader::TypedChunkReader ( const TypedChunkReader )
delete

◆ TypedChunkReader() [3/3]

mcap::TypedChunkReader::TypedChunkReader ( TypedChunkReader &&  )
delete

Member Function Documentation

◆ next()

bool mcap::TypedChunkReader::next ( )

◆ offset()

ByteOffset mcap::TypedChunkReader::offset ( ) const

◆ operator=() [1/2]

TypedChunkReader& mcap::TypedChunkReader::operator= ( const TypedChunkReader )
delete

◆ operator=() [2/2]

TypedChunkReader& mcap::TypedChunkReader::operator= ( TypedChunkReader &&  )
delete

◆ reset()

void mcap::TypedChunkReader::reset ( const Chunk chunk,
Compression  compression 
)

◆ status()

const Status& mcap::TypedChunkReader::status ( ) const

Member Data Documentation

◆ lz4Reader_

LZ4Reader mcap::TypedChunkReader::lz4Reader_
private

Definition at line 542 of file reader.hpp.

◆ onChannel

std::function<void(const ChannelPtr, ByteOffset)> mcap::TypedChunkReader::onChannel

Definition at line 520 of file reader.hpp.

◆ onMessage

std::function<void(const Message&, ByteOffset)> mcap::TypedChunkReader::onMessage

Definition at line 521 of file reader.hpp.

◆ onSchema

std::function<void(const SchemaPtr, ByteOffset)> mcap::TypedChunkReader::onSchema

Definition at line 519 of file reader.hpp.

◆ onUnknownRecord

std::function<void(const Record&, ByteOffset)> mcap::TypedChunkReader::onUnknownRecord

Definition at line 522 of file reader.hpp.

◆ reader_

RecordReader mcap::TypedChunkReader::reader_
private

Definition at line 539 of file reader.hpp.

◆ status_

Status mcap::TypedChunkReader::status_
private

Definition at line 540 of file reader.hpp.

◆ uncompressedReader_

BufferReader mcap::TypedChunkReader::uncompressedReader_
private

Definition at line 541 of file reader.hpp.

◆ zstdReader_

ZStdReader mcap::TypedChunkReader::zstdReader_
private

Definition at line 543 of file reader.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:52