yumapro  20.10-12
YumaPro SDK

struct of data for 1 nested SIL callback within 1 undo. More...

#include <agt_cfg.h>

Collaboration diagram for agt_cfg_nested_silcall_t_:

Data Fields

dlq_hdr_t qhdr
 queue header
 
op_editop_t editop
 edit operation
 
status_t validate_res
 validate status
 
status_t apply_res
 apply status
 
status_t commit_res
 commit status
 
status_t rollback_res
 rollback status
 
obj_template_t * callback_obj
 object template for this callback
 
dlq_hdr_t nested_silcallQ
 Q of cchild SIL calls.
 
struct agt_cfg_nested_silcall_t_parent
 back pointer to parent silcall
 
val_value_t * curval_clone
 In case of delete-children-first mode newval and curval may get cleaned and deleted before the actual children callback is invoked, Which may cause newval/curval backptrs become tainted and not usable anymore. More...
 

Detailed Description

struct of data for 1 nested SIL callback within 1 undo.

each distinct SIL callback within a subtee will have a separate nested_silcall record

this is done for each call to handle_user_callback

This record is maintained throughout the transaction starting in validate phase when the input val_value_t tree is scanned. Each queue of nested_silcall is sorted by SIL priority first

Field Documentation

◆ curval_clone

val_value_t* curval_clone

In case of delete-children-first mode newval and curval may get cleaned and deleted before the actual children callback is invoked, Which may cause newval/curval backptrs become tainted and not usable anymore.

Need to keep the actual curval in case we need to process reverse deletion from bottom to top.

This is malloced value; Must be freed


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