![]() |
libdisplaydevice v2026.322.2407
C++ library to modify display devices.
|
Declarations for the RetryScheduler. More...
#include <algorithm>#include <condition_variable>#include <functional>#include <memory>#include <thread>#include "logging.h"Go to the source code of this file.
Classes | |
| struct | display_device::detail::AutoConst< T, false > |
| struct | display_device::detail::AutoConst< T, true > |
| class | display_device::RetryScheduler< T > |
| A wrapper class around an interface that provides a thread-safe access to the interface and allows to schedule arbitrary logic for it to retry until it succeeds. More... | |
| struct | display_device::SchedulerOptions |
| Scheduler options to be used when scheduling executor function. More... | |
| class | display_device::SchedulerStopToken |
| A convenience class for stopping the RetryScheduler. More... | |
Concepts | |
| concept | display_device::detail::OptionalFunction |
| Given that we know that we are dealing with a function, check if it is an optional function (like std::function<...>) or other callable. | |
| concept | display_device::detail::ExecuteWithoutStopToken |
| Check if the function signature matches the acceptable signature for RetryScheduler::execute without a stop token. | |
| concept | display_device::detail::ExecuteWithStopToken |
| Check if the function signature matches the acceptable signature for RetryScheduler::execute with a stop token. | |
| concept | display_device::detail::ExecuteCallbackLike |
| Check if the function signature matches the acceptable signature for RetryScheduler::execute. | |
Typedefs | |
| template<class T , bool AddConst> | |
| using | display_device::detail::auto_const_t = typename AutoConst<T, AddConst>::type |
| A convenience template helper for adding const to the type. | |
Declarations for the RetryScheduler.