Public Member Functions | List of all members
rosbag::UncompressedStream Class Reference

#include <stream.h>

Inheritance diagram for rosbag::UncompressedStream:
Inheritance graph
[legend]

Public Member Functions

void decompress (uint8_t *dest, unsigned int dest_len, uint8_t *source, unsigned int source_len)
 
CompressionType getCompressionType () const
 
void read (void *ptr, size_t size)
 
 UncompressedStream (ChunkedFile *file)
 
void write (void *ptr, size_t size)
 
- Public Member Functions inherited from rosbag::Stream
virtual void startRead ()
 
virtual void startWrite ()
 
virtual void stopRead ()
 
virtual void stopWrite ()
 
 Stream (ChunkedFile *file)
 
virtual ~Stream ()
 

Additional Inherited Members

- Protected Member Functions inherited from rosbag::Stream
void advanceOffset (uint64_t nbytes)
 
void clearUnused ()
 
uint64_t getCompressedIn ()
 
FILE * getFilePointer ()
 
char * getUnused ()
 
int getUnusedLength ()
 
void setCompressedIn (uint64_t nbytes)
 
void setUnused (char *unused)
 
void setUnusedLength (int nUnused)
 
- Protected Attributes inherited from rosbag::Stream
ChunkedFilefile_
 

Detailed Description

Definition at line 123 of file stream.h.

Constructor & Destructor Documentation

◆ UncompressedStream()

rosbag::UncompressedStream::UncompressedStream ( ChunkedFile file)

Definition at line 48 of file uncompressed_stream.cpp.

Member Function Documentation

◆ decompress()

void rosbag::UncompressedStream::decompress ( uint8_t *  dest,
unsigned int  dest_len,
uint8_t *  source,
unsigned int  source_len 
)
virtual

Implements rosbag::Stream.

Definition at line 107 of file uncompressed_stream.cpp.

◆ getCompressionType()

CompressionType rosbag::UncompressedStream::getCompressionType ( ) const
virtual

Implements rosbag::Stream.

Definition at line 50 of file uncompressed_stream.cpp.

◆ read()

void rosbag::UncompressedStream::read ( void *  ptr,
size_t  size 
)
virtual

Implements rosbag::Stream.

Definition at line 62 of file uncompressed_stream.cpp.

◆ write()

void rosbag::UncompressedStream::write ( void *  ptr,
size_t  size 
)
virtual

Implements rosbag::Stream.

Definition at line 54 of file uncompressed_stream.cpp.


The documentation for this class was generated from the following files:


rosbag_storage
Author(s): Dirk Thomas
autogenerated on Mon Feb 28 2022 23:33:55