#include <stop_token.h>
Public Member Functions | |
| StopSource () | |
| StopSource (NoStopStateTag) noexcept | |
| StopToken | get_token () const noexcept |
| bool | request_stop () noexcept |
Private Attributes | |
| std::shared_ptr< std::atomic< bool > > | state_ |
Definition at line 33 of file stop_token.h.
|
inline |
Definition at line 35 of file stop_token.h.
|
inlineexplicitnoexcept |
Definition at line 36 of file stop_token.h.
|
inlinenoexcept |
Definition at line 38 of file stop_token.h.
References state_.
Referenced by yaze::editor::DungeonEditorV2::GetDungeonRenderContextCensus(), and yaze::editor::RoomMatrixCensusOverlay::StartComputation().
|
inlinenoexcept |
Definition at line 40 of file stop_token.h.
References state_.
Referenced by yaze::editor::RoomMatrixCensusOverlay::Invalidate(), yaze::editor::DungeonEditorV2::InvalidateDungeonRenderContextCensus(), and yaze::editor::RoomMatrixCensusOverlay::~RoomMatrixCensusOverlay().
|
private |
Definition at line 45 of file stop_token.h.
Referenced by get_token(), and request_stop().