DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
ERS stream implementation. More...
#include <ProtoBufStream.hpp>
Public Member Functions | |
ProtoBufStream (const std::string ¶m) | |
void | write (const ers::Issue &issue) override |
![]() | |
virtual | ~OutputStream () |
Sends the issue into this stream. | |
Private Attributes | |
std::unique_ptr< dunedaq::erskafka::ERSPublisher > | m_publisher |
std::string | m_session |
std::string | m_application |
Additional Inherited Members | |
![]() | |
OutputStream () | |
OutputStream & | chained () |
virtual bool | isNull () const |
ERS stream implementation.
This stream offers capability of publishing Issues to a data stream, So that other services can subscribe to the stream. A stream configuration is composed of the stream name, that is "protobufstream". Messages are transported using the ERS schema defined in ers
Definition at line 31 of file ProtoBufStream.hpp.
|
explicit |
Definition at line 24 of file ProtoBufStream.cpp.
|
overridevirtual |
Implements ers::OutputStream.
|
private |
Definition at line 39 of file ProtoBufStream.hpp.
|
private |
Definition at line 37 of file ProtoBufStream.hpp.
|
private |
Definition at line 38 of file ProtoBufStream.hpp.