35 #ifndef ROSBAG_CHUNKED_FILE_H 36 #define ROSBAG_CHUNKED_FILE_H 44 #include "../../../rosbag_storage/include/rosbag/stream.h" 65 uint32_t getCompressedBytesIn()
const;
74 void write(
void* ptr,
size_t size);
75 void read(
void* ptr,
size_t size);
std::shared_ptr< StreamFactory > stream_factory_
std::shared_ptr< Stream > read_stream_
ChunkedFile reads and writes files which contain interleaved chunks of compressed and uncompressed da...
GLsizei const GLchar *const * string
uint64_t offset_
current position in the file
int nUnused_
number of bytes of extra data read by compressed stream
unsigned __int64 uint64_t
std::shared_ptr< Stream > write_stream_
uint64_t compressed_in_
number of bytes written to current compressed stream
std::string filename_
path to file
GLsizei GLsizei GLchar * source
GLenum GLuint GLenum GLsizei length
char * unused_
extra data read by compressed stream
#define ROSBAG_DECL
#include <ros/macros.h> // for the DECL's