artdaq  v3_09_01
ArtdaqInput_source.cc
1 #include "artdaq/ArtModules/ArtdaqInputHelper.hh"
2 #include "artdaq/ArtModules/detail/ShmemWrapper.hh"
3 
7 namespace art {
11 template<>
12 struct Source_generator<ArtdaqInputHelper<ShmemWrapper>>
13 {
14  static constexpr bool value = true;
15 };
16 
17 // Source declaration.
21 using ArtdaqInput = art::Source<ArtdaqInputHelper<ShmemWrapper>>;
22 } // namespace art
23 
24 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:23