transwarp
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Friends | List of all members
transwarp::node Class Reference

A node carrying meta-data of a task. More...

#include <transwarp.h>

Public Member Functions

 node (const node &)=delete
 
nodeoperator= (const node &)=delete
 
 node (node &&)=delete
 
nodeoperator= (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
 

Detailed Description

A node carrying meta-data of a task.


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