3 #include <filems/write/comps/SimpleSyncFileWriter.h>
4 #include <filems/write/strategies/DirectFullWaveformWriteStrategy.h>
9 namespace helios {
namespace filems{
11 using std::make_shared;
34 const std::string&
path,
35 std::ios_base::openmode om = std::ios_base::app
39 this->
writeStrategy = make_shared<DirectFullWaveformWriteStrategy>(
Abstract specialization of SingleSyncFileWriter to write output directly to a file.
Definition: SimpleSyncFileWriter.h:23
std::ofstream ofs
Output file stream to be used by the simple synchronous file writer.
Definition: SimpleSyncFileWriter.h:31
std::string path
Path to file to be written.
Definition: SingleSyncFileWriter.h:28
std::shared_ptr< WriteStrategy< WriteArgs ... > > writeStrategy
The write strategy specifying how to write data to file.
Definition: SingleSyncFileWriter.h:36