|
RADLib
RADical C++ application framework
|
Owner object used to request cancellation on associated tokens. More...
#include <RADCore.h>
Public Member Functions | |
| RADCancellationSource () | |
| Creates a source with a fresh token. More... | |
| RADCancellationToken | token () const |
| Returns the token that observers should poll. More... | |
| void | cancel () |
| Requests cancellation. More... | |
| bool | isCancellationRequested () const |
| Returns true when cancellation was requested. More... | |
Owner object used to request cancellation on associated tokens.
|
inline |
Creates a source with a fresh token.
|
inline |
Requests cancellation.
|
inline |
Returns true when cancellation was requested.
|
inline |
Returns the token that observers should poll.