AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
Renderer.cpp File Reference
#include <algorithm>
#include <chrono>
#include <fstream>
#include <AVSCommon/SDKInterfaces/SpeakerInterface.h>
#include <AVSCommon/Utils/Logger/Logger.h>
#include <AVSCommon/Utils/Metrics/MetricEventBuilder.h>
#include <AVSCommon/Utils/Metrics/DataPointCounterBuilder.h>
#include "acsdkAlerts/Renderer/Renderer.h"
Include dependency graph for Renderer.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::acsdkAlerts
 
 alexaClientSDK::acsdkAlerts::renderer
 

Macros

#define LX(event)   alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)
 

Functions

static const std::string alexaClientSDK::acsdkAlerts::renderer::TAG ("Renderer")
 String to identify log entries originating from this file. More...
 
static bool alexaClientSDK::acsdkAlerts::renderer::isSourceIdOk (MediaPlayerInterface::SourceId sourceId)
 
static void alexaClientSDK::acsdkAlerts::renderer::submitMetric (const std::shared_ptr< MetricRecorderInterface > &metricRecorder, const std::string &eventName, int count)
 

Variables

static const std::string alexaClientSDK::acsdkAlerts::renderer::ALERT_RENDERER_METRIC_SOURCE_PREFIX = "ALERT_RENDERER-"
 Metric Activity Name Prefix for ALERTS RENDERER metric source. More...
 
static const auto alexaClientSDK::acsdkAlerts::renderer::ALARM_VOLUME_RAMP_TIME = std::chrono::minutes(1)
 The duration of time for the alarm volume ramp to reach the alert volume sound. More...
 

Macro Definition Documentation

◆ LX

#define LX (   event)    alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)

Create a LogEntry using this file's TAG and the specified event string.

Parameters
Theevent string for this LogEntry.

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