artdaq_utilities
v1_05_02
|
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. | |
This union holds the values for all other metric types
Definition at line 104 of file MetricData.hh.
|
inline |
Construct a MetricDataValue
Definition at line 114 of file MetricData.hh.
|
inline |
Construct a MetricDataValue as integer
v | Integer to store |
Definition at line 120 of file MetricData.hh.
|
inline |
Construct a MetricDataValue as double
v | Double to store |
Definition at line 126 of file MetricData.hh.
|
inline |
Construct a MetricDataValue as fload
v | Float to store |
Definition at line 132 of file MetricData.hh.
|
inline |
Construct a MetricDataValue as unsigned int
v | Unsigned int to store |
Definition at line 138 of file MetricData.hh.