#include <stream.h>
Public Member Functions | |
void | decompress (uint8_t *dest, unsigned int dest_len, uint8_t *source, unsigned int source_len) |
CompressionType | getCompressionType () const |
LZ4Stream (ChunkedFile *file) | |
void | read (void *ptr, size_t size) |
void | startRead () |
void | startWrite () |
void | stopRead () |
void | stopWrite () |
void | write (void *ptr, size_t size) |
~LZ4Stream () | |
Public Member Functions inherited from rosbag::Stream | |
Stream (ChunkedFile *file) | |
virtual | ~Stream () |
Private Member Functions | |
LZ4Stream (const LZ4Stream &) | |
LZ4Stream | operator= (const LZ4Stream &) |
void | writeStream (int action) |
Private Attributes | |
int | block_size_id_ |
char * | buff_ |
int | buff_size_ |
roslz4_stream | lz4s_ |
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 | |
ChunkedFile * | file_ |
rosbag::LZ4Stream::LZ4Stream | ( | ChunkedFile * | file | ) |
Definition at line 45 of file lz4_stream.cpp.
rosbag::LZ4Stream::~LZ4Stream | ( | ) |
Definition at line 52 of file lz4_stream.cpp.
|
private |
|
virtual |
Implements rosbag::Stream.
Definition at line 212 of file lz4_stream.cpp.
|
virtual |
Implements rosbag::Stream.
Definition at line 56 of file lz4_stream.cpp.
|
virtual |
Implements rosbag::Stream.
Definition at line 156 of file lz4_stream.cpp.
|
virtual |
Reimplemented from rosbag::Stream.
Definition at line 133 of file lz4_stream.cpp.
|
virtual |
Reimplemented from rosbag::Stream.
Definition at line 60 of file lz4_stream.cpp.
|
virtual |
Reimplemented from rosbag::Stream.
Definition at line 204 of file lz4_stream.cpp.
|
virtual |
Reimplemented from rosbag::Stream.
Definition at line 123 of file lz4_stream.cpp.
|
virtual |
Implements rosbag::Stream.
Definition at line 78 of file lz4_stream.cpp.
|
private |
Definition at line 90 of file lz4_stream.cpp.
|
private |