mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-03 20:34:14 +02:00
Implement get_parameters
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <atomic>
|
||||
#include "config.hpp"
|
||||
|
||||
class WriterManager
|
||||
{
|
||||
@@ -16,13 +17,12 @@ class WriterManager
|
||||
std::atomic_int n_written_frames;
|
||||
|
||||
public:
|
||||
WriterManager(uint64_t n_images=0);
|
||||
WriterManager(uint64_t n_images=0, std::string dataset_name=config::dataset_name);
|
||||
void stop();
|
||||
std::string get_status();
|
||||
std::map<std::string, uint64_t> get_statistics();
|
||||
std::map<std::string, std::string> get_paramters();
|
||||
std::map<std::string, std::string> get_parameters();
|
||||
void set_parameters(std::map<std::string, std::string> &new_parameters);
|
||||
std::map<std::string, std::string>& get_parameters();
|
||||
bool is_running();
|
||||
void received_frame(size_t frame_index);
|
||||
void written_frame(size_t frame_index);
|
||||
|
||||
Reference in New Issue
Block a user