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

rosbag::UncompressedStream::UncompressedStream ( ChunkedFile file)

Definition at line 48 of file uncompressed_stream.cpp.

Member Function Documentation

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.

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

Implements rosbag::Stream.

Definition at line 50 of file uncompressed_stream.cpp.

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

Implements rosbag::Stream.

Definition at line 62 of file uncompressed_stream.cpp.

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 Nov 2 2020 03:52:19