STLdoc
STLdocumentation
|
Represents the allowed options for creating a task More...
#include <ppltasks.h>
Public Member Functions | |
task_options () | |
Default list of task creation options More... | |
task_options (cancellation_token _Token) | |
Task option that specify a cancellation token More... | |
task_options (task_continuation_context _ContinuationContext) | |
Task option that specify a continuation context. This is valid only for continuations (then) More... | |
task_options (cancellation_token _Token, task_continuation_context _ContinuationContext) | |
Task option that specify a cancellation token and a continuation context. This is valid only for continuations (then) More... | |
template<typename _SchedType > | |
task_options (std::shared_ptr< _SchedType > _Scheduler) | |
Task option that specify a scheduler with shared lifetime More... | |
task_options (scheduler_interface &_Scheduler) | |
Task option that specify a scheduler reference More... | |
task_options (scheduler_ptr _Scheduler) | |
Task option that specify a scheduler More... | |
task_options (const task_options &_TaskOptions) | |
Task option copy constructor More... | |
void | set_cancellation_token (cancellation_token _Token) |
Sets the given token in the options More... | |
void | set_continuation_context (task_continuation_context _ContinuationContext) |
Sets the given continuation context in the options More... | |
bool | has_cancellation_token () const |
Indicates whether a cancellation token was specified by the user More... | |
cancellation_token | get_cancellation_token () const |
Returns the cancellation token More... | |
task_continuation_context | get_continuation_context () const |
Returns the continuation context More... | |
bool | has_scheduler () const |
Indicates whether a scheduler n was specified by the user More... | |
scheduler_ptr | get_scheduler () const |
Returns the scheduler More... | |
Private Member Functions | |
task_options const & | operator= (task_options const &_Right) |
Friends | |
details::_Internal_task_options & | details::_get_internal_task_options (task_options &) |
const details::_Internal_task_options & | details::_get_internal_task_options (const task_options &) |
Represents the allowed options for creating a task
|
inline |
Default list of task creation options
|
inline |
Task option that specify a cancellation token
|
inline |
Task option that specify a continuation context. This is valid only for continuations (then)
|
inline |
Task option that specify a cancellation token and a continuation context. This is valid only for continuations (then)
|
inline |
Task option that specify a scheduler with shared lifetime
|
inline |
Task option that specify a scheduler reference
|
inline |
Task option that specify a scheduler
|
inline |
Task option copy constructor
|
inline |
Returns the cancellation token
|
inline |
Returns the continuation context
|
inline |
Returns the scheduler
|
inline |
Indicates whether a cancellation token was specified by the user
|
inline |
Indicates whether a scheduler n was specified by the user
|
private |
|
inline |
Sets the given token in the options
|
inline |
Sets the given continuation context in the options
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |