Lines Matching defs:RF_DagNode_s

90 struct RF_DagNode_s {  struct
91 RF_NodeStatus_t status; /* current status of this node */
92 void (*doFunc) (RF_DagNode_t *); /* normal function */
93 void (*undoFunc) (RF_DagNode_t *); /* func to remove effect of
95 void (*wakeFunc) (void *, int); /* func called when the
97 int numParams; /* number of parameters required by *funcPtr */
98 int numResults; /* number of results produced by *funcPtr */
99 int numAntecedents; /* number of antecedents */
100 int numAntDone; /* number of antecedents which have finished */
101 int numSuccedents; /* number of succedents */
102 int numSuccFired; /* incremented when a succedent is fired
104 int numSuccDone; /* incremented when a succedent finishes
106 int commitNode; /* boolean flag - if true, this is a commit
108 RF_DagNode_t **succedents; /* succedents, array size
110 RF_DagNode_t **antecedents; /* antecedents, array size
112 RF_AntecedentType_t antType[RF_MAX_ANTECEDENTS]; /* type of each
114 void **results; /* array of results produced by *funcPtr */
115 RF_DagParam_t *params; /* array of parameters required by *funcPtr */
116 RF_PropHeader_t **propList; /* propagation list, size
118 RF_DagHeader_t *dagHdr; /* ptr to head of dag containing this node */
119 void *dagFuncData; /* dag execution func uses this for whatever
121 RF_DagNode_t *next; /* next in terms of propagating results */
122 RF_DagNode_t *list_next; /* next in the list of DAG nodes for this DAG */
123 int nodeNum; /* used by PrintDAG for debug only */
124 int visited; /* used to avoid re-visiting nodes on DAG
128 const char *name; /* debug only */
129 RF_DagNodeFlags_t flags;/* see below */
130 RF_DagNode_t *big_dag_ptrs; /* used in cases where the cache below isn't big enough */
131 RF_DagParam_t *big_dag_params; /* used when the cache below isn't big enough */
132 RF_DagNode_t *dag_ptrs[RF_DAG_PTRCACHESIZE]; /* cache for performance */
133 RF_DagParam_t dag_params[RF_DAG_PARAMCACHESIZE]; /* cache for performance */