artdaq  v3_12_02
TransferListenerInput_source.cc
1 #include "artdaq/ArtModules/ArtdaqInputHelper.hh"
2 #include "artdaq/ArtModules/detail/ListenTransferWrapper.hh"
3 
4 #include "art/Framework/Core/InputSourceMacros.h"
5 #include "art/Framework/IO/Sources/Source.h"
6 
7 namespace art {
11 template<>
12 struct Source_generator<ArtdaqInputHelper<artdaq::ListenTransferWrapper>>
13 {
14  static constexpr bool value = true;
15 };
16 
20 using TransferInput = art::Source<ArtdaqInputHelper<artdaq::ListenTransferWrapper>>;
21 } // namespace art
22 
23 DEFINE_ART_INPUT_SOURCE(art::TransferInput)
art::Source< ArtdaqInputHelper< artdaq::TransferWrapper >> TransferInput
TransferInput is an art::Source using the artdaq::TransferWrapper class as the data source...
This template class provides a unified interface for reading data into art.