modm API documentation
|
#include <modm/processing/fiber/stop_token.hpp>
Public Member Functions | |
constexpr | stop_source (const stop_source &) = default |
constexpr | stop_source (stop_source &&) = default |
constexpr stop_source & | operator= (const stop_source &) = default |
constexpr stop_source & | operator= (stop_source &&) = default |
constexpr bool | stop_possible () const |
bool | stop_requested () const |
bool | request_stop () |
stop_token | get_token () const |
void | swap (stop_source &rhs) |
Friends | |
class | stop_state |
bool | operator== (const stop_source &a, const stop_source &b) |
void | swap (stop_source &lhs, stop_source &rhs) |
Implements the std::stop_source
interface for fibers.