Blender
V3.3
|
#include <stdio.h>
#include "CLG_log.h"
#include "MEM_guardedalloc.h"
#include "BLI_ghash.h"
#include "BLI_listbase.h"
#include "BLI_utildefines.h"
#include "WM_message.h"
#include "WM_types.h"
#include "message_bus/intern/wm_message_bus_intern.h"
Go to the source code of this file.
Functions | |
static uint | wm_msg_static_gset_hash (const void *key_p) |
static bool | wm_msg_static_gset_cmp (const void *key_a_p, const void *key_b_p) |
static void | wm_msg_static_gset_key_free (void *key_p) |
static void | wm_msg_static_repr (FILE *stream, const wmMsgSubscribeKey *msg_key) |
void | WM_msgtypeinfo_init_static (wmMsgTypeInfo *msgtype_info) |
wmMsgSubscribeKey_Static * | WM_msg_lookup_static (struct wmMsgBus *mbus, const wmMsgParams_Static *msg_key_params) |
void | WM_msg_publish_static_params (struct wmMsgBus *mbus, const wmMsgParams_Static *msg_key_params) |
void | WM_msg_publish_static (struct wmMsgBus *mbus, int event) |
void | WM_msg_subscribe_static_params (struct wmMsgBus *mbus, const wmMsgParams_Static *msg_key_params, const wmMsgSubscribeValue *msg_val_params, const char *id_repr) |
void | WM_msg_subscribe_static (struct wmMsgBus *mbus, int event, const wmMsgSubscribeValue *msg_val_params, const char *id_repr) |
wmMsgSubscribeKey_Static* WM_msg_lookup_static | ( | struct wmMsgBus * | mbus, |
const wmMsgParams_Static * | msg_key_params | ||
) |
Definition at line 72 of file wm_message_bus_static.c.
References BLI_gset_lookup(), wmMsgBus::messages_gset, wmMsgSubscribeKey_Static::msg, wmMsg_Static::params, and WM_MSG_TYPE_STATIC.
Referenced by WM_msg_publish_static_params().
Definition at line 90 of file wm_message_bus_static.c.
References WM_msg_publish_static_params().
Referenced by wm_file_read_post().
void WM_msg_publish_static_params | ( | struct wmMsgBus * | mbus, |
const wmMsgParams_Static * | msg_key_params | ||
) |
Definition at line 80 of file wm_message_bus_static.c.
References CLOG_INFO, wmMsgParams_Static::event, wmMsgSubscribeKey_Static::head, WM_LOG_MSGBUS_PUB, WM_msg_lookup_static(), and WM_msg_publish_with_key().
Referenced by WM_msg_publish_static().
Definition at line 30 of file wm_message_bus_static.c.
References wmMsgParams_Static::event.
Referenced by WM_msgtypeinfo_init_static().
Definition at line 23 of file wm_message_bus_static.c.
References wmMsgSubscribeKey_Static::msg, params, and wmMsg_Static::params.
Referenced by WM_msgtypeinfo_init_static().
Definition at line 36 of file wm_message_bus_static.c.
References BLI_remlink(), ListBase::first, MEM_freeN, wmMsgSubscribeValueLink::next, and wmMsgSubscribeKey::values.
Referenced by WM_msgtypeinfo_init_static().
|
static |
Definition at line 48 of file wm_message_bus_static.c.
References BLI_listbase_count(), wmMsg_Static::head, wmMsgSubscribeKey_Static::head, wmMsg::id, wmMsgSubscribeKey_Static::msg, and wmMsgSubscribeKey::values.
Referenced by WM_msgtypeinfo_init_static().
void WM_msg_subscribe_static | ( | struct wmMsgBus * | mbus, |
int | event, | ||
const wmMsgSubscribeValue * | msg_val_params, | ||
const char * | id_repr | ||
) |
Definition at line 114 of file wm_message_bus_static.c.
References WM_msg_subscribe_static_params().
void WM_msg_subscribe_static_params | ( | struct wmMsgBus * | mbus, |
const wmMsgParams_Static * | msg_key_params, | ||
const wmMsgSubscribeValue * | msg_val_params, | ||
const char * | id_repr | ||
) |
Definition at line 98 of file wm_message_bus_static.c.
References wmMsg_Static::head, wmMsgSubscribeKey_Static::head, wmMsg::id, wmMsgSubscribeKey_Static::msg, NULL, wmMsg_Static::params, wmMsg::type, WM_msg_subscribe_with_key(), and WM_MSG_TYPE_STATIC.
Referenced by WM_msg_subscribe_static().
void WM_msgtypeinfo_init_static | ( | wmMsgTypeInfo * | msgtype_info | ) |
Definition at line 60 of file wm_message_bus_static.c.
References wmMsgTypeInfo::cmp_fn, wmMsgTypeInfo::gset, wmMsgTypeInfo::hash_fn, wmMsgTypeInfo::key_free_fn, wmMsgTypeInfo::msg_key_size, wmMsgTypeInfo::repr, wm_msg_static_gset_cmp(), wm_msg_static_gset_hash(), wm_msg_static_gset_key_free(), and wm_msg_static_repr().