Represents the allowed options for creating a task
More...
#include <pplxtasks.h>
Public Member Functions
Default list of task creation options
More...
Task option that specify a cancellation token
More...
Task option that specify a continuation context. This is valid only for continuations (then)
More...
Task option that specify a cancellation token and a continuation context. This is valid only for continuations (then)
More...
template<typename _SchedType >
Task option that specify a scheduler with shared lifetime
More...
Task option that specify a scheduler reference
More...
Task option that specify a scheduler
More...
Task option copy constructor
More...
Sets the given token in the options
More...
Sets the given continuation context in the options
More...
Indicates whether a cancellation token was specified by the user
More...
Returns the cancellation token
More...
Returns the continuation context
More...
Indicates whether a scheduler n was specified by the user
More...
Friends
Detailed Description
Represents the allowed options for creating a task
Constructor & Destructor Documentation
pplx::task_options::task_options
(
)
inline
Default list of task creation options
Task option that specify a cancellation token
Task option that specify a continuation context. This is valid only for continuations (then)
Task option that specify a cancellation token and a continuation context. This is valid only for continuations (then)
template<typename _SchedType >
pplx::task_options::task_options
(
std::shared_ptr< _SchedType >
_Scheduler )
inline
Task option that specify a scheduler with shared lifetime
pplx::task_options::task_options
(
scheduler_interface &
_Scheduler )
inline
Task option that specify a scheduler reference
Task option that specify a scheduler
pplx::task_options::task_options
(
const
task_options &
_TaskOptions )
inline
Task option copy constructor
Member Function Documentation
Returns the cancellation token
Returns the continuation context
bool pplx::task_options::has_cancellation_token
(
)
const
inline
Indicates whether a cancellation token was specified by the user
bool pplx::task_options::has_scheduler
(
)
const
inline
Indicates whether a scheduler n was specified by the user
Sets the given token in the options
Sets the given continuation context in the options
The documentation for this class was generated from the following file: