AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <UplCalculatorInterface.h>
Public Types | |
using | UplTimePoint = std::chrono::steady_clock::time_point |
Alias for convenience. More... | |
Public Member Functions | |
virtual | ~UplCalculatorInterface ()=default |
virtual void | inspectMetric (const std::shared_ptr< avsCommon::utils::metrics::MetricEvent > &metricEvent)=0 |
virtual void | setUplData (const std::shared_ptr< UplData > &uplData)=0 |
Protected Attributes | |
std::shared_ptr< UplData > | m_uplData |
Interface class to inspect metrics and perform UPL analysis.
using alexaClientSDK::avsCommon::utils::metrics::UplCalculatorInterface::UplTimePoint = std::chrono::steady_clock::time_point |
Alias for convenience.
|
virtualdefault |
Destructor.
|
pure virtual |
Inspect the given metric. If needed, record the metric and perform calculations.
metricEvent | is the MetricEvent to inspect. |
|
pure virtual |
Sets the uplData to the given pointer.
uplData | Object to record in. |
Implemented in alexaClientSDK::metrics::implementations::BaseUplCalculator, alexaClientSDK::metrics::implementations::MediaUplCalculator, and alexaClientSDK::metrics::implementations::TtsUplCalculator.
|
protected |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0