mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-23 03:22:43 +02:00
Define ProcessManager interface
This commit is contained in:
@@ -1,12 +1,6 @@
|
||||
#ifndef PROCESSMANAGER_H
|
||||
#define PROCESSMANAGER_H
|
||||
|
||||
#include "WriterUtils.hpp"
|
||||
#include "H5Format.hpp"
|
||||
#include "RingBuffer.hpp"
|
||||
#include "ZmqReceiver.hpp"
|
||||
#include <chrono>
|
||||
#include "date.h"
|
||||
#include "H5WriteModule.hpp"
|
||||
#include "ZmqRecvModule.hpp"
|
||||
|
||||
@@ -21,9 +15,21 @@ class ProcessManager
|
||||
|
||||
void start_rest_api(const uint16_t rest_port);
|
||||
|
||||
void start_writing(
|
||||
const std::string output_file,
|
||||
const int n_frames,
|
||||
const int user_id);
|
||||
void stop_writing();
|
||||
|
||||
void start_receiving(
|
||||
const std::string connect_address,
|
||||
const int n_receiving_threads);
|
||||
void stop_receiving();
|
||||
|
||||
std::string get_status();
|
||||
|
||||
std::unordered_map<std::string, float> get_statistics();
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user