|
Monado OpenXR Runtime
|
An interface to be exposed by a device driver that should probe for the existence of its own device on the system, rather than using shared probers with vendor/product IDs, etc. More...
#include <xrt/xrt_prober.h>


Data Fields | |
| const char * | name |
| int(* | lelo_dallas_autoprobe )(struct xrt_auto_prober *xap, cJSON *attached_data, bool no_hmds, struct xrt_prober *xp, struct xrt_device **out_xdevs) |
| Do the internal probing that the driver needs to do to find devices. More... | |
| void(* | destroy )(struct xrt_auto_prober *xap) |
| Destroy this auto-prober. More... | |
Related Functions | |
(Note that these are not member functions.) | |
| struct xrt_auto_prober * | psvr_create_auto_prober (void) |
| Create a probe for PSVR devices. More... | |
An interface to be exposed by a device driver that should probe for the existence of its own device on the system, rather than using shared probers with vendor/product IDs, etc.
| void(* xrt_auto_prober::destroy) (struct xrt_auto_prober *xap) |
Destroy this auto-prober.
| xap | Self pointer |
Referenced by android_create_auto_prober(), arduino_create_auto_prober(), daydream_create_auto_prober(), euroc_create_auto_prober(), illixr_create_auto_prober(), oh_create_auto_prober(), psvr_create_auto_prober(), rs_create_auto_prober(), sample_create_auto_prober(), and simulated_create_auto_prober().
| int(* xrt_auto_prober::lelo_dallas_autoprobe) (struct xrt_auto_prober *xap, cJSON *attached_data, bool no_hmds, struct xrt_prober *xp, struct xrt_device **out_xdevs) |
Do the internal probing that the driver needs to do to find devices.
| xap | Self pointer | |
| attached_data | JSON "attached data" for this device from config, if any. | |
| [in] | no_hmds | If true, do not probe for HMDs, only other devices. |
| [in] | xp | Prober: provided to use the tracking factory, among other reasons. |
| [out] | out_xdevs | Array of XRT_MAX_DEVICES_PER_PROBE NULL xrt_device pointers. First elements will be populated with new devices. |
out_xdevs, 0 if none.Referenced by android_create_auto_prober(), arduino_create_auto_prober(), daydream_create_auto_prober(), oh_create_auto_prober(), psvr_create_auto_prober(), rs_create_auto_prober(), sample_create_auto_prober(), and simulated_create_auto_prober().