Iros
 
Loading...
Searching...
No Matches
di::InPlaceStopToken Class Reference

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

Public Types

template<typename Callback>
using CallbackType = InPlaceStopCallback<Callback>
 

Public Member Functions

 InPlaceStopToken ()=default
 
 ~InPlaceStopToken ()=default
 
auto stop_requested () const -> bool
 
auto stop_possible () const -> bool
 
auto operator== (InPlaceStopToken const &) const -> bool=default
 

Friends

class InPlaceStopSource
 
template<typename>
class InPlaceStopCallback
 

Member Typedef Documentation

◆ CallbackType

template<typename Callback>
using di::sync::InPlaceStopToken::CallbackType = InPlaceStopCallback<Callback>

Constructor & Destructor Documentation

◆ InPlaceStopToken()

di::sync::InPlaceStopToken::InPlaceStopToken ( )
default

◆ ~InPlaceStopToken()

di::sync::InPlaceStopToken::~InPlaceStopToken ( )
default

Member Function Documentation

◆ operator==()

auto di::sync::InPlaceStopToken::operator== ( InPlaceStopToken const & ) const -> bool=default
nodiscarddefault

◆ stop_possible()

auto di::sync::InPlaceStopToken::stop_possible ( ) const -> bool
inlinenodiscard

◆ stop_requested()

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

Friends And Related Symbol Documentation

◆ InPlaceStopCallback

template<typename>
friend class InPlaceStopCallback
friend

◆ InPlaceStopSource

friend class InPlaceStopSource
friend

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