AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Typedefs | Functions | Variables
PreviewAlexaClient.cpp File Reference
#include <algorithm>
#include <cctype>
#include <csignal>
#include <acsdkManufactory/Manufactory.h>
#include <AVSCommon/AVS/CapabilitySemantics/CapabilitySemantics.h>
#include <AVSCommon/AVS/Initialization/AlexaClientSDKInit.h>
#include <AVSCommon/AVS/Initialization/InitializationParametersBuilder.h>
#include <AVSCommon/SDKInterfaces/Bluetooth/BluetoothDeviceConnectionRuleInterface.h>
#include <AVSCommon/SDKInterfaces/Diagnostics/ProtocolTracerInterface.h>
#include <AVSCommon/SDKInterfaces/Endpoints/EndpointBuilderInterface.h>
#include <AVSCommon/SDKInterfaces/PowerResourceManagerInterface.h>
#include <AVSCommon/SDKInterfaces/Timing/TimerDelegateFactoryInterface.h>
#include <AVSCommon/Utils/Configuration/ConfigurationNode.h>
#include <AVSCommon/Utils/DeviceInfo.h>
#include <AVSCommon/Utils/LibcurlUtils/HTTPContentFetcherFactory.h>
#include <AVSCommon/Utils/LibcurlUtils/HttpPost.h>
#include <AVSCommon/Utils/Logger/Logger.h>
#include <AVSCommon/Utils/Logger/LoggerSinkManager.h>
#include <AVSCommon/Utils/Network/InternetConnectionMonitor.h>
#include <AVSCommon/Utils/Power/NoOpPowerResourceManager.h>
#include <AVSCommon/Utils/UUIDGeneration/UUIDGeneration.h>
#include <AVSGatewayManager/AVSGatewayManager.h>
#include <CapabilitiesDelegate/CapabilitiesDelegate.h>
#include <InterruptModel/config/InterruptModelConfiguration.h>
#include <SampleApp/CaptionPresenter.h>
#include <SampleApp/ExternalCapabilitiesBuilder.h>
#include <SampleApp/KeywordObserver.h>
#include <SampleApp/LocaleAssetsManager.h>
#include <SampleApp/PlatformSpecificValues.h>
#include <SpeechEncoder/SpeechEncoder.h>
#include <SynchronizeStateSender/SynchronizeStateSenderFactory.h>
#include "acsdkPreviewAlexaClient/PreviewAlexaClient.h"
#include "acsdkPreviewAlexaClient/PreviewAlexaClientComponent.h"
Include dependency graph for PreviewAlexaClient.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::acsdkPreviewAlexaClient
 

Macros

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

Typedefs

using alexaClientSDK::acsdkPreviewAlexaClient::MediaPlayerInterface = alexaClientSDK::avsCommon::utils::mediaPlayer::MediaPlayerInterface
 
using alexaClientSDK::acsdkPreviewAlexaClient::ApplicationMediaInterfaces = alexaClientSDK::avsCommon::sdkInterfaces::ApplicationMediaInterfaces
 
