AlexaClientSDK  1.22.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
InterruptModel.h
Go to the documentation of this file.
1 /*
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * SPDX-License-Identifier: LicenseRef-.amazon.com.-AmznSL-1.0
5  * Licensed under the Amazon Software License (the "License").
6  * You may not use this file except in compliance with the License.
7  * A copy of the License is located at
8  *
9  * http://aws.amazon.com/asl/
10  *
11  * or in the "license" file accompanying this file. This file is distributed
12  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13  * express or implied. See the License for the specific language governing
14  * permissions and limitations under the License.
15  */
16 
17 #ifndef ALEXA_CLIENT_SDK_INTERRUPTMODEL_INCLUDE_INTERRUPTMODEL_INTERRUPTMODEL_H_
18 #define ALEXA_CLIENT_SDK_INTERRUPTMODEL_INCLUDE_INTERRUPTMODEL_INTERRUPTMODEL_H_
19 
20 #include <map>
21 #include <memory>
25 
26 namespace alexaClientSDK {
27 namespace afml {
28 namespace interruptModel {
39 public:
46  static std::shared_ptr<InterruptModel> createInterruptModel(
47  const std::shared_ptr<avsCommon::utils::configuration::ConfigurationNode>& config);
48 
55  static std::shared_ptr<InterruptModel> create(
57 
67  const std::string& lowPriorityChannel,
68  avsCommon::avs::ContentType lowPriorityContentType,
69  const std::string& highPriorityChannel,
70  avsCommon::avs::ContentType highPriorityContentType) const;
71 
72 private:
78 
80  avsCommon::utils::configuration::ConfigurationNode m_interactionConfiguration;
81 };
82 } // namespace interruptModel
83 } // namespace afml
84 } // namespace alexaClientSDK
85 
86 #endif // ALEXA_CLIENT_SDK_INTERRUPTMODEL_INCLUDE_INTERRUPTMODEL_INTERRUPTMODEL_H_
MixingBehavior.h
alexaClientSDK::afml::interruptModel::InterruptModel::create
static std::shared_ptr< InterruptModel > create(avsCommon::utils::configuration::ConfigurationNode interactionConfiguration)
Definition: InterruptModel.cpp:45
alexaClientSDK::afml::interruptModel::InterruptModel::getMixingBehavior
avsCommon::avs::MixingBehavior getMixingBehavior(const std::string &lowPriorityChannel, avsCommon::avs::ContentType lowPriorityContentType, const std::string &highPriorityChannel, avsCommon::avs::ContentType highPriorityContentType) const
Definition: InterruptModel.cpp:58
alexaClientSDK
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
alexaClientSDK::avsCommon::avs::ContentType
ContentType
Definition: ContentType.h:25
ContentType.h
ConfigurationNode.h
alexaClientSDK::afml::interruptModel::InterruptModel
Definition: InterruptModel.h:38
alexaClientSDK::afml::interruptModel::InterruptModel::createInterruptModel
static std::shared_ptr< InterruptModel > createInterruptModel(const std::shared_ptr< avsCommon::utils::configuration::ConfigurationNode > &config)
Definition: InterruptModel.cpp:37
alexaClientSDK::avsCommon::avs::MixingBehavior
MixingBehavior
Definition: MixingBehavior.h:25
alexaClientSDK::avsCommon::utils::configuration::ConfigurationNode
Definition: ConfigurationNode.h:71

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