A ConditionVariable
type with the minimum functionality required by SDS.
More...
|
void | notify_all () |
| Notify all waiters. More...
|
|
void | wait (std::unique_lock< Mutex > &lock) |
| Wait forever. More...
|
|
template<class Predicate > |
void | wait (std::unique_lock< Mutex > &lock, Predicate pred) |
| Wait forever for pred to be true. More...
|
|
template<class Rep , class Period , class Predicate > |
bool | wait_for (std::unique_lock< Mutex > &lock, const std::chrono::duration< Rep, Period > &rel_time, Predicate pred) |
| Wait until timeout for pred to be true. More...
|
|
A ConditionVariable
type with the minimum functionality required by SDS.
◆ notify_all()
void alexaClientSDK::avsCommon::utils::sds::test::MinimalTraits::ConditionVariable::notify_all |
( |
| ) |
|
|
inline |
◆ wait() [1/2]
void alexaClientSDK::avsCommon::utils::sds::test::MinimalTraits::ConditionVariable::wait |
( |
std::unique_lock< Mutex > & |
lock | ) |
|
|
inline |
◆ wait() [2/2]
template<class Predicate >
void alexaClientSDK::avsCommon::utils::sds::test::MinimalTraits::ConditionVariable::wait |
( |
std::unique_lock< Mutex > & |
lock, |
|
|
Predicate |
pred |
|
) |
| |
|
inline |
Wait forever for pred
to be true.
◆ wait_for()
template<class Rep , class Period , class Predicate >
bool alexaClientSDK::avsCommon::utils::sds::test::MinimalTraits::ConditionVariable::wait_for |
( |
std::unique_lock< Mutex > & |
lock, |
|
|
const std::chrono::duration< Rep, Period > & |
rel_time, |
|
|
Predicate |
pred |
|
) |
| |
|
inline |
Wait until timeout for pred
to be true.
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