AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | Public Attributes | List of all members
test::MetricRecorderTest Class Reference
Inheritance diagram for test::MetricRecorderTest:
Inheritance graph
[legend]
Collaboration diagram for test::MetricRecorderTest:
Collaboration graph
[legend]

Public Member Functions

 ~MetricRecorderTest () override=default
 
void recordMetric (std::shared_ptr< MetricEvent > metricEvent) override
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::utils::metrics::MetricRecorderInterface
virtual ~MetricRecorderInterface ()=default
 

Public Attributes

vector< shared_ptr< MetricEvent > > m_metricEvents
 

Constructor & Destructor Documentation

◆ ~MetricRecorderTest()

test::MetricRecorderTest::~MetricRecorderTest ( )
overridedefault

Member Function Documentation

◆ recordMetric()

void test::MetricRecorderTest::recordMetric ( std::shared_ptr< MetricEvent metricEvent)
inlineoverridevirtual

This function is responsible for making sure that metrics is sent to a sink implementation for their consumption of MetricEvent.

Note
implementations of this function should be non-blocking
Parameters
metricEventis the metric event to be recorded

Implements alexaClientSDK::avsCommon::utils::metrics::MetricRecorderInterface.

Member Data Documentation

◆ m_metricEvents

vector<shared_ptr<MetricEvent> > test::MetricRecorderTest::m_metricEvents

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

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0