Monado OpenXR Runtime
Loading...
Searching...
No Matches
xrt_io_cache_device Struct Reference

Per-device layout entry describing where a device's inputs and outputs sit in the flattened cache arrays. More...

#include <xrt/xrt_io_cache.h>

Collaboration diagram for xrt_io_cache_device:

Public Member Functions

 XRT_ALIGNAS (8) char str[XRT_DEVICE_NAME_LEN]
 Human-readable device name string.
 

Data Fields

struct xrt_device_id id
 Unique identifier for this device.
 
enum xrt_device_name name
 Device name enum.
 
uint32_t first_input
 Index of this device's first input in the flattened input array.
 
uint32_t input_count
 Number of inputs contributed by this device.
 
uint32_t first_output
 Index of this device's first output in the flattened output array.
 
uint32_t output_count
 Number of outputs contributed by this device.
 

Detailed Description

Per-device layout entry describing where a device's inputs and outputs sit in the flattened cache arrays.

Member Function Documentation

◆ XRT_ALIGNAS()

xrt_io_cache_device::XRT_ALIGNAS ( 8  )

Human-readable device name string.

Field Documentation

◆ first_input

uint32_t xrt_io_cache_device::first_input

Index of this device's first input in the flattened input array.

Referenced by oxr_io_cache::oxr_io_cache_device_inputs().

◆ first_output

uint32_t xrt_io_cache_device::first_output

Index of this device's first output in the flattened output array.

Referenced by oxr_io_cache::oxr_io_cache_device_outputs().

◆ id

struct xrt_device_id xrt_io_cache_device::id

Unique identifier for this device.

Referenced by ipcproto.common.Call::__init__(), and oxr_io_cache::oxr_io_cache_find_device().

◆ input_count

uint32_t xrt_io_cache_device::input_count

Number of inputs contributed by this device.

Referenced by oxr_io_cache::oxr_io_cache_find_input(), and xrt_io_cache::xrt_io_cache_read().

◆ name

◆ output_count

uint32_t xrt_io_cache_device::output_count

Number of outputs contributed by this device.

Referenced by oxr_io_cache::oxr_io_cache_has_output(), and xrt_io_cache::xrt_io_cache_read().


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