Monado OpenXR Runtime
ipc_server Struct Reference

Main IPC object for the server. More...

#include </builds/monado/monado/src/xrt/ipc/server/ipc_server.h>

Collaboration diagram for ipc_server:

Public Member Functions

void ipc_server_handle_client_connected (struct ipc_server *vs, xrt_ipc_handle_t ipc_handle)
 Called when a client has connected, it takes the client's ipc handle. More...
 
void ipc_server_handle_failure (struct ipc_server *vs)
 Perform whatever needs to be done when the mainloop polling encounters a failure. More...
 
void ipc_server_handle_shutdown_signal (struct ipc_server *vs)
 Perform whatever needs to be done when the mainloop polling identifies that the server should be shut down. More...
 

Data Fields

struct xrt_instancexinst
 
struct u_processprocess
 Handle for the current process, e.g. pidfile on linux. More...
 
struct u_debug_gui * debug_gui
 
struct xrt_systemxsys
 The XRT interfaces level system. More...
 
struct xrt_system_devicesxsysd
 System devices. More...
 
struct xrt_space_overseerxso
 Space overseer. More...
 
struct xrt_system_compositorxsysc
 System compositor. More...
 
struct ipc_device idevs [XRT_SYSTEM_MAX_DEVICES]
 
struct xrt_tracking_originxtracks [XRT_SYSTEM_MAX_DEVICES]
 
struct ipc_shared_memoryism
 
xrt_shmem_handle_t ism_handle
 
struct ipc_server_mainloop ml
 
volatile bool running
 
bool exit_on_disconnect
 
enum u_logging_level log_level
 
struct ipc_thread threads [IPC_MAX_CLIENTS]
 
volatile uint32_t current_slot_index
 
uint32_t id_generator
 Generator for IDs. More...
 
struct {
   int   active_client_index
 
   int   last_active_client_index
 
   struct os_mutex   lock
 
global_state
 

Detailed Description

Main IPC object for the server.

Field Documentation

◆ id_generator

uint32_t ipc_server::id_generator

Generator for IDs.

◆ process

struct u_process* ipc_server::process

Handle for the current process, e.g. pidfile on linux.

◆ xso

struct xrt_space_overseer* ipc_server::xso

Space overseer.

◆ xsys

struct xrt_system* ipc_server::xsys

The XRT interfaces level system.

◆ xsysc

struct xrt_system_compositor* ipc_server::xsysc

System compositor.

◆ xsysd

struct xrt_system_devices* ipc_server::xsysd

System devices.


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