|
Blender
V2.93
|
#include "BLI_listbase.h"#include "BLI_utildefines.h"#include "BKE_callbacks.h"#include "MEM_guardedalloc.h"#include "RNA_access.h"#include "RNA_types.h"Go to the source code of this file.
Functions | |
| void | BKE_callback_exec (struct Main *bmain, struct PointerRNA **pointers, const int num_pointers, eCbEvent evt) |
| void | BKE_callback_exec_null (struct Main *bmain, eCbEvent evt) |
| void | BKE_callback_exec_id (struct Main *bmain, struct ID *id, eCbEvent evt) |
| void | BKE_callback_exec_id_depsgraph (struct Main *bmain, struct ID *id, struct Depsgraph *depsgraph, eCbEvent evt) |
| void | BKE_callback_add (bCallbackFuncStore *funcstore, eCbEvent evt) |
| void | BKE_callback_global_init (void) |
| void | BKE_callback_global_finalize (void) |
Variables | |
| static ListBase | callback_slots [BKE_CB_EVT_TOT] = {{NULL}} |
| void BKE_callback_add | ( | bCallbackFuncStore * | funcstore, |
| eCbEvent | evt | ||
| ) |
Definition at line 77 of file callbacks.c.
References BLI_addtail(), and callback_slots.
Referenced by BPY_app_handlers_struct(), and FRS_init().
| void BKE_callback_exec | ( | struct Main * | bmain, |
| struct PointerRNA ** | pointers, | ||
| const int | num_pointers, | ||
| eCbEvent | evt | ||
| ) |
Definition at line 33 of file callbacks.c.
References bCallbackFuncStore::arg, callback_slots, ListBase::first, bCallbackFuncStore::func, and bCallbackFuncStore::next.
Referenced by BKE_callback_exec_id(), BKE_callback_exec_id_depsgraph(), and BKE_callback_exec_null().
Definition at line 51 of file callbacks.c.
References BKE_callback_exec(), and RNA_id_pointer_create().
Referenced by BKE_scene_graph_update_for_newframe_ex(), ed_undo_step_post(), ed_undo_step_pre(), render_callback_exec_id(), and scene_graph_update_tagged().
| void BKE_callback_exec_id_depsgraph | ( | struct Main * | bmain, |
| struct ID * | id, | ||
| struct Depsgraph * | depsgraph, | ||
| eCbEvent | evt | ||
| ) |
Definition at line 61 of file callbacks.c.
References BKE_callback_exec(), depsgraph, NULL, RNA_Depsgraph, RNA_id_pointer_create(), and RNA_pointer_create().
Referenced by BKE_scene_graph_update_for_newframe_ex(), and scene_graph_update_tagged().
Definition at line 46 of file callbacks.c.
References BKE_callback_exec(), and NULL.
Referenced by render_callback_exec_null(), stats_background(), wm_file_read_post(), wm_file_read_pre(), wm_file_write(), wm_homefile_write_exec(), and WM_init().
| void BKE_callback_global_finalize | ( | void | ) |
Definition at line 89 of file callbacks.c.
References bCallbackFuncStore::alloc, BKE_CB_EVT_TOT, BLI_remlink(), callback_slots, ListBase::first, MEM_freeN, and bCallbackFuncStore::next.
Referenced by BKE_blender_free().
| void BKE_callback_global_init | ( | void | ) |
Definition at line 83 of file callbacks.c.
Referenced by main().
|
static |
Definition at line 31 of file callbacks.c.
Referenced by BKE_callback_add(), BKE_callback_exec(), and BKE_callback_global_finalize().