ecu_ntnode Struct Reference
|
ECU
|
ecu_ntnode Struct Reference
Single node within a tree. Intrusive, so user-defined types contain this node as a member. This type represents both a root and regular tree node. At any point in time, every node will either be a root of a subtree (normal tree node) or the main root. More...
#include <ntnode.h>
Collaboration diagram for ecu_ntnode:
Data Fields | |
| struct ecu_dnode | dnode |
| This node, represented as a linked list node. | |
| struct ecu_dlist | children |
| Node's children, represented as a linked list. | |
| struct ecu_ntnode * | parent |
| Node's parent. | |
| void(* | destroy )(struct ecu_ntnode *me, ecu_object_id_t id) |
| Optional user-defined node destructor. Executes when ecu_ntnode_destroy() is called or if this node was in a tree that was destroyed by ecu_ntnode_destroy(). | |
Detailed Description
Single node within a tree. Intrusive, so user-defined types contain this node as a member. This type represents both a root and regular tree node. At any point in time, every node will either be a root of a subtree (normal tree node) or the main root.
- Warning
- PRIVATE. Unless otherwise specified, all members can only be edited via the public API.
The documentation for this struct was generated from the following file:
- inc/ecu/ntnode.h
Generated by