#include <stream.h>
Public Member Functions | |
virtual void | decompress (uint8_t *dest, unsigned int dest_len, uint8_t *source, unsigned int source_len)=0 |
virtual CompressionType | getCompressionType () const =0 |
virtual void | read (void *ptr, size_t size)=0 |
virtual void | startRead () |
virtual void | startWrite () |
virtual void | stopRead () |
virtual void | stopWrite () |
Stream (ChunkedFile *file) | |
virtual void | write (void *ptr, size_t size)=0 |
virtual | ~Stream () |
Protected Member Functions | |
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 | |
ChunkedFile * | file_ |
Definition at line 64 of file third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/stream.h.
rosbag::Stream::Stream | ( | ChunkedFile * | file | ) |
Definition at line 62 of file third-party/realsense-file/rosbag/rosbag_storage/src/stream.cpp.
|
virtual |
Definition at line 64 of file third-party/realsense-file/rosbag/rosbag_storage/src/stream.cpp.
Definition at line 74 of file third-party/realsense-file/rosbag/rosbag_storage/src/stream.cpp.
|
protected |
Definition at line 79 of file third-party/realsense-file/rosbag/rosbag_storage/src/stream.cpp.
|
pure virtual |
Implemented in rosbag::LZ4Stream, and rosbag::UncompressedStream.
|
protected |
Definition at line 72 of file third-party/realsense-file/rosbag/rosbag_storage/src/stream.cpp.
|
pure virtual |
Implemented in rosbag::LZ4Stream, and rosbag::UncompressedStream.
|
protected |
Definition at line 71 of file third-party/realsense-file/rosbag/rosbag_storage/src/stream.cpp.
|
protected |
Definition at line 75 of file third-party/realsense-file/rosbag/rosbag_storage/src/stream.cpp.
|
protected |
Definition at line 76 of file third-party/realsense-file/rosbag/rosbag_storage/src/stream.cpp.
Implemented in rosbag::LZ4Stream, and rosbag::UncompressedStream.
Definition at line 73 of file third-party/realsense-file/rosbag/rosbag_storage/src/stream.cpp.
|
protected |
Definition at line 77 of file third-party/realsense-file/rosbag/rosbag_storage/src/stream.cpp.
|
protected |
Definition at line 78 of file third-party/realsense-file/rosbag/rosbag_storage/src/stream.cpp.
|
virtual |
Reimplemented in rosbag::LZ4Stream.
Definition at line 68 of file third-party/realsense-file/rosbag/rosbag_storage/src/stream.cpp.
|
virtual |
Reimplemented in rosbag::LZ4Stream.
Definition at line 66 of file third-party/realsense-file/rosbag/rosbag_storage/src/stream.cpp.
|
virtual |
Reimplemented in rosbag::LZ4Stream.
Definition at line 69 of file third-party/realsense-file/rosbag/rosbag_storage/src/stream.cpp.
|
virtual |
Reimplemented in rosbag::LZ4Stream.
Definition at line 67 of file third-party/realsense-file/rosbag/rosbag_storage/src/stream.cpp.
Implemented in rosbag::LZ4Stream, and rosbag::UncompressedStream.
|
protected |
Definition at line 95 of file third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/stream.h.