DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
ProtoBufStream.hpp
Go to the documentation of this file.
1
10#ifndef ERSKAFKA_PROTOBUFSTREAM_HPP
11#define ERSKAFKA_PROTOBUFSTREAM_HPP
12
13#include <ers/OutputStream.hpp>
15
16#include <string>
17#include <vector>
18#include <memory>
19
20namespace erskafka
21{
32 public:
33 explicit ProtoBufStream( const std::string & param);
34 void write( const ers::Issue & issue ) override;
35
36 private:
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:69
ERS abstract output stream interface.
ERS stream implementation.
ProtoBufStream(const std::string &param)
std::unique_ptr< dunedaq::erskafka::ERSPublisher > m_publisher
void write(const ers::Issue &issue) override