|
ThreadSchedule 3.0.0
Modern C++ thread management library
|
#include <scheduled_pool_backend_base.hpp>
Public Types | |
| enum class | kind : std::uint8_t { one_shot , periodic } |
Public Member Functions | |
| auto | type () const noexcept -> kind |
| auto | cancellation () const noexcept -> std::shared_ptr< detail::scheduled_cancellation_state > const & |
| auto | periodic_state () const noexcept -> std::shared_ptr< periodic_task_state > const & |
| auto | take_one_shot () noexcept -> one_shot_task_type |
| auto | next_run () const noexcept -> time_point |
| void | advance (time_point now) |
Static Public Member Functions | |
| static auto | one_shot (std::uint64_t id, time_point run_time, one_shot_task_type task, std::shared_ptr< detail::scheduled_cancellation_state > cancellation) -> scheduled_task_info |
| static auto | periodic (std::uint64_t id, time_point run_time, duration interval, periodic_task_type task, std::shared_ptr< detail::scheduled_cancellation_state > cancellation) -> scheduled_task_info |
Definition at line 143 of file scheduled_pool_backend_base.hpp.
|
strong |
| Enumerator | |
|---|---|
| one_shot | |
| periodic | |
Definition at line 146 of file scheduled_pool_backend_base.hpp.
|
inline |
Definition at line 195 of file scheduled_pool_backend_base.hpp.
References threadschedule::detail::checked_deadline_after().
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 189 of file scheduled_pool_backend_base.hpp.
|
inlinestatic |
Definition at line 153 of file scheduled_pool_backend_base.hpp.
References threadschedule::detail::scheduled_pool_backend_base< PoolType >::scheduled_task_info::cancellation().
|
inlinestatic |
Definition at line 160 of file scheduled_pool_backend_base.hpp.
References threadschedule::detail::scheduled_pool_backend_base< PoolType >::scheduled_task_info::cancellation().
|
inlinenoexcept |
Definition at line 179 of file scheduled_pool_backend_base.hpp.
|
inlinenoexcept |
Definition at line 184 of file scheduled_pool_backend_base.hpp.
|
inlinenoexcept |
Definition at line 169 of file scheduled_pool_backend_base.hpp.