AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions
PeripheralEndpointPowerControllerHandler.cpp File Reference
#include <AVSCommon/Utils/Configuration/ConfigurationNode.h>
#include <AVSCommon/Utils/JSON/JSONUtils.h>
#include <AVSCommon/Utils/Logger/Logger.h>
#include "SampleApp/PeripheralEndpoint/PeripheralEndpointPowerControllerHandler.h"
#include "SampleApp/ConsolePrinter.h"
Include dependency graph for PeripheralEndpointPowerControllerHandler.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::sampleApp
 

Macros

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

Functions

static const std::string TAG ("PeripheralEndpointPowerControllerHandler")
 String to identify log entries originating from this file. More...
 
static void alexaClientSDK::sampleApp::notifyObservers (const avsCommon::sdkInterfaces::powerController::PowerControllerInterface::PowerState &powerState, avsCommon::sdkInterfaces::AlexaStateChangeCauseType cause, const std::list< std::shared_ptr< avsCommon::sdkInterfaces::powerController::PowerControllerObserverInterface >> &observers)
 

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.

Function Documentation

◆ TAG()

static const std::string TAG ( "PeripheralEndpointPowerControllerHandler"  )
static

String to identify log entries originating from this file.

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