|
Monado OpenXR Runtime
|
A time sync sink is a component that receives timing events from a stable timing source, such as the exposure of a camera frame. More...
#include <tracking/t_time_sync.h>

Static Public Member Functions | |
| static XRT_NONNULL_ALL void | t_timing_event_sink_push_timing_event (struct t_timing_event_sink *sink, const struct t_timing_event *event) |
| Helper function for t_timing_event_sink::push_timing_event. | |
Data Fields | |
| void(* | push_timing_event )(struct t_timing_event_sink *sink, const struct t_timing_event *event) |
| A function that the timing event sink will call to push a new timing event. | |
A time sync sink is a component that receives timing events from a stable timing source, such as the exposure of a camera frame.
This allows the sink to attempt to synchronize its internal timing to the source. This is most useful for devices such as the PS Sense controllers, or the WMR controllers, which need to synchronize their LED flashes with a camera.
Objects implementing t_timing_event_sink should likely also implement xrt_frame_node and live within the lifetime of an xrt_frame_context.
|
inlinestatic |
Helper function for t_timing_event_sink::push_timing_event.
A function that the timing event sink will call to push a new timing event.
| sink | The sink to push the timing event to. |
| event | The timing event being pushed. |
References push_timing_event.
| void(* t_timing_event_sink::push_timing_event) (struct t_timing_event_sink *sink, const struct t_timing_event *event) |
A function that the timing event sink will call to push a new timing event.
| sink | The sink to push the timing event to. |
| event | The timing event being pushed. |
Referenced by t_timing_event_sink_push_timing_event().