AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
ModeControllerCapabilityAgent.cpp File Reference
#include "ModeController/ModeControllerCapabilityAgent.h"
#include <algorithm>
#include <rapidjson/document.h>
#include <rapidjson/error/en.h>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/writer.h>
#include <AVSCommon/AVS/CapabilityResources.h>
#include <AVSCommon/Utils/JSON/JSONGenerator.h>
#include <AVSCommon/Utils/JSON/JSONUtils.h>
#include <AVSCommon/Utils/Logger/Logger.h>
Include dependency graph for ModeControllerCapabilityAgent.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::capabilityAgents
 
 alexaClientSDK::capabilityAgents::modeController
 

Macros

#define LX(event)   avsCommon::utils::logger::LogEntry(TAG, event)
 

Functions

static bool alexaClientSDK::capabilityAgents::modeController::isModeControllerAttributesValid (const ModeControllerAttributes &modeControllerAttributes, const ModeControllerInterface::ModeControllerConfiguration &modeControllerConfiguration)
 
static bool alexaClientSDK::capabilityAgents::modeController::parseDirectivePayload (const std::string &payload, Document *document)
 

Variables

static const std::string alexaClientSDK::capabilityAgents::modeController::TAG {"ModeControllerCapabilityAgent"}
 String to identify log entries originating from this file. More...
 
static const std::string alexaClientSDK::capabilityAgents::modeController::NAMESPACE {"Alexa.ModeController"}
 The namespace for this capability agent. More...
 
static const std::string alexaClientSDK::capabilityAgents::modeController::INTERFACE_VERSION {"3"}
 The supported version. More...
 
static const std::string alexaClientSDK::capabilityAgents::modeController::NAME_SETMODE {"SetMode"}
 The name for SetMode directive. More...
 
static const std::string alexaClientSDK::capabilityAgents::modeController::NAME_ADJUSTMODE {"AdjustMode"}
 The name for AdjustMode directive. More...
 
static const std::string alexaClientSDK::capabilityAgents::modeController::MODEVALUE_PROPERTY_NAME {"mode"}
 The name of mode property. More...
 
static const std::string alexaClientSDK::capabilityAgents::modeController::CAPABILITY_RESOURCES_KEY {"capabilityResources"}
 The capabilityResources key. More...
 
static const std::string alexaClientSDK::capabilityAgents::modeController::CAPABILITY_CONFIGURATION_KEY {"configuration"}
 The configuration key. More...
 
static const std::string alexaClientSDK::capabilityAgents::modeController::CAPABILITY_SEMANTICS_KEY {"semantics"}
 The semantics key. More...
 
static const char alexaClientSDK::capabilityAgents::modeController::MODE_KEY [] = "mode"
 The key in the directive payload. More...
 
static const char alexaClientSDK::capabilityAgents::modeController::MODE_DELTA_KEY [] = "modeDelta"
 The key in the directive payload. More...
 

Macro Definition Documentation

◆ LX

#define LX (   event)    avsCommon::utils::logger::LogEntry(TAG, event)

Create a LogEntry using this file's TAG and the specified event string.

Parameters
Theevent string for this LogEntry.

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