Blender V5.3
blender::TaskNode Struct Reference

Public Member Functions

 TaskNode (TaskGraph *task_graph, TaskGraphNodeRunFunction run_func, void *task_data, TaskGraphNodeFreeFunction free_func)
 TaskNode (const TaskNode &other)=delete
TaskNode & operator= (const TaskNode &other)=delete
 ~TaskNode ()
void run_serial ()

Public Attributes

std::vector< TaskNode * > successors
TaskGraphNodeRunFunction run_func
void * task_data
TaskGraphNodeFreeFunction free_func

Detailed Description

Definition at line 35 of file task_graph.cc.

Constructor & Destructor Documentation

◆ TaskNode() [1/2]

blender::TaskNode::TaskNode ( TaskGraph * task_graph,
TaskGraphNodeRunFunction run_func,
void * task_data,
TaskGraphNodeFreeFunction free_func )
inline

Definition at line 50 of file task_graph.cc.

References free_func, run_func, and task_data.

Referenced by blender::BLI_task_graph_node_create(), operator=(), run_serial(), and TaskNode().

◆ TaskNode() [2/2]

blender::TaskNode::TaskNode ( const TaskNode & other)
delete

References TaskNode().

◆ ~TaskNode()

blender::TaskNode::~TaskNode ( )
inline

Definition at line 72 of file task_graph.cc.

References free_func, and task_data.

Member Function Documentation

◆ operator=()

TaskNode & blender::TaskNode::operator= ( const TaskNode & other)
delete

References TaskNode().

◆ run_serial()

void blender::TaskNode::run_serial ( )
inline

Definition at line 87 of file task_graph.cc.

References run_func, successors, task_data, and TaskNode().

Referenced by blender::BLI_task_graph_node_push_work().

Member Data Documentation

◆ free_func

TaskGraphNodeFreeFunction blender::TaskNode::free_func

Definition at line 48 of file task_graph.cc.

Referenced by TaskNode(), and ~TaskNode().

◆ run_func

TaskGraphNodeRunFunction blender::TaskNode::run_func

Definition at line 44 of file task_graph.cc.

Referenced by run_serial(), and TaskNode().

◆ successors

std::vector<TaskNode *> blender::TaskNode::successors

Definition at line 41 of file task_graph.cc.

Referenced by blender::BLI_task_graph_edge_create(), and run_serial().

◆ task_data

void* blender::TaskNode::task_data

Definition at line 45 of file task_graph.cc.

Referenced by run_serial(), TaskNode(), and ~TaskNode().


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