AlexaClientSDK  3.0.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_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_SAMPLEAPPLICATIONCOMPONENT_H_
17 #define ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_SAMPLEAPPLICATIONCOMPONENT_H_
18 
19 #include <istream>
20 #include <memory>
21 #include <vector>
22 
36 
37 namespace alexaClientSDK {
38 namespace sampleApplications {
39 namespace ipcServerSampleApp {
40 
45 using SampleApplicationComponent = acsdkManufactory::Component<
46  std::shared_ptr<avsCommon::avs::initialization::AlexaClientSDKInit>,
47  std::shared_ptr<avsCommon::sdkInterfaces::ContextManagerInterface>,
48  std::shared_ptr<avsCommon::sdkInterfaces::LocaleAssetsManagerInterface>,
49  std::shared_ptr<avsCommon::utils::configuration::ConfigurationNode>,
50  std::shared_ptr<avsCommon::utils::DeviceInfo>,
51  std::shared_ptr<registrationManager::CustomerDataManagerInterface>,
52  std::shared_ptr<avsCommon::utils::metrics::MetricRecorderInterface>,
53  std::shared_ptr<cryptoInterfaces::CryptoFactoryInterface>,
54  std::shared_ptr<cryptoInterfaces::KeyStoreInterface>>;
55 
60  std::shared_ptr<avsCommon::utils::logger::Logger>,
61  std::shared_ptr<avsCommon::utils::metrics::MetricRecorderInterface>>;
62 
69 
76  std::unique_ptr<avsCommon::avs::initialization::InitializationParameters> initParams,
77  std::vector<std::shared_ptr<avsCommon::utils::RequiresShutdown>>& requiresShutdownList,
78  const std::shared_ptr<avsCommon::sdkInterfaces::AuthDelegateInterface>& authDelegate = nullptr,
79  const std::shared_ptr<avsCommon::utils::metrics::MetricRecorderInterface>& metricRecorder = nullptr,
80  const std::shared_ptr<avsCommon::utils::logger::Logger>& logger = nullptr);
81 
82 } // namespace ipcServerSampleApp
83 } // namespace sampleApplications
84 } // namespace alexaClientSDK
85 
86 #endif // ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_SAMPLEAPPLICATIONCOMPONENT_H_
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)
SampleApplicationOptionsComponent getSampleApplicationOptionsComponent()
static std::shared_ptr< avsCommon::utils::metrics::MetricRecorderInterface > metricRecorder
Metric recorder shared ptr.
Definition: BaseAPLCapabilityAgentTest.cpp:261
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
acsdkManufactory::Component< std::shared_ptr< avsCommon::avs::initialization::AlexaClientSDKInit >, std::shared_ptr< avsCommon::sdkInterfaces::ContextManagerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::LocaleAssetsManagerInterface >, std::shared_ptr< avsCommon::utils::configuration::ConfigurationNode >, std::shared_ptr< avsCommon::utils::DeviceInfo >, std::shared_ptr< registrationManager::CustomerDataManagerInterface >, std::shared_ptr< avsCommon::utils::metrics::MetricRecorderInterface >, std::shared_ptr< cryptoInterfaces::CryptoFactoryInterface >, std::shared_ptr< cryptoInterfaces::KeyStoreInterface > > SampleApplicationComponent
Definition: SampleApplicationComponent.h:54

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