AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
VisualCharacteristicsFeatureClient.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 ACSDK_VISUALCHARACTERISTICSFEATURECLIENT_VISUALCHARACTERISTICSFEATURECLIENT_H_
17 #define ACSDK_VISUALCHARACTERISTICSFEATURECLIENT_VISUALCHARACTERISTICSFEATURECLIENT_H_
18 
28 
29 namespace alexaClientSDK {
30 namespace featureClient {
38 public:
47  static std::unique_ptr<VisualCharacteristicsFeatureClient> create(
48  const std::shared_ptr<alexaClientSDK::avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface>&
49  exceptionSender,
50  const std::shared_ptr<alexaClientSDK::avsCommon::sdkInterfaces::ContextManagerInterface>& contextManager,
51  const std::shared_ptr<alexaClientSDK::avsCommon::sdkInterfaces::endpoints::EndpointBuilderInterface>&
52  endpointBuilder,
53  const std::shared_ptr<sdkClient::SDKClientRegistry>& sdkClientRegistry);
54 
60  std::shared_ptr<alexaClientSDK::visualCharacteristicsInterfaces::VisualCharacteristicsInterface>
62 
68  std::shared_ptr<alexaClientSDK::visualCharacteristicsInterfaces::VisualCharacteristicsSerializerInterface>
70 
73  bool configure(const std::shared_ptr<sdkClient::SDKClientRegistry>& sdkClientRegistry) override;
74  void doShutdown() override;
76 
79 
80 private:
85  std::shared_ptr<visualCharacteristicsInterfaces::VisualCharacteristicsInterface> visualCharacteristics,
86  std::shared_ptr<presentationOrchestratorInterfaces::PresentationOrchestratorStateObserverInterface>
87  visualCharacteristicsPOStateObserver,
88  std::shared_ptr<visualCharacteristicsInterfaces::VisualCharacteristicsSerializerInterface>
89  visualCharacteristicsSerializer,
90  std::shared_ptr<acsdkShutdownManagerInterfaces::ShutdownManagerInterface> shutdownManager);
91 
93  std::shared_ptr<visualCharacteristicsInterfaces::VisualCharacteristicsInterface> m_visualCharacteristics;
94 
96  std::shared_ptr<presentationOrchestratorInterfaces::PresentationOrchestratorStateObserverInterface>
97  m_visualCharacteristicsPOStateObserver;
98 
100  std::shared_ptr<visualCharacteristicsInterfaces::VisualCharacteristicsSerializerInterface>
101  m_visualCharacteristicsSerializer;
102 
104  std::shared_ptr<acsdkShutdownManagerInterfaces::ShutdownManagerInterface> m_shutdownManager;
105 };
106 } // namespace featureClient
107 } // namespace alexaClientSDK
108 #endif // ACSDK_VISUALCHARACTERISTICSFEATURECLIENT_VISUALCHARACTERISTICSFEATURECLIENT_H_
Definition: VisualCharacteristicsFeatureClient.h:37
bool configure(const std::shared_ptr< sdkClient::SDKClientRegistry > &sdkClientRegistry) override
Definition: FeatureClientInterface.h:37
std::shared_ptr< alexaClientSDK::visualCharacteristicsInterfaces::VisualCharacteristicsSerializerInterface > getVisualCharacteristicsSerializer() const
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
std::shared_ptr< alexaClientSDK::visualCharacteristicsInterfaces::VisualCharacteristicsInterface > getVisualCharacteristics() const
static std::unique_ptr< VisualCharacteristicsFeatureClient > create(const std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface > &exceptionSender, const std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::ContextManagerInterface > &contextManager, const std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::endpoints::EndpointBuilderInterface > &endpointBuilder, const std::shared_ptr< sdkClient::SDKClientRegistry > &sdkClientRegistry)

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