AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
List of all members
alexaClientSDK::captions::SystemClockDelay Class Reference

#include <SystemClockDelay.h>

Inheritance diagram for alexaClientSDK::captions::SystemClockDelay:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::captions::SystemClockDelay:
Collaboration graph
[legend]

Public Member Functions

DelayInterface methods
void delay (std::chrono::milliseconds milliseconds) override
 
- Public Member Functions inherited from alexaClientSDK::captions::DelayInterface
virtual ~DelayInterface ()=default
 

Detailed Description

Concrete implementation of the DelayInterface, using std::this_thread::sleep_for().

Member Function Documentation

◆ delay()

void alexaClientSDK::captions::SystemClockDelay::delay ( std::chrono::milliseconds  milliseconds)
overridevirtual

When called, this function should cause a delay for the given number of milliseconds. This function can be overridden to allow for slower or faster delays if desired. The milliseconds parameter should be checked that it is positive; no delay should occur if it is negative.

Parameters
millisecondsThe amount of time to delay.

Implements alexaClientSDK::captions::DelayInterface.


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