#include <di/sync/stop_token/in_place_stop_callback.h>
Public Types | |
| using | CallbackType = Callback |
Public Member Functions | |
| template<typename C> requires (concepts::ConstructibleFrom<Callback, C>) | |
| InPlaceStopCallback (InPlaceStopToken token, C &&callback) | |
| InPlaceStopCallback (InPlaceStopCallback &&)=delete | |
| ~InPlaceStopCallback () | |
Public Member Functions inherited from di::container::IntrusiveListNode<> | |
| constexpr | IntrusiveListNode () |
| constexpr | IntrusiveListNode () |
Additional Inherited Members | |
Protected Member Functions inherited from di::sync::detail::InPlaceStopCallbackBase | |
| InPlaceStopCallbackBase (InPlaceStopSource const *parent, ErasedCallback execute) | |
Protected Attributes inherited from di::sync::detail::InPlaceStopCallbackBase | |
| InPlaceStopSource const * | m_parent { nullptr } |
| ErasedCallback | m_execute { nullptr } |
| Atomic< bool > | m_already_executed { false } |
| Atomic< bool * > | m_did_destruct_in_same_thread { nullptr } |
| using di::sync::InPlaceStopCallback< Callback >::CallbackType = Callback |
|
inlineexplicit |
|
delete |
|
inline |