Monado OpenXR Runtime
ipc_server_callbacks Struct Reference
Collaboration diagram for ipc_server_callbacks:

Data Fields

void(* init_failed )(xrt_result_t xret, void *data)
 The IPC server failed to init. More...
 
void(* mainloop_entering )(struct ipc_server *s, struct xrt_instance *xinst, void *data)
 The service has completed init and is entering its mainloop. More...
 
void(* mainloop_leaving )(struct ipc_server *s, struct xrt_instance *xinst, void *data)
 The service is leaving the mainloop, after this callback returns the IPC server will destroy all resources created. More...
 

Field Documentation

◆ init_failed

void(* ipc_server_callbacks::init_failed) (xrt_result_t xret, void *data)

The IPC server failed to init.

Parameters
[in]xretThe error code generated during init.
[in]dataUser data given passed into the main function.

Referenced by ipc_server_main().

◆ mainloop_entering

void(* ipc_server_callbacks::mainloop_entering) (struct ipc_server *s, struct xrt_instance *xinst, void *data)

The service has completed init and is entering its mainloop.

Parameters
[in]sThe IPC server.
[in]xinstInstance that was created by the IPC server.
[in]dataUser data given passed into the main function.

◆ mainloop_leaving

void(* ipc_server_callbacks::mainloop_leaving) (struct ipc_server *s, struct xrt_instance *xinst, void *data)

The service is leaving the mainloop, after this callback returns the IPC server will destroy all resources created.

Parameters
[in]sThe IPC server.
[in]xinstInstance that was created by the IPC server.
[in]dataUser data given passed into the main function.

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