Monado OpenXR Runtime
Loading...
Searching...
No Matches
ipc_server_handler_app_policy.c File Reference

IPC server handlers for app policy objects. More...

#include "xrt/xrt_app_policy.h"
#include "shared/ipc_protocol.h"
#include "server/ipc_server.h"
#include "server/ipc_server_objects.h"
#include "ipc_server_generated.h"
Include dependency graph for ipc_server_handler_app_policy.c:

Macros

#define GET_XAINST_OR_RETURN(ICS, ID, XAINST)
 

Functions

xrt_result_t ipc_handle_app_instance_create (volatile struct ipc_client_state *ics, uint32_t *out_id)
 
xrt_result_t ipc_handle_app_instance_destroy (volatile struct ipc_client_state *ics, uint32_t id)
 
xrt_result_t ipc_handle_app_instance_create_app_system (volatile struct ipc_client_state *ics, uint32_t xainst_id, uint32_t *out_xasys_id)
 
xrt_result_t ipc_handle_app_system_destroy (volatile struct ipc_client_state *ics, uint32_t xasys_id)
 

Detailed Description

IPC server handlers for app policy objects.

Author
Beyley Cardellio ep1cm.nosp@m.1n10.nosp@m.n123@.nosp@m.gmai.nosp@m.l.com

Macro Definition Documentation

◆ GET_XAINST_OR_RETURN

#define GET_XAINST_OR_RETURN (   ICS,
  ID,
  XAINST 
)
Value:
do { \
xrt_result_t xret = ipc_server_objects_get_xainst_and_validate((ICS), ID, &(XAINST)); \
IPC_CHK_AND_RET((ICS)->server, xret, "ipc_server_objects_get_xainst_and_validate"); \
} while (0)
enum xrt_result xrt_result_t
Result type used across Monado.