farm-ng-core
farm_ng::EventLogWriterImpl Class Referenceabstract

Implementation of the EventLogWriter class. More...

#include <event_log_writer.h>

Inheritance diagram for farm_ng::EventLogWriterImpl:

Public Member Functions

virtual ~EventLogWriterImpl ()
 https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rh-dtor More...
 
virtual void write (std::string path, google::protobuf::Message const &message, google::protobuf::RepeatedPtrField< core::proto::Timestamp > const &timestamps)=0
 
virtual ssize_t getBytesWritten ()=0
 Returns the number of bytes written to the file so far. More...
 

Detailed Description

Implementation of the EventLogWriter class.

Constructor & Destructor Documentation

◆ ~EventLogWriterImpl()

virtual farm_ng::EventLogWriterImpl::~EventLogWriterImpl ( )
inlinevirtual

Member Function Documentation

◆ getBytesWritten()

virtual ssize_t farm_ng::EventLogWriterImpl::getBytesWritten ( )
pure virtual

Returns the number of bytes written to the file so far.

Implemented in farm_ng::EventLogWriterBinaryImpl.

◆ write()

virtual void farm_ng::EventLogWriterImpl::write ( std::string  path,
google::protobuf::Message const &  message,
google::protobuf::RepeatedPtrField< core::proto::Timestamp > const &  timestamps 
)
pure virtual

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