Monado OpenXR Runtime
r_interface.h File Reference

Interface to remote driver. More...

#include "xrt/xrt_config_os.h"
#include "xrt/xrt_defines.h"
#include "util/u_logging.h"
Include dependency graph for r_interface.h:

Go to the source code of this file.

Data Structures

struct  r_remote_controller_data
 Data per controller. More...
 
struct  r_head_data
 
struct  r_remote_data
 Remote data sent from the debugger to the hub. More...
 
struct  r_remote_connection
 Shared connection. More...
 

Macros

#define R_HEADER_VALUE   (*(uint64_t *)"mndrmt3\0")
 Header value to be set in the packet. More...
 

Typedefs

typedef int r_socket_t
 The type for a socket descriptor. More...
 

Functions

xrt_result_t r_create_devices (uint16_t port, uint32_t view_count, struct xrt_session_event_sink *broadcast, struct xrt_system_devices **out_xsysd, struct xrt_space_overseer **out_xso)
 Creates the remote system devices. More...
 
r_socket_t r_remote_connection_init (struct r_remote_connection *rc, const char *addr, uint16_t port)
 Initializes and connects the connection. More...
 
int r_remote_connection_read_one (struct r_remote_connection *rc, struct r_remote_data *data)
 
int r_remote_connection_write_one (struct r_remote_connection *rc, const struct r_remote_data *data)
 

Detailed Description

Interface to remote driver.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m

Typedef Documentation

◆ r_socket_t

typedef int r_socket_t

The type for a socket descriptor.

On non-Windows, this is a file descriptor.