VRS
A file format for sensor data.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
vrs::NewChunkNotifier Class Reference

Helper to make new chunks notifications simpler and safer. More...

#include <NewChunkHandler.h>

Public Member Functions

 NewChunkNotifier (WriteFileHandler &file, const std::unique_ptr< NewChunkHandler > &chunkHandler)
 
void notify (size_t indexOffset=0, bool isLastChunk=false)
 

Detailed Description

Helper to make new chunks notifications simpler and safer.

New chunks notifications must come after the chunk has been closed, which leads to ugly/unsafe code. This helper class gathers the details about the current chunk, so that the notification, if any, can be sent at the right time.


The documentation for this class was generated from the following file: