AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
SampleApplicationComponent.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_SAMPLEAPP_INCLUDE_SAMPLEAPP_SAMPLEAPPLICATIONCOMPONENT_H_
17 #define ALEXA_CLIENT_SDK_SAMPLEAPP_INCLUDE_SAMPLEAPP_SAMPLEAPPLICATIONCOMPONENT_H_
18 
19 #include <istream>
20 #include <memory>
21 #include <vector>
22 
33 
34 #ifndef ACSDK_ACS_UTILS
37 #endif
38 
40 
41 #include "SampleApp/UIManager.h"
42 
43 namespace alexaClientSDK {
44 namespace acsdkSampleApplication {
45 
50 using SampleApplicationComponent = acsdkManufactory::Component<
51 #ifndef ACSDK_ACS_UTILS
52  std::shared_ptr<authorization::cblAuthDelegate::CBLAuthRequesterInterface>,
53 #endif
54  std::shared_ptr<avsCommon::avs::initialization::AlexaClientSDKInit>,
55  std::shared_ptr<avsCommon::sdkInterfaces::AuthDelegateInterface>,
56  std::shared_ptr<avsCommon::sdkInterfaces::ContextManagerInterface>,
57  std::shared_ptr<avsCommon::sdkInterfaces::LocaleAssetsManagerInterface>,
58  std::shared_ptr<avsCommon::utils::DeviceInfo>,
59  std::shared_ptr<avsCommon::utils::configuration::ConfigurationNode>,
60  std::shared_ptr<avsCommon::utils::metrics::MetricRecorderInterface>,
61  std::shared_ptr<registrationManager::CustomerDataManagerInterface>,
62  std::shared_ptr<sampleApp::UIManager>,
63  std::shared_ptr<acsdkCryptoInterfaces::CryptoFactoryInterface>,
64  std::shared_ptr<acsdkCryptoInterfaces::KeyStoreInterface>>;
65 
82  std::unique_ptr<avsCommon::avs::initialization::InitializationParameters> initParams,
83  std::vector<std::shared_ptr<avsCommon::utils::RequiresShutdown>>& requiresShutdownList,
84  const std::shared_ptr<avsCommon::sdkInterfaces::AuthDelegateInterface>& authDelegate = nullptr,
85  const std::shared_ptr<avsCommon::utils::metrics::MetricRecorderInterface>& metricRecorder = nullptr,
86  const std::shared_ptr<avsCommon::utils::logger::Logger>& logger = nullptr);
87 
88 } // namespace acsdkSampleApplication
89 } // namespace alexaClientSDK
90 
91 #endif // ALEXA_CLIENT_SDK_SAMPLEAPP_INCLUDE_SAMPLEAPP_SAMPLEAPPLICATIONCOMPONENT_H_
CryptoFactoryInterface.h
LocaleAssetsManagerInterface.h
UIManager.h
Component.h
KeyStoreInterface.h
CustomerDataManagerInterface.h
CBLAuthDelegateStorageInterface.h
alexaClientSDK::acsdkSampleApplication::SampleApplicationComponent
acsdkManufactory::Component< std::shared_ptr< authorization::cblAuthDelegate::CBLAuthRequesterInterface >, std::shared_ptr< avsCommon::avs::initialization::AlexaClientSDKInit >, std::shared_ptr< avsCommon::sdkInterfaces::AuthDelegateInterface >, std::shared_ptr< avsCommon::sdkInterfaces::ContextManagerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::LocaleAssetsManagerInterface >, std::shared_ptr< avsCommon::utils::DeviceInfo >, std::shared_ptr< avsCommon::utils::configuration::ConfigurationNode >, std::shared_ptr< avsCommon::utils::metrics::MetricRecorderInterface >, std::shared_ptr< registrationManager::CustomerDataManagerInterface >, std::shared_ptr< sampleApp::UIManager >, std::shared_ptr< acsdkCryptoInterfaces::CryptoFactoryInterface >, std::shared_ptr< acsdkCryptoInterfaces::KeyStoreInterface > > SampleApplicationComponent
Definition: SampleApplicationComponent.h:64
DeviceInfo.h
CBLAuthRequesterInterface.h
alexaClientSDK::acsdkSampleApplication::getComponent
SampleApplicationComponent getComponent(std::unique_ptr< avsCommon::avs::initialization::InitializationParameters > initParams, std::vector< std::shared_ptr< avsCommon::utils::RequiresShutdown >> &requiresShutdownList, const std::shared_ptr< avsCommon::sdkInterfaces::AuthDelegateInterface > &authDelegate=nullptr, const std::shared_ptr< avsCommon::utils::metrics::MetricRecorderInterface > &metricRecorder=nullptr, const std::shared_ptr< avsCommon::utils::logger::Logger > &logger=nullptr)
Definition: SampleApplicationComponent.cpp:73
alexaClientSDK
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
AuthDelegateInterface.h
AlexaClientSDKInit.h
ContextManagerInterface.h
ConfigurationNode.h
alexaClientSDK::acsdkManufactory::Component
Definition: Component.h:36
AttachmentManagerInterface.h

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