artdaq  v3_12_02
ArtdaqInput_source.cc
1 #include "artdaq/ArtModules/ArtdaqInputHelper.hh"
2 #include "artdaq/ArtModules/detail/ShmemWrapper.hh"
3 
4 #include "art/Framework/Core/InputSourceMacros.h"
5 #include "art/Framework/IO/Sources/Source.h"
6 
10 namespace art {
14 template<>
15 struct Source_generator<ArtdaqInputHelper<ShmemWrapper>>
16 {
17  static constexpr bool value = true;
18 };
19 
20 // Source declaration.
24 using ArtdaqInput = art::Source<ArtdaqInputHelper<ShmemWrapper>>;
25 } // namespace art
26 
27 DEFINE_ART_INPUT_SOURCE(art::ArtdaqInput)
art::Source< ArtdaqInputHelper< ShmemWrapper >> ArtdaqInput
ArtdaqInput is an art::Source using an ArtdaqInputHelper-wrapped ShmemWrapper.
This template class provides a unified interface for reading data into art.
This class wraps ArtdaqSharedMemoryService so that it can act as an ArtdaqInput template class...
Definition: ShmemWrapper.hh:25