11#ifndef RTCTK_COMPONENTFRAMEWORK_FAKECOMPONENTMETRICS_HPP
12#define RTCTK_COMPONENTFRAMEWORK_FAKECOMPONENTMETRICS_HPP
35 [[nodiscard]]
virtual perfc::ScopedRegistration
Component metrics interface.
Definition componentMetricsIf.hpp:163
typename CounterTypes::CounterVariant CounterVariant
std::variant of pointers to each supported type in CounterTypes.
Definition componentMetricsIf.hpp:220
perfc::CounterTypes< perfc::CounterDouble, perfc::CounterU64, perfc::CounterI64 > CounterTypes
Defines standard performance counter types:
Definition componentMetricsIf.hpp:213
Defines auxiliary information associated with each counter registered with ComponentMetricsIf.
Definition componentMetricsIf.hpp:48
Header file for ComponentMetricsIf.
Definition commandReplier.cpp:21
Definition fakeComponentMetrics.hpp:18
typename CounterTypes::CounterVariant CounterVariant
std::variant of pointers to each supported type in CounterTypes.
Definition componentMetricsIf.hpp:220
bool RemoveCounter(CounterVariant counter) override
Remove counter from register.
Definition fakeComponentMetrics.hpp:40
bool IsMonitoring() noexcept override
Query whether monitoring is active.
Definition fakeComponentMetrics.hpp:28
void StartMonitoring() override
Start monitoring and publishing metrics.
Definition fakeComponentMetrics.hpp:22
virtual perfc::ScopedRegistration AddCounter(CounterVariant counter, CounterMetricInfo info) override
Add a counter to be included in component metrics, identified by its address, together with info to t...
Definition fakeComponentMetrics.hpp:36
void UpdateParams() override
Reloads parameters.
Definition fakeComponentMetrics.hpp:32
void StopMonitoring() noexcept override
Stop monitoring.
Definition fakeComponentMetrics.hpp:25