artdaq  v3_08_00
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 typedef art::Source<ArtdaqInputHelper<ShmemWrapper>> ArtdaqInput;
22 } // namespace art
23 
24 DEFINE_ART_INPUT_SOURCE(art::ArtdaqInput)
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
art::Source< ArtdaqInputHelper< ShmemWrapper > > ArtdaqInput
ArtdaqInput is an art::Source using an ArtdaqInputHelper-wrapped ShmemWrapper.