Monado OpenXR Runtime
|
An object to send IMU samples to. More...
#include <xrt/xrt_tracking.h>
Public Member Functions | |
void | u_imu_sink_split_create (struct xrt_frame_context *xfctx, struct xrt_imu_sink *downstream_one, struct xrt_imu_sink *downstream_two, struct xrt_imu_sink **out_imu_sink) |
void | u_imu_sink_force_monotonic_create (struct xrt_frame_context *xfctx, struct xrt_imu_sink *downstream, struct xrt_imu_sink **out_imu_sink) |
Static Public Member Functions | |
static void | xrt_sink_push_imu (struct xrt_imu_sink *sink, struct xrt_imu_sample *sample) |
Data Fields | |
void(* | push_imu )(struct xrt_imu_sink *, struct xrt_imu_sample *sample) |
Push an IMU sample into the sink. More... | |
An object to send IMU samples to.
Similar to xrt_frame_sink but the interface implementation must manage its own resources, not through a context graph.
void u_imu_sink_force_monotonic_create | ( | struct xrt_frame_context * | xfctx, |
struct xrt_imu_sink * | downstream, | ||
struct xrt_imu_sink ** | out_imu_sink | ||
) |
References push_imu, and U_TYPED_CALLOC.
void u_imu_sink_split_create | ( | struct xrt_frame_context * | xfctx, |
struct xrt_imu_sink * | downstream_one, | ||
struct xrt_imu_sink * | downstream_two, | ||
struct xrt_imu_sink ** | out_imu_sink | ||
) |
References push_imu, and U_TYPED_CALLOC.
void(* xrt_imu_sink::push_imu) (struct xrt_imu_sink *, struct xrt_imu_sample *sample) |
Push an IMU sample into the sink.
Referenced by u_imu_sink_force_monotonic_create(), and u_imu_sink_split_create().