29 #ifndef MESSAGE_QUEUE_H 30 #define MESSAGE_QUEUE_H 34 #include "os/thread_safe.h" 41 DEFAULT_QUEUE_SIZE_KB=1024
50 FLAG_SHOW_ERROR=1<<14,
51 FLAG_MASK=FLAG_SHOW_ERROR-1
68 uint32_t buffer_max_used;
71 void _call_function(
Object* p_target,
const StringName& p_func,
const Variant *p_args,
int p_argcount,
bool p_show_error);
78 Error push_call(ObjectID p_id,
const StringName& p_method,
const Variant** p_args,
int p_argcount,
bool p_show_error=
false);
79 Error push_call(ObjectID p_id,
const StringName& p_method, VARIANT_ARG_LIST);
80 Error push_notification(ObjectID p_id,
int p_notification);
83 Error push_call(
Object *p_object,
const StringName& p_method, VARIANT_ARG_LIST);
84 Error push_notification(
Object *p_object,
int p_notification);
91 int get_max_buffer_usage()
const;
97 #endif // MESSAGE_QUEUE_H
Definition: message_queue.h:35
Definition: string_db.h:48