AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Typedefs | Functions | Variables
SpeakerManager.cpp File Reference
#include <chrono>
#include <rapidjson/document.h>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/writer.h>
#include <rapidjson/error/en.h>
#include <sstream>
#include <acsdkManufactory/Annotated.h>
#include <acsdkShutdownManagerInterfaces/ShutdownNotifierInterface.h>
#include <AVSCommon/AVS/CapabilityConfiguration.h>
#include <AVSCommon/AVS/SpeakerConstants/SpeakerConstants.h>
#include <AVSCommon/SDKInterfaces/Storage/MiscStorageInterface.h>
#include <AVSCommon/Utils/JSON/JSONUtils.h>
#include <AVSCommon/Utils/Logger/Logger.h>
#include <AVSCommon/Utils/Metrics.h>
#include <AVSCommon/Utils/Metrics/DataPointCounterBuilder.h>
#include <AVSCommon/Utils/Metrics/MetricEventBuilder.h>
#include "SpeakerManager/SpeakerManagerConstants.h"
#include "SpeakerManager/SpeakerManager.h"
#include "SpeakerManager/SpeakerManagerMiscStorage.h"
Include dependency graph for SpeakerManager.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::capabilityAgents
 
 alexaClientSDK::capabilityAgents::speakerManager
 

Macros

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

Typedefs

using alexaClientSDK::capabilityAgents::speakerManager::DefaultEndpointAnnotation = avsCommon::sdkInterfaces::endpoints::DefaultEndpointAnnotation
 

Functions

template<class T >
static bool alexaClientSDK::capabilityAgents::speakerManager::withinBounds (T value, T min, T max)
 
static std::string alexaClientSDK::capabilityAgents::speakerManager::getSourceString (SpeakerManagerObserverInterface::Source source)
 
static void alexaClientSDK::capabilityAgents::speakerManager::submitMetric (const std::shared_ptr< MetricRecorderInterface > &metricRecorder, const std::string &eventName, int count)
 
static std::shared_ptr< avsCommon::avs::CapabilityConfiguration > alexaClientSDK::capabilityAgents::speakerManager::getSpeakerCapabilityConfiguration ()
 

Variables

static const std::string alexaClientSDK::capabilityAgents::speakerManager::SPEAKER_CAPABILITY_INTERFACE_TYPE = "AlexaInterface"
 
static const std::string alexaClientSDK::capabilityAgents::speakerManager::SPEAKER_CAPABILITY_INTERFACE_NAME = "Speaker"
 Speaker interface name. More...
 
static const std::string alexaClientSDK::capabilityAgents::speakerManager::SPEAKER_CAPABILITY_INTERFACE_VERSION = "1.0"
 Speaker interface version. More...
 
static const std::vector< int > alexaClientSDK::capabilityAgents::speakerManager::DEFAULT_RETRY_TABLE
 Retry timeout table. More...
 
static const std::string alexaClientSDK::capabilityAgents::speakerManager::TAG {"SpeakerManager"}
 String to identify log entries originating from this file. More...
 
static const std::string alexaClientSDK::capabilityAgents::speakerManager::SPEAKER_MANAGER_METRIC_PREFIX = "SPEAKER_MANAGER-"
 prefix for metrics emitted from the SpeakerManager CA 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