Classes |
| struct | Private |
Public Member Functions |
| | enqueued_task_impl (std::function< R()> _task=std::function< R()>()) |
| | Default constructor.
|
| bool | valid () const noexcept |
| | Returns true if valid.
|
| void | swap (enqueued_task_impl &o) noexcept |
| | Swaps contents with another instance.
|
| void | reset () |
| | Resets the contents.
|
| void | set_task (std::function< R()> _task) |
| | Sets the task.
|
| const shared_future< R > & | get_future () const |
| | Returns the shared stl_future corresponding to the stl_future return value of the task.
|
| template<class T > |
| void | set_future_value (T v) |
| | Sets the shared stl_future corresponding to the stl_future return value of the task.
|
|
void | set_future_value () |
| void | set_future_exception (exception_ptr e) |
| | Sets the shared stl_future corresponding to the stl_future return value of the task.
|
| void | disable_auto_set_future (bool v=true) |
| | Disables the task setting the shared stl_future return value.
|
Protected Member Functions |
|
void | validate () const |
Protected Attributes |
|
std::shared_ptr< Private > | p |
template<class R>
class boost::afio::detail::enqueued_task_impl< R >
Definition at line 115 of file afio.hpp.