◆ customVariableDurationTask()
void alexaClientSDK::avsCommon::utils::timing::test::TimerDelegateTest::customVariableDurationTask |
( |
vector< milliseconds > |
taskTimes | ) |
|
Task with customizable task durations across task iterations.
- Parameters
-
taskTimes | vector containing task durations in milliseconds across task iterations. |
◆ getTaskCounter()
size_t alexaClientSDK::avsCommon::utils::timing::test::TimerDelegateTest::getTaskCounter |
( |
| ) |
|
Get the current value of the task counter.
- Returns
- Value of the task counter.
◆ SetUp()
void alexaClientSDK::avsCommon::utils::timing::test::TimerDelegateTest::SetUp |
( |
| ) |
|
|
override |
◆ taskWithStop()
void alexaClientSDK::avsCommon::utils::timing::test::TimerDelegateTest::taskWithStop |
( |
TimerDelegateInterface * |
timer | ) |
|
Task that calls an internal stop to the timer delegate.
- Parameters
-
timer | TimerDelegateInterface used to call stop internally. |
◆ TearDown()
void alexaClientSDK::avsCommon::utils::timing::test::TimerDelegateTest::TearDown |
( |
| ) |
|
|
override |
◆ testTask()
void alexaClientSDK::avsCommon::utils::timing::test::TimerDelegateTest::testTask |
( |
| ) |
|
Simple timer task that increments the task counter.
◆ testTaskWithSleep()
void alexaClientSDK::avsCommon::utils::timing::test::TimerDelegateTest::testTaskWithSleep |
( |
milliseconds |
sleepDuration | ) |
|
Task with fixed duration emulated as a sleep.
- Parameters
-
sleepDuration | duration emulating the task in milliseconds |
◆ m_timerDelegate
TimerDelegate alexaClientSDK::avsCommon::utils::timing::test::TimerDelegateTest::m_timerDelegate |
|
protected |
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