16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_POWER_POWERRESOURCE_H_ 17 #define ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_POWER_POWERRESOURCE_H_ 47 static constexpr
const char*
PREFIX =
"ACSDK_";
61 static std::shared_ptr<PowerResource>
create(
63 std::shared_ptr<sdkInterfaces::PowerResourceManagerInterface> powerManager,
66 bool refCounted =
true);
129 std::shared_ptr<sdkInterfaces::PowerResourceManagerInterface> powerManager,
132 std::shared_ptr<sdkInterfaces::PowerResourceManagerInterface::PowerResourceId> powerResourceId);
138 const bool m_isRefCounted;
141 std::shared_ptr<sdkInterfaces::PowerResourceManagerInterface::PowerResourceId> m_powerResourceId;
144 mutable std::mutex m_mutex;
156 std::shared_ptr<sdkInterfaces::PowerResourceManagerInterface> m_powerManager;
164 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_POWER_POWERRESOURCE_H_ STANDBY_MED usually means all the hardware components work in the medium standby power levels...
PowerResourceLevel
Definition: PowerResourceManagerInterface.h:49
sdkInterfaces::PowerResourceManagerInterface::PowerResourceLevel getLevel() const
::std::string string
Definition: gtest-port.h:1097
static constexpr const char * PREFIX
Definition: PowerResource.h:47
Definition: PowerResource.h:37
bool isRefCounted() const
static std::shared_ptr< PowerResource > create(const std::string &identifier, std::shared_ptr< sdkInterfaces::PowerResourceManagerInterface > powerManager, sdkInterfaces::PowerResourceManagerInterface::PowerResourceLevel level=sdkInterfaces::PowerResourceManagerInterface::PowerResourceLevel::STANDBY_MED, bool refCounted=true)
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
std::string getId() const