ONE - On-device Neural Engine
Loading...
Searching...
No Matches
EventFormatWriter Class Referenceabstract

#include <EventWriter.h>

Public Member Functions

 EventFormatWriter (const std::string &filepath)
 
virtual ~EventFormatWriter ()
 
virtual void flush (const std::vector< std::unique_ptr< EventRecorder > > &)=0
 

Protected Attributes

std::ofstream _os
 

Detailed Description

Definition at line 28 of file EventWriter.h.

Constructor & Destructor Documentation

◆ EventFormatWriter()

EventFormatWriter::EventFormatWriter ( const std::string &  filepath)
inline

Definition at line 31 of file EventWriter.h.

31: _os{filepath, std::ofstream::out} {}
std::ofstream _os
Definition EventWriter.h:39

◆ ~EventFormatWriter()

virtual EventFormatWriter::~EventFormatWriter ( )
inlinevirtual

Definition at line 32 of file EventWriter.h.

33 { /* empty */
34 }

Member Function Documentation

◆ flush()

virtual void EventFormatWriter::flush ( const std::vector< std::unique_ptr< EventRecorder > > &  )
pure virtual

Field Documentation

◆ _os

std::ofstream EventFormatWriter::_os
protected

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