Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
rosbag::Stream Class Referenceabstract

#include <stream.h>

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

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

ChunkedFilefile_
 

Detailed Description

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

Constructor & Destructor Documentation

rosbag::Stream::Stream ( ChunkedFile file)
rosbag::Stream::~Stream ( )
virtual

Member Function Documentation

void rosbag::Stream::advanceOffset ( uint64_t  nbytes)
protected
void rosbag::Stream::clearUnused ( )
protected
virtual void rosbag::Stream::decompress ( uint8_t dest,
unsigned int  dest_len,
uint8_t source,
unsigned int  source_len 
)
pure virtual
uint64_t rosbag::Stream::getCompressedIn ( )
protected
virtual CompressionType rosbag::Stream::getCompressionType ( ) const
pure virtual
FILE * rosbag::Stream::getFilePointer ( )
protected
char * rosbag::Stream::getUnused ( )
protected
int rosbag::Stream::getUnusedLength ( )
protected
virtual void rosbag::Stream::read ( void ptr,
size_t  size 
)
pure virtual
void rosbag::Stream::setCompressedIn ( uint64_t  nbytes)
protected
void rosbag::Stream::setUnused ( char *  unused)
protected
void rosbag::Stream::setUnusedLength ( int  nUnused)
protected
void rosbag::Stream::startRead ( )
virtual
void rosbag::Stream::startWrite ( )
virtual
void rosbag::Stream::stopRead ( )
virtual
void rosbag::Stream::stopWrite ( )
virtual
virtual void rosbag::Stream::write ( void ptr,
size_t  size 
)
pure virtual

Member Data Documentation

ChunkedFile* rosbag::Stream::file_
protected

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