mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-23 05:02:41 +02:00
30 lines
562 B
C++
30 lines
562 B
C++
#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"
|
|
|
|
class ProcessManager
|
|
{
|
|
H5WriteModule& write_module_;
|
|
ZmqRecvModule& recv_module_;
|
|
|
|
public:
|
|
ProcessManager(H5WriteModule& write_module,
|
|
ZmqRecvModule& recv_module);
|
|
|
|
void start_rest_api(const uint16_t rest_port);
|
|
|
|
|
|
std::string get_status();
|
|
|
|
};
|
|
|
|
#endif
|