DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
ProtoBufStream.hpp
Go to the documentation of this file.
1
9
10#ifndef ERSKAFKA_PROTOBUFSTREAM_HPP
11#define ERSKAFKA_PROTOBUFSTREAM_HPP
12
14#include <ers/OutputStream.hpp>
15
16#include <memory>
17#include <string>
18#include <vector>
19
20namespace erskafka {
29
31{
32public:
33 explicit ProtoBufStream(const std::string& param);
34 void write(const ers::Issue& issue) override;
35
36private:
37 std::unique_ptr<dunedaq::erskafka::ERSPublisher> m_publisher;
38 std::string m_session;
39 std::string m_application;
40};
41} // namespace erskafka
42
43#endif // ERSKAFKA_ERSSTREAM_HPP
Base class for any user define issue.
Definition Issue.hpp:76
ERS abstract output stream interface.
ProtoBufStream(const std::string &param)
std::unique_ptr< dunedaq::erskafka::ERSPublisher > m_publisher
void write(const ers::Issue &issue) override