Rename classes to new standard

Prefix all Buffer related classes with Buffer.
This commit is contained in:
2020-05-11 13:54:49 +02:00
parent 0ca06b8e7a
commit 7f3c2c814e
5 changed files with 32 additions and 32 deletions
@@ -0,0 +1,32 @@
#ifndef BINARYWRITER_HPP
#define BINARYWRITER_HPP
#include <string>
#include "BufferBinaryFormat.hpp"
class BufferBinaryWriter {
const std::string device_name_;
const std::string root_folder_;
std::string latest_filename_;
std::string current_output_filename_;
int output_file_fd_;
void open_file(const std::string& filename);
void close_current_file();
public:
BufferBinaryWriter(
const std::string& device_name,
const std::string& root_folder);
virtual ~BufferBinaryWriter();
void write(const uint64_t pulse_id, const BufferBinaryFormat* buffer);
};
#endif //BINARYWRITER_HPP