15 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_METRICS_METRICRECORDERINTERFACE_H_ 16 #define ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_METRICS_METRICRECORDERINTERFACE_H_ 42 virtual void recordMetric(std::shared_ptr<MetricEvent> metricEvent) = 0;
52 const std::shared_ptr<MetricRecorderInterface>& recorder,
53 std::shared_ptr<MetricEvent> metricEvent) {
54 #ifdef ACSDK_ENABLE_METRICS_RECORDING 56 recorder->recordMetric(
std::move(metricEvent));
69 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_METRICS_METRICRECORDERINTERFACE_H_
Definition: MetricRecorderInterface.h:28
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
virtual ~MetricRecorderInterface()=default
virtual void recordMetric(std::shared_ptr< MetricEvent > metricEvent)=0
const T & move(const T &t)
Definition: gtest-port.h:1317