transwarp
Public Member Functions | List of all members
transwarp::detail::runner< ResultType, TaskType, Task, Parents > Class Template Reference

A callable to run a task given its parents. More...

#include <transwarp.h>

Inheritance diagram for transwarp::detail::runner< ResultType, TaskType, Task, Parents >:
Inheritance graph
[legend]
Collaboration diagram for transwarp::detail::runner< ResultType, TaskType, Task, Parents >:
Collaboration graph
[legend]

Public Member Functions

 runner (std::size_t task_id, const std::weak_ptr< Task > &task, const typename transwarp::decay< Parents >::type &parents)
 
std::future< ResultType > future ()
 
void operator() ()
 

Additional Inherited Members

- Protected Member Functions inherited from transwarp::detail::base_runner< ResultType, TaskType >
template<typename Task , typename Parents >
void call (std::size_t task_id, const std::weak_ptr< Task > &task, const Parents &parents)
 
- Protected Attributes inherited from transwarp::detail::base_runner< ResultType, TaskType >
std::promise< ResultType > promise_
 

Detailed Description

template<typename ResultType, typename TaskType, typename Task, typename Parents>
class transwarp::detail::runner< ResultType, TaskType, Task, Parents >

A callable to run a task given its parents.


The documentation for this class was generated from the following file: