|
Monado OpenXR Runtime
|

Data Fields | |
| void(* | init_failed )(xrt_result_t xret, void *data) |
| The IPC server failed to init. | |
| void(* | mainloop_entering )(struct ipc_server *s, struct xrt_instance *xinst, void *data) |
| The service has completed init and is entering its mainloop. | |
| 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. | |
| void(* | client_connected )(struct ipc_server *s, uint32_t client_id, void *data) |
| A new client has connected to the IPC server. | |
| void(* | client_disconnected )(struct ipc_server *s, uint32_t client_id, void *data) |
| A client has disconnected from the IPC server. | |
| void(* ipc_server_callbacks::client_connected) (struct ipc_server *s, uint32_t client_id, void *data) |
A new client has connected to the IPC server.
param s The IPC server. param client_id The ID of the newly connected client. param data User data given passed into the main function.
Referenced by ipc_server_main().
| void(* ipc_server_callbacks::client_disconnected) (struct ipc_server *s, uint32_t client_id, void *data) |
A client has disconnected from the IPC server.
param s The IPC server. param client_id The ID of the newly connected client. param data User data given passed into the main function.
Referenced by ipc_server_main().
| void(* ipc_server_callbacks::init_failed) (xrt_result_t xret, void *data) |
The IPC server failed to init.
| [in] | xret | The error code generated during init. |
| [in] | data | User data given passed into the main function. |
Referenced by ipc_server_main(), and ipc_server_main_common().
| 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.
| [in] | s | The IPC server. |
| [in] | xinst | Instance that was created by the IPC server. |
| [in] | data | User data given passed into the main function. |
Referenced by ipc_server_main(), and ipc_server_main_common().
| 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.
| [in] | s | The IPC server. |
| [in] | xinst | Instance that was created by the IPC server. |
| [in] | data | User data given passed into the main function. |
Referenced by ipc_server_main(), and ipc_server_main_common().