Helios++
Helios software for LiDAR simulations
helios::filems::FileWriter< WriteArgs > Class Template Referenceabstract

Abstract class declaring the methods that any file writer must implement ( FileWriter::write ) and allowing for an optional redefinition of the method that handles the end of life of the writer ( FileWriter::finish ) More...

#include <FileWriter.h>

Public Member Functions

 FileWriter ()=default
 Default constructor for the FileWriter class.
 
virtual void write (WriteArgs ... writeArgs)=0
 The write method. Any concrete file writer must override this method and provide a valid implementation.
 
virtual void finish ()
 

Detailed Description

template<typename ... WriteArgs>
class helios::filems::FileWriter< WriteArgs >

Abstract class declaring the methods that any file writer must implement ( FileWriter::write ) and allowing for an optional redefinition of the method that handles the end of life of the writer ( FileWriter::finish )

Author
Alberto M. Esmoris Pena
Version
1.0

Member Function Documentation

◆ finish()

template<typename ... WriteArgs>
virtual void helios::filems::FileWriter< WriteArgs >::finish ( )
inlinevirtual
See also
This function can be overriden by any implementation that needs to do something before the writer is disabled or deleted (e.g., flushing output streams)

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