Monado OpenXR Runtime
|
Used internally from producers of events to push events into session, some sinks might multiplex events to multiple sessions. More...
#include <xrt/xrt_session.h>
Static Public Member Functions | |
static XRT_CHECK_RESULT xrt_result_t | xrt_session_event_sink_push (struct xrt_session_event_sink *xses, const union xrt_session_event *xse) |
Push one event to this sink, data is copied so pointer only needs to be valid for the duration of the call. More... | |
Data Fields | |
xrt_result_t(* | push_event )(struct xrt_session_event_sink *xses, const union xrt_session_event *xse) |
Push one event to this sink, data is copied so pointer only needs to be valid for the duration of the call. More... | |
Used internally from producers of events to push events into session, some sinks might multiplex events to multiple sessions.
|
inlinestatic |
Push one event to this sink, data is copied so pointer only needs to be valid for the duration of the call.
xses | Self-pointer to event sink. |
xse | A pre-filled out event. |
Helper for calling through the function pointer.
References push_event.
Referenced by u_system::u_system_broadcast_event().
xrt_result_t(* xrt_session_event_sink::push_event) (struct xrt_session_event_sink *xses, const union xrt_session_event *xse) |
Push one event to this sink, data is copied so pointer only needs to be valid for the duration of the call.
xses | Self-pointer to event sink. |
xse | A pre-filled out event. |
Referenced by xrt_session_event_sink_push().