|
virtual | ~TaskRunner ()=default |
|
template<typename TaskType > |
bool | post_task (TaskLocation &&location, TaskType &&task) |
|
template<typename OwnerType , typename TaskType > |
bool | post_task (TaskLocation &&location, std::weak_ptr< OwnerType > weak_owner, TaskType &&task) |
|
template<typename TaskType , typename ReplyType > |
bool | post_task_with_reply (TaskLocation &&location, TaskType &&task, ReplyType &&reply) |
|
template<typename OwnerType , typename TaskType , typename ReplyType > |
bool | post_task_with_reply (TaskLocation &&location, std::weak_ptr< OwnerType > weak_owner, TaskType &&task, ReplyType &&reply) |
|
template<typename TaskType > |
bool | post_task_with_delay (TaskLocation &&location, std::chrono::milliseconds delay, TaskType &&task) |
|
template<typename OwnerType , typename TaskType > |
bool | post_task_with_delay (TaskLocation &&location, std::weak_ptr< OwnerType > weak_owner, std::chrono::milliseconds delay, TaskType &&task) |
|
template<typename TaskType , typename ReplyType > |
bool | post_task_with_delay_and_reply (TaskLocation &&location, std::chrono::milliseconds delay, TaskType &&task, ReplyType &&reply) |
|
template<typename OwnerType , typename TaskType , typename ReplyType > |
bool | post_task_with_delay_and_reply (TaskLocation &&location, std::weak_ptr< OwnerType > weak_owner, std::chrono::milliseconds delay, TaskType &&task, ReplyType &&reply) |
|
Task runner implementation for executing tasks in parallel. Tasks posted to this task runner may be executed in any order.
- Author
- Timothy Flynn (trfly.nosp@m.nn89.nosp@m.@pm.m.nosp@m.e)
- Version
- August 12, 2018