artdaq  v3_07_01
art::NetMonWrapper Class Reference

This class wraps NetMonTransportService so that it can act as an ArtdaqInput template class. More...

#include <artdaq/ArtModules/NetMonWrapper.hh>

Public Member Functions

 NetMonWrapper (fhicl::ParameterSet const &ps)
 NetMonWrapper Constructor. More...
 
virtual ~NetMonWrapper ()=default
 NetMonWrapper Destructor.
 
void receiveMessage (std::unique_ptr< TBufferFile > &msg)
 Receive a message from the NetMonTransportService. More...
 
void receiveInitMessage (std::unique_ptr< TBufferFile > &msg)
 Receive an init message from the NetMonTransportService. More...
 

Detailed Description

This class wraps NetMonTransportService so that it can act as an ArtdaqInput template class.

JCF, May-27-2016

This class is written with functionality such that it satisfies the requirements needed to be a template in the ArtdaqInput class

Definition at line 22 of file NetMonWrapper.hh.

Constructor & Destructor Documentation

art::NetMonWrapper::NetMonWrapper ( fhicl::ParameterSet const &  ps)

NetMonWrapper Constructor.

Parameters
psParameterSet for NetMonWrapper

Definition at line 10 of file NetMonWrapper.cc.

Member Function Documentation

void art::NetMonWrapper::receiveInitMessage ( std::unique_ptr< TBufferFile > &  msg)

Receive an init message from the NetMonTransportService.

Parameters
[out]msgA pointer to the received message

Definition at line 86 of file NetMonWrapper.cc.

void art::NetMonWrapper::receiveMessage ( std::unique_ptr< TBufferFile > &  msg)

Receive a message from the NetMonTransportService.

Parameters
[out]msgA pointer to the received message

Definition at line 17 of file NetMonWrapper.cc.


The documentation for this class was generated from the following files: