|
| | StoppableOperation (OutcomeType *outcome) |
| | Construct a new Stoppable Operation object.
|
|
| StoppableOperation (StoppableOperation const &)=delete |
|
StoppableOperation & | operator= (StoppableOperation const &)=delete |
|
| StoppableOperation (StoppableOperation &&)=default |
|
StoppableOperation & | operator= (StoppableOperation &&)=default |
|
void | requestStop () noexcept |
| | Requests the operation to stop.
|
|
| BasicOperation (StoppableOutcome< RetType, StopSourceType > *outcome) |
|
auto | get () |
|
void | wait () |
| | MoveTracker (MoveTracker &&other) |
| | Move constructor sets the moved-from state on other and resets the state on this.
|
| MoveTracker & | operator= (MoveTracker &&other) |
| | Move operator sets the moved-from state on other and resets the state on this.
|
|
| MoveTracker (MoveTracker const &)=default |
|
MoveTracker & | operator= (MoveTracker const &)=default |
template<typename RetType, typename StopSourceType>
class util::async::StoppableOperation< RetType, StopSourceType >
The future side of async operations that can be stopped.
- Template Parameters
-
| RetType | The return type of the operation |
| StopSourceType | The type of the stop source |