ThreadSchedule 2.2.0
Modern C++ thread management library
Loading...
Searching...
No Matches
threadschedule::ScheduledThreadPoolT< PoolType >::ScheduledTaskInfo Struct Reference

#include <scheduled_pool.hpp>

Public Attributes

uint64_t id
TimePoint next_run
Duration interval
OneShotTask one_shot_task
std::shared_ptr< PeriodicTaskperiodic_task
std::shared_ptr< std::atomic< bool > > cancelled
bool periodic

Detailed Description

template<typename PoolType = ThreadPool>
struct threadschedule::ScheduledThreadPoolT< PoolType >::ScheduledTaskInfo

Definition at line 148 of file scheduled_pool.hpp.

Member Data Documentation

◆ cancelled

template<typename PoolType = ThreadPool>
std::shared_ptr<std::atomic<bool> > threadschedule::ScheduledThreadPoolT< PoolType >::ScheduledTaskInfo::cancelled

Definition at line 155 of file scheduled_pool.hpp.

◆ id

template<typename PoolType = ThreadPool>
uint64_t threadschedule::ScheduledThreadPoolT< PoolType >::ScheduledTaskInfo::id

Definition at line 150 of file scheduled_pool.hpp.

◆ interval

template<typename PoolType = ThreadPool>
Duration threadschedule::ScheduledThreadPoolT< PoolType >::ScheduledTaskInfo::interval

Definition at line 152 of file scheduled_pool.hpp.

◆ next_run

template<typename PoolType = ThreadPool>
TimePoint threadschedule::ScheduledThreadPoolT< PoolType >::ScheduledTaskInfo::next_run

Definition at line 151 of file scheduled_pool.hpp.

◆ one_shot_task

template<typename PoolType = ThreadPool>
OneShotTask threadschedule::ScheduledThreadPoolT< PoolType >::ScheduledTaskInfo::one_shot_task

Definition at line 153 of file scheduled_pool.hpp.

◆ periodic

template<typename PoolType = ThreadPool>
bool threadschedule::ScheduledThreadPoolT< PoolType >::ScheduledTaskInfo::periodic

Definition at line 156 of file scheduled_pool.hpp.

◆ periodic_task

template<typename PoolType = ThreadPool>
std::shared_ptr<PeriodicTask> threadschedule::ScheduledThreadPoolT< PoolType >::ScheduledTaskInfo::periodic_task

Definition at line 154 of file scheduled_pool.hpp.


The documentation for this struct was generated from the following file: