Helios++
Helios software for LiDAR simulations
|
Abstract class defining common behavior for all synchronous file writers. More...
#include <SyncFileWriter.h>
Public Member Functions | |
SyncFileWriter ()=default | |
Default constructor for synchronous file writer. | |
virtual void | write (WriteArgs ... writeArgs)=0 |
Handle synchronous write operations. | |
virtual void | finish () |
Finish the writing so all writing operations are performed and all buffers are closed. | |
virtual std::string | getPath (size_t const idx) const =0 |
Obtain the path to the file corresponding to the idx-th writing stream. More... | |
std::string | getPath () |
Non index version of the SyncFileWriter::getPath(size_t const) function. More... | |
Abstract class defining common behavior for all synchronous file writers.
WriteArgs | Arguments for the write operation |
|
inline |
Non index version of the SyncFileWriter::getPath(size_t const) function.
|
pure virtual |
Obtain the path to the file corresponding to the idx-th writing stream.
idx | The index of the writing stream which path must be obtained |
Implemented in helios::filems::SingleSyncFileWriter< WriteArgs >, helios::filems::SingleSyncFileWriter< WriteArgs ... >, helios::filems::MultiSyncFileWriter< WriteArgs >, and helios::filems::MultiSyncFileWriter< WriteArgs ... >.