12#ifndef RTCTK_COMPONENTFRAMEWORK_FAKECOMPONENTMETRICS_HPP
13#define RTCTK_COMPONENTFRAMEWORK_FAKECOMPONENTMETRICS_HPP
36 [[
nodiscard]]
virtual perfc::ScopedRegistration
Component metrics interface.
Definition componentMetricsIf.hpp:85
typename CounterTypes::CounterVariant CounterVariant
std::variant of pointers to each supported type in CounterTypes.
Definition componentMetricsIf.hpp:142
perfc::CounterTypes< perfc::CounterDouble, perfc::CounterU64, perfc::CounterI64 > CounterTypes
Defines standard performance counter types:
Definition componentMetricsIf.hpp:135
Defines auxiliary information associated with each counter registered with ComponentMetricsIf.
Definition componentMetricsIf.hpp:46
Header file for ComponentMetricsIf.
Definition commandReplier.cpp:22
elt::mal::future< std::string > InjectReqRepEvent(StateMachineEngine &engine)
Definition malEventInjector.hpp:23
Definition fakeComponentMetrics.hpp:19
typename CounterTypes::CounterVariant CounterVariant
std::variant of pointers to each supported type in CounterTypes.
Definition componentMetricsIf.hpp:142
bool RemoveCounter(CounterVariant counter) override
Remove counter from register.
Definition fakeComponentMetrics.hpp:41
bool IsMonitoring() noexcept override
Query whether monitoring is active.
Definition fakeComponentMetrics.hpp:29
void StartMonitoring() override
Start monitoring and publishing metrics.
Definition fakeComponentMetrics.hpp:23
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:37
void UpdateParams() override
Reloads parameters.
Definition fakeComponentMetrics.hpp:33
void StopMonitoring() noexcept override
Stop monitoring.
Definition fakeComponentMetrics.hpp:26