Blender V5.3
wm_message_bus_rna.cc File Reference
#include <cstdio>
#include "CLG_log.h"
#include "MEM_guardedalloc.h"
#include "DNA_ID.h"
#include "BLI_ghash.hh"
#include "BLI_listbase.hh"
#include "BLI_string.hh"
#include "WM_message.hh"
#include "WM_types.hh"
#include "message_bus/intern/wm_message_bus_intern.hh"
#include "RNA_access.hh"
#include "RNA_path.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Internal Utilities
BLI_INLINE uint blender::void_hash_uint (const void *key)
static uint blender::wm_msg_rna_gset_hash (const void *key_p)
static bool blender::wm_msg_rna_gset_cmp (const void *key_a_p, const void *key_b_p)
static void * blender::wm_msg_rna_gset_key_duplicate (const void *key_p)
static void blender::wm_msg_rna_gset_key_free (void *key_p)
static void blender::wm_msg_rna_repr (FILE *stream, const wmMsgSubscribeKey *msg_key)
static void blender::wm_msg_rna_update_by_id (wmMsgBus *mbus, ID *id_src, ID *id_dst)
static void blender::wm_msg_rna_remove_by_id (wmMsgBus *mbus, const ID *id)
void blender::WM_msgtypeinfo_init_rna (wmMsgTypeInfo *msgtype_info)
RNA API
wmMsgSubscribeKey_RNA * blender::WM_msg_lookup_rna (wmMsgBus *mbus, const wmMsgParams_RNA *msg_key_params)
void blender::WM_msg_publish_rna_params (wmMsgBus *mbus, const wmMsgParams_RNA *msg_key_params)
void blender::WM_msg_publish_rna (wmMsgBus *mbus, PointerRNA *ptr, PropertyRNA *prop)
void blender::WM_msg_subscribe_rna_params (wmMsgBus *mbus, const wmMsgParams_RNA *msg_key_params, const wmMsgSubscribeValue *msg_val_params, const char *id_repr)
void blender::WM_msg_subscribe_rna (wmMsgBus *mbus, PointerRNA *ptr, const PropertyRNA *prop, const wmMsgSubscribeValue *msg_val_params, const char *id_repr)
ID variants of RNA API
Note
While we could have a separate type for ID's, use RNA since there is enough overlap.
void blender::WM_msg_subscribe_ID (wmMsgBus *mbus, ID *id, const wmMsgSubscribeValue *msg_val_params, const char *id_repr)
void blender::WM_msg_publish_ID (wmMsgBus *mbus, ID *id)