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

Namespaces

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

Macros

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

Variables

static const std::string alexaClientSDK::capabilityAgents::powerController::TAG {"PowerControllerCapabilityAgent"}
 String to identify log entries originating from this file. More...
 
static const std::string alexaClientSDK::capabilityAgents::powerController::NAMESPACE {"Alexa.PowerController"}
 The namespace for this capability agent. More...
 
static const std::string alexaClientSDK::capabilityAgents::powerController::INTERFACE_VERSION {"3"}
 The supported version. More...
 
static const std::string alexaClientSDK::capabilityAgents::powerController::NAME_TURNON {"TurnOn"}
 The name for TurnOn directive. More...
 
static const std::string alexaClientSDK::capabilityAgents::powerController::NAME_TURNOFF {"TurnOff"}
 The name for TurnOff directive. More...
 
static const std::string alexaClientSDK::capabilityAgents::powerController::POWERSTATE_PROPERTY_NAME {"powerState"}
 The name of powerState property. More...
 
static const std::string alexaClientSDK::capabilityAgents::powerController::POWERSTATE_ON {R"("ON")"}
 Json value for ON power state. More...
 
static const std::string alexaClientSDK::capabilityAgents::powerController::POWERSTATE_OFF {R"("OFF")"}
 Json value for OFF power state. More...
 

Macro Definition Documentation

◆ LX

#define LX (   event)    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