IPC Client space overseer.
More...
#include "xrt/xrt_defines.h"
#include "xrt/xrt_space.h"
#include "ipc_client_generated.h"
|
static struct ipc_client_space * | ipc_client_space (struct xrt_space *xs) |
|
static struct ipc_client_space_overseer * | ipc_client_space_overseer (struct xrt_space_overseer *xso) |
|
static void | space_destroy (struct xrt_space *xs) |
|
static void | alloc_space_with_id (struct ipc_client_space_overseer *icspo, uint32_t id, struct xrt_space **out_space) |
|
static xrt_result_t | create_offset_space (struct xrt_space_overseer *xso, struct xrt_space *parent, const struct xrt_pose *offset, struct xrt_space **out_space) |
|
static xrt_result_t | create_pose_space (struct xrt_space_overseer *xso, struct xrt_device *xdev, enum xrt_input_name name, struct xrt_space **out_space) |
|
static xrt_result_t | locate_space (struct xrt_space_overseer *xso, struct xrt_space *base_space, const struct xrt_pose *base_offset, uint64_t at_timestamp_ns, struct xrt_space *space, const struct xrt_pose *offset, struct xrt_space_relation *out_relation) |
|
static xrt_result_t | locate_device (struct xrt_space_overseer *xso, struct xrt_space *base_space, const struct xrt_pose *base_offset, uint64_t at_timestamp_ns, struct xrt_device *xdev, struct xrt_space_relation *out_relation) |
|
static xrt_result_t | ref_space_inc (struct xrt_space_overseer *xso, enum xrt_reference_space_type type) |
|
static xrt_result_t | ref_space_dec (struct xrt_space_overseer *xso, enum xrt_reference_space_type type) |
|
static xrt_result_t | recenter_local_spaces (struct xrt_space_overseer *xso) |
|
static void | destroy (struct xrt_space_overseer *xso) |
|
struct xrt_space_overseer * | ipc_client_space_overseer_create (struct ipc_connection *ipc_c) |
|
IPC Client space overseer.
- Author
- Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m
◆ CREATE
Value: do { \
if (NAME##_id == UINT32_MAX) { \
break; \
} \
alloc_space_with_id(icspo, NAME##_id, &icspo->base.semantic.NAME); \
} while (false)