1 #ifndef artdaq_ArtModules_NetMonWrapper_hh
2 #define artdaq_ArtModules_NetMonWrapper_hh
5 #include "artdaq/ArtModules/NetMonTransportService.h"
7 #include "art/Framework/Services/Registry/ServiceHandle.h"
8 #include "fhiclcpp/fwd.h"
10 #include <TBufferFile.h>
41 ServiceHandle<NetMonTransportService> transport;
50 ServiceHandle<NetMonTransportService> transport;
51 transport->disconnect();
~NetMonWrapper()
NetMonWrapper Destructor.
This class wraps NetMonTransportService so that it can act as an ArtdaqInput template class...
NetMonWrapper(const fhicl::ParameterSet &)
NetMonWrapper Constructor.
void receiveMessage(std::unique_ptr< TBufferFile > &msg)
Receive a message from the NetMonTransportService.
void receiveInitMessage(std::unique_ptr< TBufferFile > &msg)
Receive an init message from the NetMonTransportService.