mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-03 20:04:14 +02:00
6ee8f7d89d
This is not needed anymore since we have a different architecture.
26 lines
525 B
C++
26 lines
525 B
C++
#ifndef SF_DAQ_BUFFER_ZMQLIVESENDER_HPP
|
|
#define SF_DAQ_BUFFER_ZMQLIVESENDER_HPP
|
|
|
|
#include <string>
|
|
#include "formats.hpp"
|
|
#include "BufferUtils.hpp"
|
|
|
|
|
|
class ZmqLiveSender {
|
|
const void* ctx_;
|
|
const BufferUtils::DetectorConfig config_;
|
|
|
|
void* socket_streamvis_;
|
|
void* socket_live_;
|
|
|
|
public:
|
|
ZmqLiveSender(void* ctx,
|
|
const BufferUtils::DetectorConfig& config);
|
|
~ZmqLiveSender();
|
|
|
|
void send(const ImageMetadata& meta, const char* data);
|
|
};
|
|
|
|
|
|
#endif //SF_DAQ_BUFFER_ZMQLIVESENDER_HPP
|