AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::avsCommon::sdkInterfaces::timing::TimerDelegateFactoryInterface Class Referenceabstract

A factory for creating TimerDelegateInterface. More...

#include <TimerDelegateFactoryInterface.h>

Inheritance diagram for alexaClientSDK::avsCommon::sdkInterfaces::timing::TimerDelegateFactoryInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~TimerDelegateFactoryInterface ()=default
 Destructor. More...
 
virtual bool supportsLowPowerMode ()=0
 
virtual std::unique_ptr< TimerDelegateInterfacegetTimerDelegate ()=0
 

Detailed Description

A factory for creating TimerDelegateInterface.

Constructor & Destructor Documentation

◆ ~TimerDelegateFactoryInterface()

virtual alexaClientSDK::avsCommon::sdkInterfaces::timing::TimerDelegateFactoryInterface::~TimerDelegateFactoryInterface ( )
virtualdefault

Destructor.

Member Function Documentation

◆ getTimerDelegate()

virtual std::unique_ptr<TimerDelegateInterface> alexaClientSDK::avsCommon::sdkInterfaces::timing::TimerDelegateFactoryInterface::getTimerDelegate ( )
pure virtual

◆ supportsLowPowerMode()

virtual bool alexaClientSDK::avsCommon::sdkInterfaces::timing::TimerDelegateFactoryInterface::supportsLowPowerMode ( )
pure virtual

Whether or not this TimerDelegateInterface can operate when the system is running in a reduced power mode. Examples of this include an implementation which uses a Real Time Clock.

Returns
A boolean whether this is supported.

Implemented in alexaClientSDK::visualTimeoutManager::test::MockTimerFactory, alexaClientSDK::avsCommon::utils::timing::test::StopTaskTimerDelegateFactory, and alexaClientSDK::avsCommon::utils::timing::TimerDelegateFactory.


The documentation for this class was generated from the following file:

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