Monado OpenXR Runtime
Data Fields
xrt_prober Struct Reference

The main prober that probes and manages found but not opened HMD devices that are connected to the system. More...

#include <xrt/xrt_prober.h>

Collaboration diagram for xrt_prober:
Collaboration graph
[legend]

Data Fields

struct xrt_tracking_factorytracking
 Factory for producing tracked objects. More...
 
int(* probe )(struct xrt_prober *xp)
 
int(* dump )(struct xrt_prober *xp)
 
int(* select )(struct xrt_prober *xp, struct xrt_device **xdevs, size_t num_xdevs)
 
int(* open_hid_interface )(struct xrt_prober *xp, struct xrt_prober_device *xpdev, int interface, struct os_hid_device **out_hid_dev)
 
int(* open_video_device )(struct xrt_prober *xp, struct xrt_prober_device *xpdev, struct xrt_frame_context *xfctx, struct xrt_fs **out_xfs)
 
int(* list_video_devices )(struct xrt_prober *xp, xrt_prober_list_video_cb cb, void *ptr)
 
int(* get_string_descriptor )(struct xrt_prober *xp, struct xrt_prober_device *xpdev, enum xrt_prober_string which_string, unsigned char *buffer, int length)
 
bool(* can_open )(struct xrt_prober *xp, struct xrt_prober_device *xpdev)
 
void(* destroy )(struct xrt_prober **xp_ptr)
 

Detailed Description

The main prober that probes and manages found but not opened HMD devices that are connected to the system.

Field Documentation

◆ can_open

bool(* xrt_prober::can_open) (struct xrt_prober *xp, struct xrt_prober_device *xpdev)

◆ destroy

void(* xrt_prober::destroy) (struct xrt_prober **xp_ptr)

◆ dump

int(* xrt_prober::dump) (struct xrt_prober *xp)

◆ get_string_descriptor

int(* xrt_prober::get_string_descriptor) (struct xrt_prober *xp, struct xrt_prober_device *xpdev, enum xrt_prober_string which_string, unsigned char *buffer, int length)

◆ list_video_devices

int(* xrt_prober::list_video_devices) (struct xrt_prober *xp, xrt_prober_list_video_cb cb, void *ptr)

◆ open_hid_interface

int(* xrt_prober::open_hid_interface) (struct xrt_prober *xp, struct xrt_prober_device *xpdev, int interface, struct os_hid_device **out_hid_dev)

◆ open_video_device

int(* xrt_prober::open_video_device) (struct xrt_prober *xp, struct xrt_prober_device *xpdev, struct xrt_frame_context *xfctx, struct xrt_fs **out_xfs)

◆ probe

int(* xrt_prober::probe) (struct xrt_prober *xp)

◆ select

int(* xrt_prober::select) (struct xrt_prober *xp, struct xrt_device **xdevs, size_t num_xdevs)

◆ tracking

struct xrt_tracking_factory* xrt_prober::tracking

Factory for producing tracked objects.

Referenced by p_tracking_teardown().


The documentation for this struct was generated from the following file: