artdaq_utilities  v1_02_04
 All Classes Namespaces Functions Variables Typedefs
Classes | Typedefs | Functions
artdaq Namespace Reference

The artdaq namespace. More...

Classes

class  FileMetric
 FileMetric writes metric data to a file on disk. More...
 
class  GraphiteMetric
 Send a metric to Graphite. More...
 
class  MetricManager
 The MetricManager class handles loading metric plugins and asynchronously sending metric data to them. It is designed to be a "black hole" for metrics, taking as little time as possible so that metrics do not impact the data-taking performance. More...
 
class  MetricPlugin
 The MetricPlugin class defines the interface that MetricManager uses to send metric data to the various metric plugins. More...
 
class  MsgFacilityMetric
 A MetricPlugin class which sends metric data to MessageFacility. More...
 
class  ProcFileMetric
 A MetricPlugin which writes a long unsigned int metric with a given name to a given pipe. More...
 

Typedefs

typedef std::unique_ptr
< artdaq::MetricPlugin
makeFunc_t (fhicl::ParameterSet const &ps)
 Make a MetricPlugin instance, loading the plugin if necessary. More...
 

Functions

std::unique_ptr< MetricPluginmakeMetricPlugin (std::string const &generator_plugin_spec, fhicl::ParameterSet const &ps)
 Load a given MetricPlugin and return a pointer to it. More...
 

Detailed Description

The artdaq namespace.

Typedef Documentation

typedef std::unique_ptr<artdaq::MetricPlugin> artdaq::makeFunc_t(fhicl::ParameterSet const &ps)

Make a MetricPlugin instance, loading the plugin if necessary.

Parameters
psParameterSet used to configure the MetricPlugin instance
Returns
A std::unique_ptr<artdaq::MetricPlugin> to the new instance

Definition at line 16 of file MetricMacros.hh.

Function Documentation

std::unique_ptr< artdaq::MetricPlugin > artdaq::makeMetricPlugin ( std::string const &  generator_plugin_spec,
fhicl::ParameterSet const &  ps 
)

Load a given MetricPlugin and return a pointer to it.

Parameters
generator_plugin_specName of the MetricPlugin
psParameterSet with which to configure the MetricPlugin
Returns
std::unique_ptr to the new MetricPlugin instance

Definition at line 8 of file makeMetricPlugin.cc.