mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-28 10:02:22 +02:00
Add binary writer stubs
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#ifndef BINARYWRITER_HPP
|
||||
#define BINARYWRITER_HPP
|
||||
|
||||
#include <string>
|
||||
#include "JFFileFormat.hpp"
|
||||
|
||||
class BinaryWriter {
|
||||
|
||||
const std::string device_name_;
|
||||
const std::string root_folder_;
|
||||
|
||||
public:
|
||||
BinaryWriter(
|
||||
const std::string& device_name,
|
||||
const std::string& root_folder);
|
||||
|
||||
void write(uint64_t pulse_id, const JFFileFormat& buffer);
|
||||
|
||||
void close();
|
||||
};
|
||||
|
||||
|
||||
#endif //BINARYWRITER_HPP
|
||||
Reference in New Issue
Block a user