artdaq  v3_00_01
DataLoggerCore.hh
1 #ifndef artdaq_Application_MPI2_DataLoggerCore_hh
2 #define artdaq_Application_MPI2_DataLoggerCore_hh
3 
4 #include "fhiclcpp/ParameterSet.h"
5 #include "canvas/Persistency/Provenance/RunID.h"
6 #include "artdaq/Application/DataReceiverCore.hh"
7 
8 
9 namespace artdaq
10 {
11  class DataLoggerCore;
12 }
13 
19 {
20 public:
21 
28  DataLoggerCore(int rank, std::string name);
29 
33  DataLoggerCore(DataLoggerCore const&) = delete;
34 
39 
44  DataLoggerCore& operator=(DataLoggerCore const&) = delete;
45 
78  bool initialize(fhicl::ParameterSet const& pset) override;
79 };
80 
81 #endif
82 
83 // LocalWords: ds
DataReceiverCore implements the state machine for the DataReceiver artdaq application. DataReceiverCore receives Fragment objects from the DataReceiverManager, and sends them to the EventStore.
bool initialize(fhicl::ParameterSet const &pset) override
Processes the initialize request.
DataLoggerCore & operator=(DataLoggerCore const &)=delete
Copy Assignment operator is deleted.
DataLoggerCore(int rank, std::string name)
DataLoggerCore Constructor.
DataLoggerCore implements the state machine for the DataLogger artdaq application. DataLoggerCore processes incoming events in one of three roles: Data Logger, Online Monitor, or Dispatcher.