UM C API  6.16.1
lbm_context_rcv_immediate_msgs_func_t_stct Struct Reference

Structure that holds the application function to configure a callback for receiving certain immediate mode messages (UIM). More...

#include <lbm.h>

Data Fields

lbm_immediate_msg_cb_proc func
 Function pointer for application callback.
 
lbm_event_queue_tevq
 Event queue to be used (NULL if not). See Event Queue Object.
 
void * clientd
 Client data to be passed to the callback.
 

Detailed Description

Structure that holds the application function to configure a callback for receiving certain immediate mode messages (UIM).

UIMs can be received using normal UM receivers. However, there are two cases where an application would not use a normal receiver:

  • Topicless messages (no topic associated with the message).
  • Messages that have a topic, but for which no matching receiver exists; sort of a "default" receiver of UIMs.

Callbacks for these cases can be registered using the configuration options immediate_message_receiver_function (context) and immediate_message_topic_receiver_function (context) respectively.

See Immediate Messaging for general information on immediate messaging.

See lbm_context_rcv_immediate_msgs_func_t_stct for field definitions.


The documentation for this struct was generated from the following file: