A node carrying meta-data of a task. More...
#include <transwarp.h>
Public Member Functions | |
node (const node &)=delete | |
node & | operator= (const node &)=delete |
node (node &&)=delete | |
node & | operator= (node &&)=delete |
std::size_t | get_id () const noexcept |
The task ID. | |
std::size_t | get_level () const noexcept |
The task level. | |
transwarp::task_type | get_type () const noexcept |
The task type. | |
const std::shared_ptr < std::string > & | get_name () const noexcept |
The optional task name (may be null) | |
const std::shared_ptr < std::string > & | get_executor () const noexcept |
The optional, task-specific executor (may be null) | |
const std::vector < std::shared_ptr< node > > & | get_parents () const noexcept |
The task's parents (may be empty) | |
std::size_t | get_priority () const noexcept |
The task priority (defaults to 0) | |
const std::shared_ptr< void > & | get_custom_data () const noexcept |
The custom task data (may be null) | |
bool | is_canceled () const noexcept |
Returns whether the associated task is canceled. | |
Friends | |
struct | transwarp::detail::node_manip |
A node carrying meta-data of a task.