LCI v2.0.0-dev
For Asynchronous Multithreaded Communication
Loading...
Searching...
No Matches
graph_add_node

Add a node to a graph. More...

Collaboration diagram for graph_add_node:

Classes

class  lci::graph_add_node_x
 The actual implementation for graph_add_node. More...
 

Detailed Description

Add a node to a graph.

Parameters
[in]compof type comp_t; positional argument; The graph to add node.
[in]fnof type graph_node_run_cb_t; positional argument; The function to run when the node is triggered.
[in]valueof type void*; optional argument; The arbitrary user-defined value associated with this node.
[in]free_cbof type graph_node_free_cb_t; optional argument; The callback to trigger when the node is freed.
[in]runtimeof type runtime_t; optional argument; The runtime object.
Returns
of type graph_node_t; A handler representing the node added to the graph.