AlexaClientSDK  3.0.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  std::shared_ptr<avsCommon::sdkInterfaces::HTTPContentFetcherInterfaceFactoryInterface>,
112  std::shared_ptr<avsCommon::sdkInterfaces::InternetConnectionMonitorInterface>,
113  std::shared_ptr<avsCommon::sdkInterfaces::LocaleAssetsManagerInterface>,
114  std::shared_ptr<avsCommon::sdkInterfaces::PlaybackRouterInterface>,
115  std::shared_ptr<avsCommon::sdkInterfaces::PowerResourceManagerInterface>,
116  std::shared_ptr<avsCommon::sdkInterfaces::RenderPlayerInfoCardsProviderRegistrarInterface>,
117  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerManagerInterface>,
118  std::shared_ptr<avsCommon::sdkInterfaces::SystemSoundPlayerInterface>,
119  std::shared_ptr<avsCommon::sdkInterfaces::SystemTimeZoneInterface>,
120  std::shared_ptr<avsCommon::sdkInterfaces::UserInactivityMonitorInterface>,
121  std::shared_ptr<avsCommon::sdkInterfaces::audio::AudioFactoryInterface>,
122  acsdkManufactory::Annotated<
124  avsCommon::sdkInterfaces::endpoints::EndpointBuilderInterface>,
125  std::shared_ptr<avsCommon::sdkInterfaces::storage::MiscStorageInterface>,
126  std::shared_ptr<avsCommon::utils::DeviceInfo>,
127  std::shared_ptr<avsCommon::utils::configuration::ConfigurationNode>,
128  std::shared_ptr<avsCommon::utils::metrics::MetricRecorderInterface>,
129  std::shared_ptr<acsdkSystemClockMonitorInterfaces::SystemClockMonitorInterface>,
130  std::shared_ptr<capabilityAgents::alexa::AlexaInterfaceMessageSender>,
131  std::shared_ptr<capabilityAgents::doNotDisturb::DoNotDisturbCapabilityAgent>,
132  std::shared_ptr<acsdkInteractionModelInterfaces::InteractionModelNotifierInterface>,
133  std::shared_ptr<captions::CaptionManagerInterface>,
134  std::shared_ptr<certifiedSender::CertifiedSender>,
135  std::shared_ptr<registrationManager::CustomerDataManagerInterface>,
136  std::shared_ptr<registrationManager::RegistrationManagerInterface>,
137  std::shared_ptr<registrationManager::RegistrationNotifierInterface>,
138  std::shared_ptr<settings::DeviceSettingsManager>,
139  std::shared_ptr<settings::storage::DeviceSettingStorageInterface>,
140  std::shared_ptr<audioEncoderInterfaces::AudioEncoderInterface>,
141  std::shared_ptr<acsdkDeviceSetupInterfaces::DeviceSetupInterface>,
142  std::shared_ptr<alexaClientSDK::cryptoInterfaces::CryptoFactoryInterface>>;
143 
150  const std::shared_ptr<avsCommon::sdkInterfaces::AuthDelegateInterface>& authDelegate,
151  const std::shared_ptr<avsCommon::sdkInterfaces::ContextManagerInterface>& contextManager,
152  const std::shared_ptr<avsCommon::sdkInterfaces::LocaleAssetsManagerInterface>& localeAssetsManager,
153  const std::shared_ptr<avsCommon::utils::DeviceInfo>& deviceInfo,
154  const std::shared_ptr<registrationManager::CustomerDataManagerInterface>& customerDataManager,
155  const std::shared_ptr<avsCommon::sdkInterfaces::storage::MiscStorageInterface>& miscStorage,
156  const std::shared_ptr<avsCommon::sdkInterfaces::InternetConnectionMonitorInterface>& internetConnectionMonitor,
157  const std::shared_ptr<avsCommon::sdkInterfaces::AVSGatewayManagerInterface>& avsGatewayManager,
158  const std::shared_ptr<avsCommon::sdkInterfaces::CapabilitiesDelegateInterface>& capabilitiesDelegate,
159  const std::shared_ptr<avsCommon::utils::metrics::MetricRecorderInterface>& metricRecorder,
160  const std::shared_ptr<avsCommon::sdkInterfaces::diagnostics::DiagnosticsInterface>& diagnostics,
161  const std::shared_ptr<alexaClientSDK::acl::TransportFactoryInterface>& transportFactory,
162  const std::shared_ptr<alexaClientSDK::acl::MessageRouterFactoryInterface>& messageRouterFactory,
163  const std::shared_ptr<avsCommon::sdkInterfaces::ChannelVolumeFactoryInterface>& channelVolumeFactory,
164  const std::shared_ptr<avsCommon::sdkInterfaces::ExpectSpeechTimeoutHandlerInterface>& expectSpeechTimeoutHandler,
165  const std::shared_ptr<acsdkEqualizerInterfaces::EqualizerRuntimeSetupInterface>& equalizerRuntimeSetup,
166  const std::shared_ptr<StubApplicationAudioPipelineFactory>& stubAudioPipelineFactory,
167  const std::shared_ptr<avsCommon::utils::mediaPlayer::PooledMediaResourceProviderInterface>&
168  audioMediaResourceProvider,
169  const std::shared_ptr<certifiedSender::MessageStorageInterface>& messageStorage,
170  const std::shared_ptr<avsCommon::sdkInterfaces::PowerResourceManagerInterface>& powerResourceManager,
172  const std::shared_ptr<avsCommon::sdkInterfaces::SystemTimeZoneInterface>& systemTimeZone,
173  const std::shared_ptr<settings::storage::DeviceSettingStorageInterface>& deviceSettingStorage,
174  bool startAlertSchedulingOnInitialization,
175  const std::shared_ptr<avsCommon::sdkInterfaces::audio::AudioFactoryInterface>& audioFactory,
176  const std::shared_ptr<acsdkAlerts::storage::AlertStorageInterface>& alertStorage,
177  const std::shared_ptr<avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceManagerInterface>& bluetoothDeviceManager,
178  const std::shared_ptr<acsdkBluetoothInterfaces::BluetoothStorageInterface>& bluetoothStorage,
179  const std::shared_ptr<acsdkBluetoothInterfaces::BluetoothDeviceConnectionRulesProviderInterface>&
180  bluetoothConnectionRulesProvider,
181  const std::shared_ptr<acsdkNotificationsInterfaces::NotificationsStorageInterface>& notificationsStorage,
182  const std::shared_ptr<alexaClientSDK::cryptoInterfaces::CryptoFactoryInterface>& cryptoFactory);
183 
184 } // namespace defaultClient
185 } // namespace alexaClientSDK
186 
187 #endif // ALEXA_CLIENT_SDK_APPLICATIONUTILITIES_DEFAULTCLIENT_INCLUDE_DEFAULTCLIENT_DEFAULTCLIENTCOMPONENT_H_
avsCommon::sdkInterfaces::endpoints::DefaultEndpointAnnotation DefaultEndpointAnnotation
Definition: AlexaInterfaceCapabilityAgentTest.cpp:50
static std::shared_ptr< avsCommon::utils::metrics::MetricRecorderInterface > metricRecorder
Metric recorder shared ptr.
Definition: BaseAPLCapabilityAgentTest.cpp:261
std::unordered_map< std::string, AdapterCreateFunction > AdapterCreationMap
Definition: ExternalMediaPlayer.h:106
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
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, const std::shared_ptr< alexaClientSDK::cryptoInterfaces::CryptoFactoryInterface > &cryptoFactory)
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 >, 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< audioEncoderInterfaces::AudioEncoderInterface >, std::shared_ptr< acsdkDeviceSetupInterfaces::DeviceSetupInterface >, std::shared_ptr< alexaClientSDK::cryptoInterfaces::CryptoFactoryInterface > > DefaultClientComponent
Definition: DefaultClientComponent.h:142

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