ThreadSchedule 4.1.0
Modern C++ thread management library
Loading...
Searching...
No Matches
threadschedule::detail::scheduled_pool_backend_base< PoolType >::scheduled_dispatch_state Struct Reference

#include <scheduled_pool_backend_base.hpp>

Public Member Functions

 scheduled_dispatch_state (std::shared_ptr< detail::scheduled_cancellation_state > cancellation_value, std::shared_ptr< periodic_task_state > periodic_value={})
 ~scheduled_dispatch_state ()

Public Attributes

std::shared_ptr< detail::scheduled_cancellation_state > cancellation
std::shared_ptr< periodic_task_state > periodic
std::atomic< bool > started { false }

Detailed Description

template<typename PoolType = thread_pool_backend>
struct threadschedule::detail::scheduled_pool_backend_base< PoolType >::scheduled_dispatch_state

Definition at line 121 of file scheduled_pool_backend_base.hpp.

Constructor & Destructor Documentation

◆ scheduled_dispatch_state()

template<typename PoolType = thread_pool_backend>
threadschedule::detail::scheduled_pool_backend_base< PoolType >::scheduled_dispatch_state::scheduled_dispatch_state ( std::shared_ptr< detail::scheduled_cancellation_state > cancellation_value,
std::shared_ptr< periodic_task_state > periodic_value = {} )
inlineexplicit

Definition at line 123 of file scheduled_pool_backend_base.hpp.

◆ ~scheduled_dispatch_state()

template<typename PoolType = thread_pool_backend>
threadschedule::detail::scheduled_pool_backend_base< PoolType >::scheduled_dispatch_state::~scheduled_dispatch_state ( )
inline

Definition at line 129 of file scheduled_pool_backend_base.hpp.

References cancellation, periodic, and started.

Member Data Documentation

◆ cancellation

template<typename PoolType = thread_pool_backend>
std::shared_ptr<detail::scheduled_cancellation_state> threadschedule::detail::scheduled_pool_backend_base< PoolType >::scheduled_dispatch_state::cancellation

Definition at line 138 of file scheduled_pool_backend_base.hpp.

Referenced by ~scheduled_dispatch_state().

◆ periodic

template<typename PoolType = thread_pool_backend>
std::shared_ptr<periodic_task_state> threadschedule::detail::scheduled_pool_backend_base< PoolType >::scheduled_dispatch_state::periodic

Definition at line 139 of file scheduled_pool_backend_base.hpp.

Referenced by ~scheduled_dispatch_state().

◆ started

template<typename PoolType = thread_pool_backend>
std::atomic<bool> threadschedule::detail::scheduled_pool_backend_base< PoolType >::scheduled_dispatch_state::started { false }

Definition at line 140 of file scheduled_pool_backend_base.hpp.

Referenced by ~scheduled_dispatch_state().


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