- void set_uninit_action(ModelAction *act) { uninitaction = act; }
- ModelAction * get_uninit_action() { return uninitaction; }
+ void setTraceRef(sllnode<ModelAction *> *ref) { trace_ref = ref; }
+ void setThrdMapRef(sllnode<ModelAction *> *ref) { thrdmap_ref = ref; }
+ void setActionRef(sllnode<ModelAction *> *ref) { action_ref = ref; }
+ sllnode<ModelAction *> * getTraceRef() { return trace_ref; }
+ sllnode<ModelAction *> * getThrdMapRef() { return thrdmap_ref; }
+ sllnode<ModelAction *> * getActionRef() { return action_ref; }
+
+ void incr_func_ref_count() { func_ref_count++; }
+ void decr_func_ref_count() { if (func_ref_count > 0) func_ref_count--; }
+ uint32_t get_func_ref_count() { return func_ref_count; }
+