DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
InputStream.hpp File Reference
#include <ers/Issue.hpp>
#include <ers/IssueReceiver.hpp>
#include <string>
#include <ers/StreamFactory.hpp>
Include dependency graph for InputStream.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ers::InputStream
 ERS Issue input stream interface. More...

Namespaces

namespace  ers

Macros

#define ERS_REGISTER_INPUT_STREAM(class, name, params)

Macro Definition Documentation

◆ ERS_REGISTER_INPUT_STREAM

#define ERS_REGISTER_INPUT_STREAM ( class,
name,
params )
Value:
namespace { \
struct InputStreamRegistrator \
{ \
static ers::InputStream* create(const std::initializer_list<std::string>& params) \
{ \
return new class(params); \
} \
InputStreamRegistrator() \
{ \
ers::StreamFactory::instance().register_in_stream(name, create); \
} \
} registrator_mp; \
}
ERS Issue input stream interface.

Definition at line 65 of file InputStream.hpp.