AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
DefaultClientComponent.h
Go to the documentation of this file.
1 /*
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License").
5  * You may not use this file except in compliance with the License.
6  * A copy of the License is located at
7  *
8  * http://aws.amazon.com/apache2.0/
9  *
10  * or in the "license" file accompanying this file. This file is distributed
11  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12  * express or implied. See the License for the specific language governing
13  * permissions and limitations under the License.
14  */
15 
16 #ifndef ALEXA_CLIENT_SDK_APPLICATIONUTILITIES_DEFAULTCLIENT_INCLUDE_DEFAULTCLIENT_DEFAULTCLIENTCOMPONENT_H_
17 #define ALEXA_CLIENT_SDK_APPLICATIONUTILITIES_DEFAULTCLIENT_INCLUDE_DEFAULTCLIENT_DEFAULTCLIENTCOMPONENT_H_
18 
19 #include <memory>
20 
72 
75 
76 namespace alexaClientSDK {
77 namespace defaultClient {
78 
85 using DefaultClientComponent = acsdkManufactory::Component<
86  std::shared_ptr<acsdkAlertsInterfaces::AlertsCapabilityAgentInterface>,
87  std::shared_ptr<acsdkApplicationAudioPipelineFactoryInterfaces::ApplicationAudioPipelineFactoryInterface>,
88  std::shared_ptr<acsdkAudioPlayerInterfaces::AudioPlayerInterface>,
89  std::shared_ptr<acsdkBluetoothInterfaces::BluetoothLocalInterface>,
90  std::shared_ptr<acsdkBluetoothInterfaces::BluetoothNotifierInterface>,
91  std::shared_ptr<acsdkEqualizerInterfaces::EqualizerRuntimeSetupInterface>,
92  std::shared_ptr<acsdkExternalMediaPlayer::ExternalMediaPlayer>,
93  std::shared_ptr<acsdkExternalMediaPlayerInterfaces::ExternalMediaPlayerInterface>,
94  std::shared_ptr<acsdkNotificationsInterfaces::NotificationsNotifierInterface>,
95  std::shared_ptr<acsdkShutdownManagerInterfaces::ShutdownManagerInterface>,
96  std::shared_ptr<acsdkStartupManagerInterfaces::StartupManagerInterface>,
97  std::shared_ptr<avsCommon::sdkInterfaces::DirectiveSequencerInterface>,
98  std::shared_ptr<afml::interruptModel::InterruptModel>,
99  std::shared_ptr<avsCommon::avs::DialogUXStateAggregator>,
100  std::shared_ptr<avsCommon::avs::attachment::AttachmentManagerInterface>,
101  std::shared_ptr<avsCommon::sdkInterfaces::AuthDelegateInterface>,
102  std::shared_ptr<avsCommon::sdkInterfaces::AVSConnectionManagerInterface>,
103  std::shared_ptr<avsCommon::sdkInterfaces::AVSGatewayManagerInterface>,
104  std::shared_ptr<avsCommon::sdkInterfaces::CapabilitiesDelegateInterface>,
105  std::shared_ptr<avsCommon::sdkInterfaces::ChannelVolumeFactoryInterface>,
106  std::shared_ptr<avsCommon::sdkInterfaces::ContextManagerInterface>,
107  std::shared_ptr<avsCommon::sdkInterfaces::ExpectSpeechTimeoutHandlerInterface>,
108  std::shared_ptr<avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface>,
109  acsdkManufactory::
110  Annotated<avsCommon::sdkInterfaces::AudioFocusAnnotation, avsCommon::sdkInterfaces::FocusManagerInterface>,
111  acsdkManufactory::
112  Annotated<avsCommon::sdkInterfaces::VisualFocusAnnotation, avsCommon::sdkInterfaces::FocusManagerInterface>,
113  std::shared_ptr<avsCommon::sdkInterfaces::HTTPContentFetcherInterfaceFactoryInterface>,
114  std::shared_ptr<avsCommon::sdkInterfaces::InternetConnectionMonitorInterface>,
115  std::shared_ptr<avsCommon::sdkInterfaces::LocaleAssetsManagerInterface>,
116  std::shared_ptr<avsCommon::sdkInterfaces::PlaybackRouterInterface>,
117  std::shared_ptr<avsCommon::sdkInterfaces::PowerResourceManagerInterface>,
118  std::shared_ptr<avsCommon::sdkInterfaces::RenderPlayerInfoCardsProviderRegistrarInterface>,
119  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerManagerInterface>,
120  std::shared_ptr<avsCommon::sdkInterfaces::SystemSoundPlayerInterface>,
121  std::shared_ptr<avsCommon::sdkInterfaces::SystemTimeZoneInterface>,
122  std::shared_ptr<avsCommon::sdkInterfaces::UserInactivityMonitorInterface>,
123  std::shared_ptr<avsCommon::sdkInterfaces::audio::AudioFactoryInterface>,
124  acsdkManufactory::Annotated<
126  avsCommon::sdkInterfaces::endpoints::EndpointBuilderInterface>,
127  std::shared_ptr<avsCommon::sdkInterfaces::storage::MiscStorageInterface>,
128  std::shared_ptr<avsCommon::utils::DeviceInfo>,
129  std::shared_ptr<avsCommon::utils::configuration::ConfigurationNode>,
130  std::shared_ptr<avsCommon::utils::metrics::MetricRecorderInterface>,
131  std::shared_ptr<acsdkSystemClockMonitorInterfaces::SystemClockMonitorInterface>,
132  std::shared_ptr<capabilityAgents::alexa::AlexaInterfaceMessageSender>,
133  std::shared_ptr<capabilityAgents::doNotDisturb::DoNotDisturbCapabilityAgent>,
134  std::shared_ptr<acsdkInteractionModelInterfaces::InteractionModelNotifierInterface>,
135  std::shared_ptr<captions::CaptionManagerInterface>,
136  std::shared_ptr<certifiedSender::CertifiedSender>,
137  std::shared_ptr<registrationManager::CustomerDataManagerInterface>,
138  std::shared_ptr<registrationManager::RegistrationManagerInterface>,
139  std::shared_ptr<registrationManager::RegistrationNotifierInterface>,
140  std::shared_ptr<settings::DeviceSettingsManager>,
141  std::shared_ptr<settings::storage::DeviceSettingStorageInterface>,
142  std::shared_ptr<speechencoder::SpeechEncoder>,
143  std::shared_ptr<acsdkDeviceSetupInterfaces::DeviceSetupInterface>>;
144 
151  const std::shared_ptr<avsCommon::sdkInterfaces::AuthDelegateInterface>& authDelegate,
152  const std::shared_ptr<avsCommon::sdkInterfaces::ContextManagerInterface>& contextManager,
153  const std::shared_ptr<avsCommon::sdkInterfaces::LocaleAssetsManagerInterface>& localeAssetsManager,
154  const std::shared_ptr<avsCommon::utils::DeviceInfo>& deviceInfo,
155  const std::shared_ptr<registrationManager::CustomerDataManagerInterface>& customerDataManager,
156  const std::shared_ptr<avsCommon::sdkInterfaces::storage::MiscStorageInterface>& miscStorage,
157  const std::shared_ptr<avsCommon::sdkInterfaces::InternetConnectionMonitorInterface>& internetConnectionMonitor,
158  const std::shared_ptr<avsCommon::sdkInterfaces::AVSGatewayManagerInterface>& avsGatewayManager,
159  const std::shared_ptr<avsCommon::sdkInterfaces::CapabilitiesDelegateInterface>& capabilitiesDelegate,
160  const std::shared_ptr<avsCommon::utils::metrics::MetricRecorderInterface>& metricRecorder,
161  const std::shared_ptr<avsCommon::sdkInterfaces::diagnostics::DiagnosticsInterface>& diagnostics,
162  const std::shared_ptr<alexaClientSDK::acl::TransportFactoryInterface>& transportFactory,
163  const std::shared_ptr<alexaClientSDK::acl::MessageRouterFactoryInterface>& messageRouterFactory,
164  const std::shared_ptr<avsCommon::sdkInterfaces::ChannelVolumeFactoryInterface>& channelVolumeFactory,
165  const std::shared_ptr<avsCommon::sdkInterfaces::ExpectSpeechTimeoutHandlerInterface>& expectSpeechTimeoutHandler,
166  const std::shared_ptr<acsdkEqualizerInterfaces::EqualizerRuntimeSetupInterface>& equalizerRuntimeSetup,
167  const std::shared_ptr<StubApplicationAudioPipelineFactory>& stubAudioPipelineFactory,
168  const std::shared_ptr<avsCommon::utils::mediaPlayer::PooledMediaResourceProviderInterface>&
169  audioMediaResourceProvider,
170  const std::shared_ptr<certifiedSender::MessageStorageInterface>& messageStorage,
171  const std::shared_ptr<avsCommon::sdkInterfaces::PowerResourceManagerInterface>& powerResourceManager,
173  const std::shared_ptr<avsCommon::sdkInterfaces::SystemTimeZoneInterface>& systemTimeZone,
174  const std::shared_ptr<settings::storage::DeviceSettingStorageInterface>& deviceSettingStorage,
175  bool startAlertSchedulingOnInitialization,
176  const std::shared_ptr<avsCommon::sdkInterfaces::audio::AudioFactoryInterface>& audioFactory,
177  const std::shared_ptr<acsdkAlerts::storage::AlertStorageInterface>& alertStorage,
178  const std::shared_ptr<avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceManagerInterface>& bluetoothDeviceManager,
179  const std::shared_ptr<acsdkBluetoothInterfaces::BluetoothStorageInterface>& bluetoothStorage,
180  const std::shared_ptr<acsdkBluetoothInterfaces::BluetoothDeviceConnectionRulesProviderInterface>&
181  bluetoothConnectionRulesProvider,
182  const std::shared_ptr<acsdkNotificationsInterfaces::NotificationsStorageInterface>& notificationsStorage);
183 
184 } // namespace defaultClient
185 } // namespace alexaClientSDK
186 
187 #endif // ALEXA_CLIENT_SDK_APPLICATIONUTILITIES_DEFAULTCLIENT_INCLUDE_DEFAULTCLIENT_DEFAULTCLIENTCOMPONENT_H_
std::unordered_map< std::string, AdapterCreateFunction > AdapterCreationMap
Definition: ExternalMediaPlayer.h:106
DefaultClientComponent getComponent(const std::shared_ptr< avsCommon::sdkInterfaces::AuthDelegateInterface > &authDelegate, const std::shared_ptr< avsCommon::sdkInterfaces::ContextManagerInterface > &contextManager, const std::shared_ptr< avsCommon::sdkInterfaces::LocaleAssetsManagerInterface > &localeAssetsManager, const std::shared_ptr< avsCommon::utils::DeviceInfo > &deviceInfo, const std::shared_ptr< registrationManager::CustomerDataManagerInterface > &customerDataManager, const std::shared_ptr< avsCommon::sdkInterfaces::storage::MiscStorageInterface > &miscStorage, const std::shared_ptr< avsCommon::sdkInterfaces::InternetConnectionMonitorInterface > &internetConnectionMonitor, const std::shared_ptr< avsCommon::sdkInterfaces::AVSGatewayManagerInterface > &avsGatewayManager, const std::shared_ptr< avsCommon::sdkInterfaces::CapabilitiesDelegateInterface > &capabilitiesDelegate, const std::shared_ptr< avsCommon::utils::metrics::MetricRecorderInterface > &metricRecorder, const std::shared_ptr< avsCommon::sdkInterfaces::diagnostics::DiagnosticsInterface > &diagnostics, const std::shared_ptr< alexaClientSDK::acl::TransportFactoryInterface > &transportFactory, const std::shared_ptr< alexaClientSDK::acl::MessageRouterFactoryInterface > &messageRouterFactory, const std::shared_ptr< avsCommon::sdkInterfaces::ChannelVolumeFactoryInterface > &channelVolumeFactory, const std::shared_ptr< avsCommon::sdkInterfaces::ExpectSpeechTimeoutHandlerInterface > &expectSpeechTimeoutHandler, const std::shared_ptr< acsdkEqualizerInterfaces::EqualizerRuntimeSetupInterface > &equalizerRuntimeSetup, const std::shared_ptr< StubApplicationAudioPipelineFactory > &stubAudioPipelineFactory, const std::shared_ptr< avsCommon::utils::mediaPlayer::PooledMediaResourceProviderInterface > &audioMediaResourceProvider, const std::shared_ptr< certifiedSender::MessageStorageInterface > &messageStorage, const std::shared_ptr< avsCommon::sdkInterfaces::PowerResourceManagerInterface > &powerResourceManager, const acsdkExternalMediaPlayer::ExternalMediaPlayer::AdapterCreationMap &adapterCreationMap, const std::shared_ptr< avsCommon::sdkInterfaces::SystemTimeZoneInterface > &systemTimeZone, const std::shared_ptr< settings::storage::DeviceSettingStorageInterface > &deviceSettingStorage, bool startAlertSchedulingOnInitialization, const std::shared_ptr< avsCommon::sdkInterfaces::audio::AudioFactoryInterface > &audioFactory, const std::shared_ptr< acsdkAlerts::storage::AlertStorageInterface > &alertStorage, const std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceManagerInterface > &bluetoothDeviceManager, const std::shared_ptr< acsdkBluetoothInterfaces::BluetoothStorageInterface > &bluetoothStorage, const std::shared_ptr< acsdkBluetoothInterfaces::BluetoothDeviceConnectionRulesProviderInterface > &bluetoothConnectionRulesProvider, const std::shared_ptr< acsdkNotificationsInterfaces::NotificationsStorageInterface > &notificationsStorage)
Definition: DefaultClientComponent.cpp:193
avsCommon::sdkInterfaces::endpoints::DefaultEndpointAnnotation DefaultEndpointAnnotation
Definition: PreviewAlexaClientComponent.cpp:91
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
acsdkManufactory::Component< 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< acsdkEqualizerInterfaces::EqualizerRuntimeSetupInterface >, std::shared_ptr< acsdkExternalMediaPlayer::ExternalMediaPlayer >, std::shared_ptr< acsdkExternalMediaPlayerInterfaces::ExternalMediaPlayerInterface >, std::shared_ptr< acsdkNotificationsInterfaces::NotificationsNotifierInterface >, std::shared_ptr< acsdkShutdownManagerInterfaces::ShutdownManagerInterface >, std::shared_ptr< acsdkStartupManagerInterfaces::StartupManagerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::DirectiveSequencerInterface >, std::shared_ptr< afml::interruptModel::InterruptModel >, std::shared_ptr< avsCommon::avs::DialogUXStateAggregator >, std::shared_ptr< avsCommon::avs::attachment::AttachmentManagerInterface >, 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::ExpectSpeechTimeoutHandlerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface >, acsdkManufactory::Annotated< avsCommon::sdkInterfaces::AudioFocusAnnotation, avsCommon::sdkInterfaces::FocusManagerInterface >, acsdkManufactory::Annotated< avsCommon::sdkInterfaces::VisualFocusAnnotation, avsCommon::sdkInterfaces::FocusManagerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::HTTPContentFetcherInterfaceFactoryInterface >, std::shared_ptr< avsCommon::sdkInterfaces::InternetConnectionMonitorInterface >, std::shared_ptr< avsCommon::sdkInterfaces::LocaleAssetsManagerInterface >, 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::SystemSoundPlayerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::SystemTimeZoneInterface >, std::shared_ptr< avsCommon::sdkInterfaces::UserInactivityMonitorInterface >, std::shared_ptr< avsCommon::sdkInterfaces::audio::AudioFactoryInterface >, acsdkManufactory::Annotated< avsCommon::sdkInterfaces::endpoints::DefaultEndpointAnnotation, avsCommon::sdkInterfaces::endpoints::EndpointBuilderInterface >, std::shared_ptr< avsCommon::sdkInterfaces::storage::MiscStorageInterface >, std::shared_ptr< avsCommon::utils::DeviceInfo >, std::shared_ptr< avsCommon::utils::configuration::ConfigurationNode >, std::shared_ptr< avsCommon::utils::metrics::MetricRecorderInterface >, std::shared_ptr< acsdkSystemClockMonitorInterfaces::SystemClockMonitorInterface >, std::shared_ptr< capabilityAgents::alexa::AlexaInterfaceMessageSender >, std::shared_ptr< capabilityAgents::doNotDisturb::DoNotDisturbCapabilityAgent >, std::shared_ptr< acsdkInteractionModelInterfaces::InteractionModelNotifierInterface >, 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< settings::DeviceSettingsManager >, std::shared_ptr< settings::storage::DeviceSettingStorageInterface >, std::shared_ptr< speechencoder::SpeechEncoder >, std::shared_ptr< acsdkDeviceSetupInterfaces::DeviceSetupInterface > > DefaultClientComponent
Definition: DefaultClientComponent.h:143

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