|
Monado OpenXR Runtime
|
Helper functions for device role getting. More...
#include "oxr_objects.h"
Go to the source code of this file.
Data Structures | |
| struct | oxr_roles |
| Helper struct that wraps xrt_system_roles for OpenXR state tracker usage. More... | |
Macros | |
| #define | GET_STATIC_XDEV_BY_ROLE(SYS, ROLE) (get_static_role_##ROLE((SYS))) |
| #define | STATIC_WRAP(ROLE) |
| #define | MAKE_GET_DYN_ROLES_FN(ROLE) |
| #define | GET_XDEV_BY_ROLE(ROLES, ROLE) (get_role_##ROLE((ROLES))) |
| #define | MAKE_GET_DYN_ROLE_PROFILE_FN(ROLE) |
| #define | GET_PROFILE_NAME_BY_ROLE(ROLES, ROLE) (get_role_profile_##ROLE((ROLES))) |
Functions | |
| XRT_CHECK_RESULT XrResult | oxr_roles_init_on_stack (struct oxr_logger *log, struct oxr_roles *roles, struct oxr_system *sys) |
| Initialize an oxr_roles struct on the stack. More... | |
| static struct xrt_device * | get_static_role_head (struct oxr_system *sys) |
| static struct xrt_device * | get_static_role_eyes (struct oxr_system *sys) |
| static struct xrt_device * | get_static_role_face (struct oxr_system *sys) |
| static struct xrt_device * | get_static_role_body (struct oxr_system *sys) |
| static struct xrt_device * | get_static_role_hand_tracking_unobstructed_left (struct oxr_system *sys) |
| static struct xrt_device * | get_static_role_hand_tracking_unobstructed_right (struct oxr_system *sys) |
| static struct xrt_device * | get_static_role_hand_tracking_conforming_left (struct oxr_system *sys) |
| static struct xrt_device * | get_static_role_hand_tracking_conforming_right (struct oxr_system *sys) |
| static struct xrt_device * | get_role_head (const struct oxr_roles *roles) |
| static struct xrt_device * | get_role_eyes (const struct oxr_roles *roles) |
| static struct xrt_device * | get_role_face (const struct oxr_roles *roles) |
| static struct xrt_device * | get_role_body (const struct oxr_roles *roles) |
| static struct xrt_device * | get_role_hand_tracking_unobstructed_left (const struct oxr_roles *roles) |
| static struct xrt_device * | get_role_hand_tracking_unobstructed_right (const struct oxr_roles *roles) |
| static struct xrt_device * | get_role_hand_tracking_conforming_left (const struct oxr_roles *roles) |
| static struct xrt_device * | get_role_hand_tracking_conforming_right (const struct oxr_roles *roles) |
| static struct xrt_device * | get_role_left (const struct oxr_roles *roles) |
| static struct xrt_device * | get_role_right (const struct oxr_roles *roles) |
| static struct xrt_device * | get_role_gamepad (const struct oxr_roles *roles) |
| static enum xrt_device_name | get_role_profile_head (const struct oxr_roles *roles) |
| static enum xrt_device_name | get_role_profile_eyes (const struct oxr_roles *roles) |
| static enum xrt_device_name | get_role_profile_face (const struct oxr_roles *roles) |
| static enum xrt_device_name | get_role_profile_body (const struct oxr_roles *roles) |
| static enum xrt_device_name | get_role_profile_hand_tracking_unobstructed_left (const struct oxr_roles *roles) |
| static enum xrt_device_name | get_role_profile_hand_tracking_unobstructed_right (const struct oxr_roles *roles) |
| static enum xrt_device_name | get_role_profile_hand_tracking_conforming_left (const struct oxr_roles *roles) |
| static enum xrt_device_name | get_role_profile_hand_tracking_conforming_right (const struct oxr_roles *roles) |
| static enum xrt_device_name | get_role_profile_left (const struct oxr_roles *roles) |
| static enum xrt_device_name | get_role_profile_right (const struct oxr_roles *roles) |
| static enum xrt_device_name | get_role_profile_gamepad (const struct oxr_roles *roles) |
Helper functions for device role getting.
| #define MAKE_GET_DYN_ROLE_PROFILE_FN | ( | ROLE | ) |
| #define MAKE_GET_DYN_ROLES_FN | ( | ROLE | ) |
| #define STATIC_WRAP | ( | ROLE | ) |