artdaq  v3_09_00
ArtdaqFragmentNamingService Class Reference

ArtdaqFragmentNamingService extends ArtdaqFragmentNamingServiceInterface. This implementation uses the default SystemTypeMap and directly assigns names based on it. More...

#include <artdaq/ArtModules/ArtdaqFragmentNamingService.h>

Inheritance diagram for ArtdaqFragmentNamingService:
ArtdaqFragmentNamingServiceInterface

Public Member Functions

virtual ~ArtdaqFragmentNamingService ()
 DefaultArtdaqFragmentNamingService Destructor.
 
 ArtdaqFragmentNamingService (fhicl::ParameterSet const &pset, art::ActivityRegistry &)
 NetMonTransportService Constructor. More...
 
- Public Member Functions inherited from ArtdaqFragmentNamingServiceInterface
virtual ~ArtdaqFragmentNamingServiceInterface ()=default
 Default virtual destructor.
 
 ArtdaqFragmentNamingServiceInterface (fhicl::ParameterSet const &ps)
 ArtdaqFragmentNamingServiceInterface constructor. More...
 
std::string GetInstanceNameForType (artdaq::Fragment::type_t type_id) const
 Returns the basic translation for the specified type. Must be implemented by derived classes.
 
std::set< std::string > GetAllProductInstanceNames () const
 Returns the full set of product instance names which may be present in the data, based on the types that have been specified in the SetBasicTypes() and AddExtraType() methods. This does include "container" types, if the container type mapping is part of the basic types. Must be implemented by derived classes.
 
std::pair< bool, std::string > GetInstanceNameForFragment (artdaq::Fragment const &fragment) const
 Returns the product instance name for the specified fragment, based on the types that have been specified in the SetBasicTypes() and AddExtraType() methods. This does include the use of "container" types, if the container type mapping is part of the basic types. If no mapping is found, the specified unidentified_instance_name is returned. Must be implemented by derived classes.
 
std::string GetUnidentifiedInstanceName () const
 

Additional Inherited Members

- Protected Attributes inherited from ArtdaqFragmentNamingServiceInterface
std::shared_ptr
< artdaq::FragmentNameHelper > 
nameHelper_
 

Detailed Description

ArtdaqFragmentNamingService extends ArtdaqFragmentNamingServiceInterface. This implementation uses the default SystemTypeMap and directly assigns names based on it.

Definition at line 79 of file ArtdaqFragmentNamingService.h.

Constructor & Destructor Documentation

ArtdaqFragmentNamingService::ArtdaqFragmentNamingService ( fhicl::ParameterSet const &  pset,
art::ActivityRegistry &   
)

NetMonTransportService Constructor.

Parameters
psetParameterSet used to configure NetMonTransportService and DataSenderManager. See NetMonTransportService::Config

Definition at line 7 of file ArtdaqFragmentNamingService_service.cc.


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