35 #ifndef ROSBAG_CHUNKED_FILE_H 36 #define ROSBAG_CHUNKED_FILE_H 44 #include "../../../rosbag_storage/include/rosbag/stream.h" 57 void openWrite (std::string
const&
filename);
58 void openRead (std::string
const&
filename);
59 void openReadWrite(std::string
const&
filename);
63 std::string getFileName()
const;
65 uint32_t getCompressedBytesIn()
const;
73 void write(std::string
const&
s);
74 void write(
void* ptr,
size_t size);
75 void read(
void* ptr,
size_t size);
76 std::string getline();
82 void open(std::string
const&
filename, std::string
const&
mode);
std::shared_ptr< StreamFactory > stream_factory_
GLsizei GLsizei GLchar * source
std::shared_ptr< Stream > read_stream_
ChunkedFile reads and writes files which contain interleaved chunks of compressed and uncompressed da...
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
GLenum GLuint GLenum GLsizei length
char * unused_
extra data read by compressed stream
#define ROSBAG_DECL
#include <ros/macros.h> // for the DECL's