Public Member Functions | Private Member Functions | Private Attributes | List of all members
rosbag::LZ4Stream Class Reference

#include <stream.h>

Inheritance diagram for rosbag::LZ4Stream:
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
 
 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

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
ChunkedFilefile_
 

Detailed Description

Definition at line 125 of file third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/stream.h.

Constructor & Destructor Documentation

rosbag::LZ4Stream::LZ4Stream ( ChunkedFile file)

Definition at line 45 of file lz4_stream.cpp.

rosbag::LZ4Stream::~LZ4Stream ( )

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.

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

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

int rosbag::LZ4Stream::block_size_id_
private
char* rosbag::LZ4Stream::buff_
private
int rosbag::LZ4Stream::buff_size_
private
roslz4_stream rosbag::LZ4Stream::lz4s_
private

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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:40