artdaq_utilities  v1_05_02
artdaq::MetricData::MetricDataValue Union Reference

This union holds the values for all other metric types More...

#include <artdaq-utilities/Plugins/MetricData.hh>

Public Member Functions

 MetricDataValue ()
 Construct a MetricDataValue More...
 
 MetricDataValue (int v)
 Construct a MetricDataValue as integer More...
 
 MetricDataValue (double v)
 Construct a MetricDataValue as double More...
 
 MetricDataValue (float v)
 Construct a MetricDataValue as fload More...
 
 MetricDataValue (long unsigned int v)
 Construct a MetricDataValue as unsigned int More...
 

Public Attributes

int i
 Value of the metric, if it is a MetricType::IntMetric.
 
double d
 Value of the metric, if it is a MetricType::DoubleMetric.
 
float f
 Value of the metric, if it is a MetricType::FloatMetric.
 
long unsigned int u
 Value of the metric, if it is a MetricType::UnsignedMetric.
 

Detailed Description

This union holds the values for all other metric types

Definition at line 104 of file MetricData.hh.

Constructor & Destructor Documentation

artdaq::MetricData::MetricDataValue::MetricDataValue ( )
inline

Construct a MetricDataValue

Definition at line 114 of file MetricData.hh.

artdaq::MetricData::MetricDataValue::MetricDataValue ( int  v)
inline

Construct a MetricDataValue as integer

Parameters
vInteger to store

Definition at line 120 of file MetricData.hh.

artdaq::MetricData::MetricDataValue::MetricDataValue ( double  v)
inline

Construct a MetricDataValue as double

Parameters
vDouble to store

Definition at line 126 of file MetricData.hh.

artdaq::MetricData::MetricDataValue::MetricDataValue ( float  v)
inline

Construct a MetricDataValue as fload

Parameters
vFloat to store

Definition at line 132 of file MetricData.hh.

artdaq::MetricData::MetricDataValue::MetricDataValue ( long unsigned int  v)
inline

Construct a MetricDataValue as unsigned int

Parameters
vUnsigned int to store

Definition at line 138 of file MetricData.hh.


The documentation for this union was generated from the following file: