ATLAS Offline Software
Loading...
Searching...
No Matches
IMonitoredVariable.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef AthenaMonitoringKernel_IMonitoredVariable_h
6#define AthenaMonitoringKernel_IMonitoredVariable_h
7
8#include <string>
9#include <vector>
10
11namespace Monitored {
12 class MonitoredGroup;
13
15 public:
18
19 const std::string& name() const { return m_name; }
20 virtual double get(size_t) const = 0;
21 virtual std::string getString(size_t) const = 0;
22 virtual bool hasStringRepresentation() const = 0;
23 virtual size_t size() const = 0;
24
25 protected:
26
28 : m_name(std::move(name)) {}
29
30 private:
31 const std::string m_name;
32 };
33}
34
35#endif /* AthenaMonitoringKernel_IMonitoredVariable_h */
const std::string & name() const
virtual std::string getString(size_t) const =0
virtual double get(size_t) const =0
virtual size_t size() const =0
gives size of vector representation
virtual bool hasStringRepresentation() const =0
indcates that the stored content can be converted to strings
Generic monitoring tool for athena components.
STL namespace.