Monado OpenXR Runtime
oxr_pretty_print.c File Reference

Pretty printing functions. More...

#include "oxr_objects.h"
#include "oxr_logger.h"
#include "oxr_input_transform.h"
#include "oxr_pretty_print.h"
Include dependency graph for oxr_pretty_print.c:

Functions

static void print_vec3_field (struct oxr_sink_logger *slog, const struct xrt_vec3 *v, const char *name, const char *field)
 
static void print_pose_field (struct oxr_sink_logger *slog, const struct xrt_pose *pose, const char *name, const char *field)
 
void oxr_pp_fov_indented_as_object (struct oxr_sink_logger *slog, const struct xrt_fov *fov, const char *name)
 Prints a fov to a oxr_sink_logger, on the form of \n\t${name}->fov .... More...
 
void oxr_pp_pose_indented_as_object (struct oxr_sink_logger *slog, const struct xrt_pose *pose, const char *name)
 Prints a pose to a oxr_sink_logger, on the form of \n\t${name}->pose .... More...
 
void oxr_pp_space_indented (struct oxr_sink_logger *slog, const struct oxr_space *spc, const char *name)
 Prints a space to a oxr_sink_logger, on the form of \n\t${name}-><field> .... More...
 
void oxr_pp_relation_indented (struct oxr_sink_logger *slog, const struct xrt_space_relation *relation, const char *name)
 Prints a space to a oxr_sink_logger, on the form of \n\t${name}-><field> .... More...
 

Detailed Description

Pretty printing functions.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m