|
Monado OpenXR Runtime
|
A time sync source is a component that generates timing events for an t_timing_event_sink to consume. More...
#include <tracking/t_time_sync.h>

Static Public Member Functions | |
| static XRT_NONNULL_ALL int | t_timing_event_source_add_sink (struct t_timing_event_source *source, struct t_timing_event_sink *sink) |
| Helper function for t_timing_event_source::add_sink. | |
| static XRT_NONNULL_ALL void | t_timing_event_source_remove_sink (struct t_timing_event_source *source, struct t_timing_event_sink *sink) |
| Helper function for t_timing_event_source::remove_sink. | |
Data Fields | |
| int(* | add_sink )(struct t_timing_event_source *source, struct t_timing_event_sink *sink) |
| Adds an event sink to this source. | |
| void(* | remove_sink )(struct t_timing_event_source *source, struct t_timing_event_sink *sink) |
| Removes an event sink from this source. | |
A time sync source is a component that generates timing events for an t_timing_event_sink to consume.
Objects implementing t_timing_event_source should likely also implement xrt_frame_node and live within the lifetime of an xrt_frame_context.
|
inlinestatic |
Helper function for t_timing_event_source::add_sink.
Adds an event sink to this source.
| source | The source to add the sink to. |
| sink | The sink to add to the source. |
References add_sink.
|
inlinestatic |
Helper function for t_timing_event_source::remove_sink.
Removes an event sink from this source.
| source | The source to remove the sink from. |
| sink | The sink to remove from the source. |
References remove_sink.
| int(* t_timing_event_source::add_sink) (struct t_timing_event_source *source, struct t_timing_event_sink *sink) |
Adds an event sink to this source.
| source | The source to add the sink to. |
| sink | The sink to add to the source. |
Referenced by t_timing_event_source_add_sink().
| void(* t_timing_event_source::remove_sink) (struct t_timing_event_source *source, struct t_timing_event_sink *sink) |
Removes an event sink from this source.
| source | The source to remove the sink from. |
| sink | The sink to remove from the source. |
Referenced by t_timing_event_source_remove_sink().