|
rad
5.2.0
|
#include <stopToken.hpp>
Public Member Functions | |
| StopSource () noexcept | |
| StopSource (StopSource const &) noexcept | |
| StopSource & | operator= (StopSource const &) |
| StopSource (StopSource &&) noexcept=default | |
| ~StopSource () | |
| bool | operator== (StopSource const &rhs) const noexcept |
| bool | operator!= (StopSource const &rhs) const noexcept |
| bool | StopRequested () const noexcept |
| bool | StopPossible () const noexcept |
| StopToken | GetToken () const noexcept |
| void | Swap (StopSource &other) noexcept |
| bool | RequestStop () noexcept |
Class that can request associated StopTokens to stop.
|
noexcept |
|
noexcept |
|
defaultnoexcept |
| rad::StopSource::~StopSource | ( | ) |
|
noexcept |
Get a stop token that can be stopped from this source.
|
noexcept |
| StopSource & rad::StopSource::operator= | ( | StopSource const & | rhs | ) |
|
noexcept |
|
noexcept |
Issue a request to stop to StopTokens.
|
noexcept |
|
noexcept |
|
noexcept |
Swap two StopSources.