Public Member Functions | Private Member Functions | Private Attributes
rosbag::LZ4Stream Class Reference

#include <stream.h>

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

List of all members.

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 ()

Private Member Functions

void writeStream (int action)

Private Attributes

int block_size_id_
char * buff_
int buff_size_
roslz4_stream lz4s_

Detailed Description

Definition at line 157 of file stream.h.


Constructor & Destructor Documentation

Definition at line 45 of file lz4_stream.cpp.

Definition at line 51 of file lz4_stream.cpp.


Member Function Documentation

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

Implements rosbag::Stream.

Definition at line 187 of file lz4_stream.cpp.

Implements rosbag::Stream.

Definition at line 55 of file lz4_stream.cpp.

void rosbag::LZ4Stream::read ( void *  ptr,
size_t  size 
) [virtual]

Implements rosbag::Stream.

Definition at line 139 of file lz4_stream.cpp.

void rosbag::LZ4Stream::startRead ( ) [virtual]

Reimplemented from rosbag::Stream.

Definition at line 120 of file lz4_stream.cpp.

void rosbag::LZ4Stream::startWrite ( ) [virtual]

Reimplemented from rosbag::Stream.

Definition at line 59 of file lz4_stream.cpp.

void rosbag::LZ4Stream::stopRead ( ) [virtual]

Reimplemented from rosbag::Stream.

Definition at line 183 of file lz4_stream.cpp.

void rosbag::LZ4Stream::stopWrite ( ) [virtual]

Reimplemented from rosbag::Stream.

Definition at line 114 of file lz4_stream.cpp.

void rosbag::LZ4Stream::write ( void *  ptr,
size_t  size 
) [virtual]

Implements rosbag::Stream.

Definition at line 73 of file lz4_stream.cpp.

void rosbag::LZ4Stream::writeStream ( int  action) [private]

Definition at line 81 of file lz4_stream.cpp.


Member Data Documentation

Definition at line 180 of file stream.h.

char* rosbag::LZ4Stream::buff_ [private]

Definition at line 178 of file stream.h.

Definition at line 179 of file stream.h.

Definition at line 181 of file stream.h.


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


rosbag_storage
Author(s):
autogenerated on Thu Jun 6 2019 21:09:52