Rename SFWriter to new standard naming

This commit is contained in:
2020-05-15 10:11:08 +02:00
parent ae9a4e6857
commit 1b41dd623f
6 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
#include <RingBuffer.hpp>
#include <thread>
#include <chrono>
#include "SFWriter.hpp"
#include "WriterH5Writer.hpp"
using namespace std;
using namespace core_buffer;
@@ -33,7 +33,7 @@ int main (int argc, char *argv[])
size_t n_modules = 32;
size_t n_frames = stop_pulse_id - start_pulse_id;
SFWriter writer(output_file, n_frames, n_modules);
WriterH5Writer writer(output_file, n_frames, n_modules);
// TODO: Remove stats trash.
int i_write = 0;
+2 -2
View File
@@ -1,4 +1,4 @@
#include "SFWriter.hpp"
#include "WriterH5Writer.hpp"
#include "gtest/gtest.h"
using namespace core_buffer;
@@ -11,7 +11,7 @@ TEST(SFWriter, basic_interaction)
auto data = make_unique<char[]>(n_modules*MODULE_N_BYTES);
auto metadata = make_shared<DetectorFrame>();
SFWriter writer("ignore.h5", n_frames, n_modules);
WriterH5Writer writer("ignore.h5", n_frames, n_modules);
writer.write(metadata.get(), data.get());
writer.close_file();