Skip to content

ox-runtime/ox-ipc-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ox-ipc-proxy

ox-ipc-proxy is a driver-shaped IPC proxy (i.e. driver API in, driver API out, proxied over IPC), built for ox.

It is used to decouple the application process from the XR device driver, to protect the application process from driver instability or crashes.

The ox host process uses this to communicate with ox-runtime (which runs in the XR application process).

Build

cmake -B build
cmake --build build --config Release

This builds two shared libraries:

  • ox_ipc_client: exports the low-level driver API expected by ox-runtime.
  • ox_ipc_server: given a real driver by the ox host process.

Advanced Build

If you want to build against a local ox-runtime checkout instead of the remote repository (that's fetched automatically), pass -DOX_RUNTIME_REPO=/path/to/ox-runtime when configuring cmake.

Integration

  • ox-runtime loads ox_ipc_client as its default driver when no explicit override is present (for e.g. when not using OX_USE_SIMULATOR).
  • ox host process loads ox_ipc_server, calls ox_ipc_server_set_driver() with the selected real driver.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors