Iros
 
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
 
class detail::InPlaceStopCallbackBase
 

Constructor & Destructor Documentation

◆ InPlaceStopSource() [1/2]

di::sync::InPlaceStopSource::InPlaceStopSource ( )
default

◆ InPlaceStopSource() [2/2]

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

◆ ~InPlaceStopSource()

di::sync::InPlaceStopSource::~InPlaceStopSource ( )
inline

Member Function Documentation

◆ get_stop_token()

auto di::sync::InPlaceStopSource::get_stop_token ( ) const -> InPlaceStopToken
inlinenodiscard

◆ request_stop()

auto di::sync::InPlaceStopSource::request_stop ( ) -> bool
inline

◆ stop_requested()

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

Friends And Related Symbol Documentation

◆ detail::InPlaceStopCallbackBase

friend class detail::InPlaceStopCallbackBase
friend

◆ InPlaceStopCallback

template<typename>
friend class InPlaceStopCallback
friend

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