di 0.1.0
Loading...
Searching...
No Matches
di::InPlaceStopSource Class Reference

#include <di/sync/stop_token/in_place_stop_source.h>

Public Member Functions

 InPlaceStopSource ()=default
 InPlaceStopSource (InPlaceStopSource &&)=delete
 ~InPlaceStopSource ()
auto get_stop_token () const -> InPlaceStopToken
auto stop_requested () const -> bool
auto request_stop () -> bool

Friends

template<typename>
class InPlaceStopCallback

Constructor & Destructor Documentation

◆ InPlaceStopSource() [1/2]

◆ InPlaceStopSource() [2/2]

di::sync::InPlaceStopSource::InPlaceStopSource ( InPlaceStopSource && )
delete

◆ ~InPlaceStopSource()

Member Function Documentation

◆ get_stop_token()

◆ request_stop()

◆ stop_requested()

auto di::sync::InPlaceStopSource::stop_requested ( ) const->bool
inlinenodiscard

◆ InPlaceStopCallback

template<typename>
friend class InPlaceStopCallback
friend

The documentation for this class was generated from the following files: