AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
SDKDiagnostics.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 #ifndef SAMPLEAPP_SDKDIAGNOSTICS_H_
16 #define SAMPLEAPP_SDKDIAGNOSTICS_H_
17 
18 #include <memory>
19 
25 
26 namespace alexaClientSDK {
27 namespace sampleApp {
28 
34 public:
37  std::shared_ptr<avsCommon::sdkInterfaces::diagnostics::DevicePropertyAggregatorInterface>
38  getDevicePropertyAggregator() override;
39  std::shared_ptr<avsCommon::sdkInterfaces::diagnostics::ProtocolTracerInterface> getProtocolTracer() override;
41  std::shared_ptr<avsCommon::sdkInterfaces::DirectiveSequencerInterface> sequencer,
42  std::shared_ptr<avsCommon::avs::attachment::AttachmentManagerInterface> attachmentManager,
43  std::shared_ptr<avsCommon::sdkInterfaces::AVSConnectionManagerInterface> connectionManager) override;
44  std::shared_ptr<avsCommon::sdkInterfaces::diagnostics::AudioInjectorInterface> getAudioInjector() override;
46 
51  static std::unique_ptr<SDKDiagnostics> create();
52 
53 private:
64  std::shared_ptr<diagnostics::DevicePropertyAggregator> deviceProperties,
65  std::shared_ptr<diagnostics::DeviceProtocolTracer> protocolTrace,
66  std::shared_ptr<avsCommon::sdkInterfaces::diagnostics::AudioInjectorInterface> audioInjector);
67 
69  std::shared_ptr<diagnostics::DevicePropertyAggregator> m_deviceProperties;
70 
72  std::shared_ptr<diagnostics::DeviceProtocolTracer> m_protocolTrace;
73 
75  std::shared_ptr<avsCommon::sdkInterfaces::diagnostics::AudioInjectorInterface> m_audioInjector;
76 };
77 
78 } // namespace sampleApp
79 } // namespace alexaClientSDK
80 
81 #endif // SAMPLEAPP_SDKDIAGNOSTICS_H_
std::shared_ptr< avsCommon::sdkInterfaces::diagnostics::DevicePropertyAggregatorInterface > getDevicePropertyAggregator() override
Definition: SDKDiagnostics.h:33
std::shared_ptr< avsCommon::sdkInterfaces::diagnostics::AudioInjectorInterface > getAudioInjector() override
void setDiagnosticDependencies(std::shared_ptr< avsCommon::sdkInterfaces::DirectiveSequencerInterface > sequencer, std::shared_ptr< avsCommon::avs::attachment::AttachmentManagerInterface > attachmentManager, std::shared_ptr< avsCommon::sdkInterfaces::AVSConnectionManagerInterface > connectionManager) override
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
static std::unique_ptr< SDKDiagnostics > create()
std::shared_ptr< avsCommon::sdkInterfaces::diagnostics::ProtocolTracerInterface > getProtocolTracer() override

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