artdaq_utilities  v1_06_03
artdaq::TestMetric Class Reference

Provides in-memory storage of metric data for testing More...

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

Classes

struct  MetricPoint
 Describes a single metric point More...
 

Static Public Member Functions

static void LockReceivedMetricMutex ()
 Lock the ReceivedMetricMutex More...
 
static void UnlockReceivedMetricMutex ()
 Unlock the ReceivedMetricMutex More...
 

Static Public Attributes

static std::mutex received_metrics_mutex
 Mutex to protect the received_metrics list.
 
static std::list< MetricPointreceived_metrics = std::list<TestMetric::MetricPoint>()
 List of received metric data.
 

Detailed Description

Provides in-memory storage of metric data for testing

Definition at line 19 of file TestMetric.hh.

Member Function Documentation

static void artdaq::TestMetric::LockReceivedMetricMutex ( )
inlinestatic

Lock the ReceivedMetricMutex

Definition at line 36 of file TestMetric.hh.

static void artdaq::TestMetric::UnlockReceivedMetricMutex ( )
inlinestatic

Unlock the ReceivedMetricMutex

Definition at line 46 of file TestMetric.hh.


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