16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_POWER_NOOPPOWERRESOURCEMANAGER_H_ 17 #define ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_POWER_NOOPPOWERRESOURCEMANAGER_H_ 40 std::shared_ptr<PowerResourceId>
create(
42 bool isRefCounted =
true,
47 const std::shared_ptr<PowerResourceId>&
id,
48 const std::chrono::milliseconds autoReleaseTimeout = std::chrono::milliseconds::zero())
override {
51 bool release(
const std::shared_ptr<PowerResourceId>&
id)
override {
54 bool close(
const std::shared_ptr<PowerResourceId>&
id)
override {
65 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_POWER_NOOPPOWERRESOURCEMANAGER_H_ STANDBY_MED usually means all the hardware components work in the medium standby power levels...
bool release(const std::shared_ptr< PowerResourceId > &id) override
Definition: NoOpPowerResourceManager.h:51
PowerResourceLevel
Definition: PowerResourceManagerInterface.h:49
::std::string string
Definition: gtest-port.h:1097
bool close(const std::shared_ptr< PowerResourceId > &id) override
Definition: NoOpPowerResourceManager.h:54
void acquirePowerResource(const std::string &component, const PowerResourceLevel level=PowerResourceLevel::ACTIVE_HIGH) override
Definition: NoOpPowerResourceManager.h:33
bool isPowerResourceAcquired(const std::string &component) override
Definition: NoOpPowerResourceManager.h:37
ACTIVE_HIGH usually means all the hardware components work in the highest active power levels...
void releasePowerResource(const std::string &component) override
Definition: NoOpPowerResourceManager.h:36
Definition: PowerResourceManagerInterface.h:38
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
bool acquire(const std::shared_ptr< PowerResourceId > &id, const std::chrono::milliseconds autoReleaseTimeout=std::chrono::milliseconds::zero()) override
Definition: NoOpPowerResourceManager.h:46
std::shared_ptr< PowerResourceId > create(const std::string &resourceId, bool isRefCounted=true, const PowerResourceLevel level=PowerResourceLevel::STANDBY_MED) override
Definition: NoOpPowerResourceManager.h:40
Definition: NoOpPowerResourceManager.h:29