AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
ToggleControllerCapabilityAgent.cpp File Reference
#include "ToggleController/ToggleControllerCapabilityAgent.h"
#include <AVSCommon/AVS/CapabilitySemantics/CapabilitySemantics.h>
#include <AVSCommon/Utils/Logger/Logger.h>
Include dependency graph for ToggleControllerCapabilityAgent.cpp:

Namespaces

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

Macros

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

Functions

static bool alexaClientSDK::capabilityAgents::toggleController::isToggleControllerAttributeValid (const ToggleControllerAttributes &toggleControllerAttributes)
 

Variables

static const std::string alexaClientSDK::capabilityAgents::toggleController::TAG {"ToggleControllerCapabilityAgent"}
 String to identify log entries originating from this file. More...
 
static const std::string alexaClientSDK::capabilityAgents::toggleController::NAMESPACE {"Alexa.ToggleController"}
 The namespace for this capability agent. More...
 
static const std::string alexaClientSDK::capabilityAgents::toggleController::INTERFACE_VERSION {"3"}
 The supported version. More...
 
static const std::string alexaClientSDK::capabilityAgents::toggleController::NAME_TURNON {"TurnOn"}
 The name for TurnOn directive. More...
 
static const std::string alexaClientSDK::capabilityAgents::toggleController::NAME_TURNOFF {"TurnOff"}
 The name for TurnOff directive. More...
 
static const std::string alexaClientSDK::capabilityAgents::toggleController::TOGGLESTATE_PROPERTY_NAME {"toggleState"}
 The name of toggleState property. More...
 
static const std::string alexaClientSDK::capabilityAgents::toggleController::TOGGLESTATE_ON {R"("ON")"}
 Json value for ON toggle state. More...
 
static const std::string alexaClientSDK::capabilityAgents::toggleController::TOGGLESTATE_OFF {R"("OFF")"}
 Json value for OFF toggle state. More...
 
static const std::string alexaClientSDK::capabilityAgents::toggleController::CAPABILITY_RESOURCES_KEY {"capabilityResources"}
 The capabilityResources key. More...
 
static const std::string alexaClientSDK::capabilityAgents::toggleController::CAPABILITY_SEMANTICS_KEY {"semantics"}
 The semantics key. 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