artdaq  v3_03_00
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 (const fhicl::ParameterSet &pset)
 NetMonWrapper Constructor. More...
 
 ~NetMonWrapper ()
 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 27 of file NetMonWrapper.hh.

Constructor & Destructor Documentation

art::NetMonWrapper::NetMonWrapper ( const fhicl::ParameterSet &  pset)
inline

NetMonWrapper Constructor.

JCF, May-31-2016

Parameter set constructor argument is unused for now, but needed for this class to implement the interface the ArtdaqInput templatized input source expects

Definition at line 40 of file NetMonWrapper.hh.

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 19 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 7 of file NetMonWrapper.cc.


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