using alexaClientSDK::acsdkPreviewAlexaClient::PreviewAlexaClientManufactory = Manufactory< acsdkManufactory::Annotated< avsCommon::sdkInterfaces::AudioFocusAnnotation, avsCommon::sdkInterfaces::FocusManagerInterface >, acsdkManufactory::Annotated< avsCommon::sdkInterfaces::VisualFocusAnnotation, avsCommon::sdkInterfaces::FocusManagerInterface >, acsdkManufactory::Annotated< avsCommon::sdkInterfaces::endpoints::DefaultEndpointAnnotation, avsCommon::sdkInterfaces::endpoints::EndpointBuilderInterface >, std::shared_ptr< acsdkAlertsInterfaces::AlertsCapabilityAgentInterface >, std::shared_ptr< acsdkApplicationAudioPipelineFactoryInterfaces::ApplicationAudioPipelineFactoryInterface >, std::shared_ptr< acsdkAudioPlayerInterfaces::AudioPlayerInterface >, std::shared_ptr< acsdkBluetoothInterfaces::BluetoothLocalInterface >, std::shared_ptr< acsdkBluetoothInterfaces::BluetoothNotifierInterface >, std::shared_ptr< acsdkDeviceSetupInterfaces::DeviceSetupInterface >, std::shared_ptr< acsdkEqualizerInterfaces::EqualizerRuntimeSetupInterface >, std::shared_ptr< acsdkExternalMediaPlayer::ExternalMediaPlayer >, std::shared_ptr< acsdkExternalMediaPlayerInterfaces::ExternalMediaPlayerInterface >, std::shared_ptr< acsdkInteractionModelInterfaces::InteractionModelNotifierInterface >, std::shared_ptr< acsdkKWDImplementations::AbstractKeywordDetector >, std::shared_ptr< acsdkNotificationsInterfaces::NotificationsNotifierInterface >, std::shared_ptr< acsdkShutdownManagerInterfaces::ShutdownManagerInterface >, std::shared_ptr< acsdkStartupManagerInterfaces::StartupManagerInterface >, std::shared_ptr< acsdkSystemClockMonitorInterfaces::SystemClockMonitorInterface >, std::shared_ptr< afml::interruptModel::InterruptModel >, std::shared_ptr< avsCommon::avs::attachment::AttachmentManagerInterface >, std::shared_ptr< avsCommon::avs::AudioInputStream >, std::shared_ptr< avsCommon::avs::DialogUXStateAggregator >, std::shared_ptr< avsCommon::avs::initialization::AlexaClientSDKInit >, std::shared_ptr< avsCommon::sdkInterfaces::audio::AudioFactoryInterface >, std::shared_ptr< avsCommon::sdkInterfaces::AuthDelegateInterface >, std::shared_ptr< avsCommon::sdkInterfaces::AVSConnectionManagerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::AVSGatewayManagerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::CapabilitiesDelegateInterface >, std::shared_ptr< avsCommon::sdkInterfaces::ChannelVolumeFactoryInterface >, std::shared_ptr< avsCommon::sdkInterfaces::ContextManagerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::DirectiveSequencerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface >, std::shared_ptr< avsCommon::sdkInterfaces::ExpectSpeechTimeoutHandlerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::HTTPContentFetcherInterfaceFactoryInterface >, std::shared_ptr< avsCommon::sdkInterfaces::InternetConnectionMonitorInterface >, std::shared_ptr< avsCommon::sdkInterfaces::LocaleAssetsManagerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::MessageSenderInterface >, std::shared_ptr< avsCommon::sdkInterfaces::PlaybackRouterInterface >, std::shared_ptr< avsCommon::sdkInterfaces::PowerResourceManagerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::RenderPlayerInfoCardsProviderRegistrarInterface >, std::shared_ptr< avsCommon::sdkInterfaces::SpeakerManagerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::storage::MiscStorageInterface >, std::shared_ptr< avsCommon::sdkInterfaces::storage::MiscStorageInterface >, std::shared_ptr< avsCommon::sdkInterfaces::SystemSoundPlayerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::SystemTimeZoneInterface >, std::shared_ptr< avsCommon::sdkInterfaces::UserInactivityMonitorInterface >, std::shared_ptr< avsCommon::utils::AudioFormat >, std::shared_ptr< avsCommon::utils::configuration::ConfigurationNode >, std::shared_ptr< avsCommon::utils::DeviceInfo >, std::shared_ptr< avsCommon::utils::metrics::MetricRecorderInterface >, std::shared_ptr< capabilityAgents::alexa::AlexaInterfaceMessageSender >, std::shared_ptr< capabilityAgents::doNotDisturb::DoNotDisturbCapabilityAgent >, std::shared_ptr< captions::CaptionManagerInterface >, std::shared_ptr< certifiedSender::CertifiedSender >, std::shared_ptr< registrationManager::CustomerDataManagerInterface >, std::shared_ptr< registrationManager::RegistrationManagerInterface >, std::shared_ptr< registrationManager::RegistrationNotifierInterface >, std::shared_ptr< sampleApp::UIManager >, std::shared_ptr< settings::DeviceSettingsManager >, std::shared_ptr< settings::storage::DeviceSettingStorageInterface >, std::shared_ptr< speechencoder::SpeechEncoder >, std::shared_ptr< acsdkCryptoInterfaces::CryptoFactoryInterface >, std::shared_ptr< acsdkCryptoInterfaces::KeyStoreInterface > >
 

Functions

static const std::string alexaClientSDK::acsdkPreviewAlexaClient::FIRMWARE_VERSION_KEY ("firmwareVersion")
 Key for the firmwareVersion value under the SAMPLE_APP_CONFIG_KEY configuration node. More...
 
static const std::string alexaClientSDK::acsdkPreviewAlexaClient::ENDPOINT_KEY ("endpoint")
 Key for the endpoint value under the SAMPLE_APP_CONFIG_KEY configuration node. More...
 
static const std::string alexaClientSDK::acsdkPreviewAlexaClient::DISPLAY_CARD_KEY ("displayCardsSupported")
 Key for setting if display cards are supported or not under the SAMPLE_APP_CONFIG_KEY configuration node. More...
 
static const std::string alexaClientSDK::acsdkPreviewAlexaClient::TAG ("PreviewAlexaClient")
 String to identify log entries originating from this file. More...
 
static alexaClientSDK::avsCommon::utils::logger::Level alexaClientSDK::acsdkPreviewAlexaClient::getLogLevelFromUserInput (std::string userInputLogLevel)
 
static bool alexaClientSDK::acsdkPreviewAlexaClient::ignoreSigpipeSignals ()
 

Variables

static const std::set< alexaClientSDK::avsCommon::utils::logger::LevelalexaClientSDK::acsdkPreviewAlexaClient::allLevels
 A set of all log levels. 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