![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <CapabilityAgent.h>
Public Member Functions | |
DirectiveInfo (std::shared_ptr< AVSDirective > directiveIn, std::unique_ptr< sdkInterfaces::DirectiveHandlerResultInterface > resultIn) | |
virtual | ~DirectiveInfo ()=default |
Public Attributes | |
std::shared_ptr< AVSDirective > | directive |
AVSDirective that is passed during preHandle. More... | |
std::shared_ptr< sdkInterfaces::DirectiveHandlerResultInterface > | result |
DirectiveHandlerResultInterface . More... | |
std::atomic< bool > | isCancelled |
Flag to indicate whether the directive is cancelled. More... | |
CapabilityAgent maintains a map from messageId to instances of DirectiveInfo so that CapabilityAgents can track the processing of an AVSDirective
.
alexaClientSDK::avsCommon::avs::CapabilityAgent::DirectiveInfo::DirectiveInfo | ( | std::shared_ptr< AVSDirective > | directiveIn, |
std::unique_ptr< sdkInterfaces::DirectiveHandlerResultInterface > | resultIn | ||
) |
Constructor.
directiveIn | The AVSDirective with which to populate this DirectiveInfo. |
resultIn | The DirectiveHandlerResultInterface instance with which to populate this DirectiveInfo. |
|
virtualdefault |
Destructor.
std::shared_ptr<AVSDirective> alexaClientSDK::avsCommon::avs::CapabilityAgent::DirectiveInfo::directive |
AVSDirective
that is passed during preHandle.
std::atomic<bool> alexaClientSDK::avsCommon::avs::CapabilityAgent::DirectiveInfo::isCancelled |
Flag to indicate whether the directive is cancelled.
std::shared_ptr<sdkInterfaces::DirectiveHandlerResultInterface> alexaClientSDK::avsCommon::avs::CapabilityAgent::DirectiveInfo::result |
DirectiveHandlerResultInterface
.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0