otsdaq_demo  v2_05_02_indev
OtsDemoArtdaqFragmentNamingService_service.cc
1 #include "artdaq/ArtModules/ArtdaqFragmentNamingService.h"
2 #include "otsdaq-demo/Overlays/FragmentType.hh"
3 
4 #include "TRACE/tracemf.h"
5 #define TRACE_NAME "OtsDemoArtdaqFragmentNamingService"
6 
11 class OtsDemoArtdaqFragmentNamingService : public ArtdaqFragmentNamingService
12 {
13  public:
17  virtual ~OtsDemoArtdaqFragmentNamingService() = default;
18 
22  OtsDemoArtdaqFragmentNamingService(fhicl::ParameterSet const&,
23  art::ActivityRegistry&);
24 
25  private:
26 };
27 
29  fhicl::ParameterSet const& ps, art::ActivityRegistry& r)
30  : ArtdaqFragmentNamingService(ps, r)
31 {
32  TLOG(TLVL_DEBUG) << "OtsDemoArtdaqFragmentNamingService CONSTRUCTOR START";
33  SetBasicTypes(ots::makeFragmentTypeMap());
34  TLOG(TLVL_DEBUG) << "OtsDemoArtdaqFragmentNamingService CONSTRUCTOR END";
35 }
36 
37 DECLARE_ART_SERVICE_INTERFACE_IMPL(OtsDemoArtdaqFragmentNamingService,
38  ArtdaqFragmentNamingServiceInterface,
39  LEGACY)
40 DEFINE_ART_SERVICE_INTERFACE_IMPL(OtsDemoArtdaqFragmentNamingService,
41  ArtdaqFragmentNamingServiceInterface)
OtsDemoArtdaqFragmentNamingService(fhicl::ParameterSet const &, art::ActivityRegistry &)
OtsDemoArtdaqFragmentNamingService Constructor.
virtual ~OtsDemoArtdaqFragmentNamingService()=default
DefaultArtdaqFragmentNamingService Destructor.
OtsDemoArtdaqFragmentNamingService extends ArtdaqFragmentNamingService. This implementation uses artd...