Monado OpenXR Runtime
ipcproto.common.Call Class Reference

Public Member Functions

def dump (self)
 
def write_send_decl (self, f)
 
def write_receive_decl (self, f)
 
def write_call_decl (self, f)
 
def write_handler_decl (self, f)
 
def needs_msg_struct (self)
 
def __init__ (self, name, data)
 

Data Fields

 id
 
 name
 
 in_args
 
 out_args
 
 in_handles
 
 out_handles
 
 varlen
 

Detailed Description

A single IPC call.

Constructor & Destructor Documentation

◆ __init__()

def ipcproto.common.Call.__init__ (   self,
  name,
  data 
)
Construct a call from call name and call data dictionary.

References comp_frame.id, direct_wayland_lease_connector.id, mock_compositor_swapchain.id, null_comp_frame.id, psmv_set_led.id, psmv_calibration_part.id, psmv_calibration_zcm1.id, psmv_calibration_zcm2.id, rift_s_controller_imu_block_t.id, rift_s_controller_maskbyte_block_t.id, rift_s_controller_triggrip_block_t.id, rift_s_controller_joystick_block_t.id, rift_s_controller_capsense_block_t.id, rift_s_controller_report_t.id, rift_s_hmd_report_t.id, rift_s_camera_report_t.id, v4l2_control_state.id, lighthouse_pulse.id, lighthouse_watchman.id, vive_controller_button_report.id, vive_imu_range_modes_report.id, vive_mainboard_status_report.id, vive_headset_power_report.id, vive_headset_mainboard_device_info_report.id, vive_firmware_version_report.id, vive_config_start_report.id, vive_config_read_report.id, vive_imu_report.id, vive_controller_lighthouse_pulse.id, vive_controller_lighthouse_pulse_report.id, vive_controller_report1.id, vive_controller_report2.id, vive_headset_lighthouse_v2_pulse_report.id, vive_headset_lighthouse_pulse.id, vive_headset_lighthouse_pulse_report.id, vive_controller_haptic_pulse_report.id, vive_controller_poweroff_report.id, hololens_sensors_packet.id, ipc_client_swapchain.id, ipc_client_compositor_semaphore.id, ipc_client_space.id, ipc_app_state.id, ipcproto.common.Call.id, gui_ogl_texture.id, oxr_path.id, prober_device.id, sdl_comp_frame.id, ipcproto.common.Call.in_args, ipcproto.common.Call.in_handles, bindings.Profile.name, u_live_stats_ns.name, xrt::auxiliary::util::Obj.name, u_var_info.name, u_var_root_info.name, thread.name, comp_target.name, comp_target_factory.name, comp_window_direct_nvidia_display.name, comp_window_direct_randr_display.name, direct_wayland_lease_connector.name, comp_window_xcb_display.name, InputClass.name, v4l2_control_state.name, lighthouse_watchman.name, wmr_config_header.name, xrt_layer_data.name, xrt_binding_profile.name, xrt_output.name, xrt_input.name, xrt_device.name, xrt_system_properties.name, xrt_tracking_origin.name, camera_window.name, xrt_fs.name, xrt_builder.name, xrt_prober_entry.name, xrt_auto_prober.name, ipc_shared_tracking_origin.name, ipc_shared_binding_profile.name, ipc_shared_device.name, ipcproto.common.Arg.name, ipcproto.common.Call.name, gui_ogl_texture.name, oxr_instance.name, oxr_instance::.name, oxr_action_output.name, oxr_space.name, oxr_action_ref.name, oxr_action_set_ref.name, monado.Device.name, monado.Client.name, xrt::tracking::hand::mercury::model_input_wrap.name, ipcproto.common.Call.out_args, ipcproto.common.Call.out_handles, and ipcproto.common.Call.varlen.

Member Function Documentation

◆ dump()

def ipcproto.common.Call.dump (   self)
Dump human-readable output to standard out.

References ipcproto.common.Call.in_args, bindings.Profile.name, u_live_stats_ns.name, xrt::auxiliary::util::Obj.name, u_var_info.name, u_var_root_info.name, thread.name, comp_target.name, comp_target_factory.name, comp_window_direct_nvidia_display.name, comp_window_direct_randr_display.name, direct_wayland_lease_connector.name, comp_window_xcb_display.name, InputClass.name, v4l2_control_state.name, lighthouse_watchman.name, wmr_config_header.name, xrt_layer_data.name, xrt_binding_profile.name, xrt_input.name, xrt_output.name, xrt_device.name, xrt_builder.name, xrt_prober_entry.name, xrt_system_properties.name, ipc_shared_binding_profile.name, ipc_shared_device.name, ipcproto.common.Arg.name, ipcproto.common.Call.name, gui_ogl_texture.name, camera_window.name, xrt_fs.name, xrt_auto_prober.name, xrt_tracking_origin.name, ipc_shared_tracking_origin.name, oxr_instance::.name, oxr_instance.name, oxr_action_output.name, oxr_space.name, oxr_action_ref.name, oxr_action_set_ref.name, monado.Device.name, monado.Client.name, xrt::tracking::hand::mercury::model_input_wrap.name, and ipcproto.common.Call.out_args.

◆ needs_msg_struct()

def ipcproto.common.Call.needs_msg_struct (   self)
Decide whether this call needs a msg struct.

References ipcproto.common.Call.in_args, and ipcproto.common.Call.in_handles.

◆ write_call_decl()

def ipcproto.common.Call.write_call_decl (   self,
  f 
)
Write declaration of ipc_call_CALLNAME.

References ipcproto.common.Call.in_args, ipcproto.common.Call.in_handles, bindings.Profile.name, u_live_stats_ns.name, xrt::auxiliary::util::Obj.name, u_var_info.name, u_var_root_info.name, comp_target.name, comp_target_factory.name, comp_window_direct_nvidia_display.name, comp_window_direct_randr_display.name, direct_wayland_lease_connector.name, comp_window_xcb_display.name, InputClass.name, v4l2_control_state.name, lighthouse_watchman.name, wmr_config_header.name, xrt_layer_data.name, xrt_binding_profile.name, xrt_input.name, xrt_output.name, xrt_device.name, xrt_system_properties.name, xrt_tracking_origin.name, camera_window.name, xrt_fs.name, thread.name, xrt_builder.name, xrt_prober_entry.name, xrt_auto_prober.name, ipc_shared_binding_profile.name, ipc_shared_tracking_origin.name, ipc_shared_device.name, ipcproto.common.Arg.name, ipcproto.common.Call.name, gui_ogl_texture.name, oxr_instance::.name, oxr_instance.name, oxr_action_output.name, oxr_space.name, oxr_action_ref.name, oxr_action_set_ref.name, monado.Device.name, monado.Client.name, xrt::tracking::hand::mercury::model_input_wrap.name, ipcproto.common.Call.out_args, and ipcproto.common.Call.out_handles.

◆ write_handler_decl()

def ipcproto.common.Call.write_handler_decl (   self,
  f 
)
Write declaration of ipc_handle_CALLNAME.

References ipcproto.common.Call.in_args, ipcproto.common.Call.in_handles, bindings.Profile.name, u_live_stats_ns.name, xrt::auxiliary::util::Obj.name, u_var_info.name, u_var_root_info.name, thread.name, comp_target.name, comp_target_factory.name, comp_window_direct_nvidia_display.name, comp_window_direct_randr_display.name, direct_wayland_lease_connector.name, comp_window_xcb_display.name, InputClass.name, v4l2_control_state.name, lighthouse_watchman.name, wmr_config_header.name, xrt_layer_data.name, xrt_binding_profile.name, xrt_output.name, xrt_input.name, xrt_device.name, xrt_fs.name, xrt_builder.name, xrt_prober_entry.name, xrt_auto_prober.name, xrt_system_properties.name, xrt_tracking_origin.name, ipc_shared_binding_profile.name, ipc_shared_device.name, ipcproto.common.Arg.name, ipcproto.common.Call.name, gui_ogl_texture.name, camera_window.name, ipc_shared_tracking_origin.name, oxr_instance.name, oxr_instance::.name, oxr_action_output.name, oxr_space.name, oxr_action_ref.name, oxr_action_set_ref.name, monado.Device.name, monado.Client.name, xrt::tracking::hand::mercury::model_input_wrap.name, ipcproto.common.Call.out_args, ipcproto.common.Call.out_handles, and ipcproto.common.Call.varlen.

◆ write_receive_decl()

def ipcproto.common.Call.write_receive_decl (   self,
  f 
)
Write declaration of ipc_receive_CALLNAME_locked.

References bindings.Profile.name, u_live_stats_ns.name, xrt::auxiliary::util::Obj.name, wmr_config_header.name, u_var_info.name, u_var_root_info.name, comp_target.name, comp_target_factory.name, comp_window_direct_nvidia_display.name, comp_window_direct_randr_display.name, direct_wayland_lease_connector.name, comp_window_xcb_display.name, InputClass.name, v4l2_control_state.name, lighthouse_watchman.name, xrt_layer_data.name, xrt_output.name, xrt_input.name, xrt_binding_profile.name, xrt_device.name, xrt_builder.name, xrt_prober_entry.name, xrt_auto_prober.name, xrt_system_properties.name, xrt_tracking_origin.name, camera_window.name, xrt_fs.name, thread.name, ipc_shared_binding_profile.name, ipc_shared_device.name, ipcproto.common.Arg.name, ipcproto.common.Call.name, gui_ogl_texture.name, oxr_instance::.name, oxr_instance.name, oxr_action_output.name, oxr_space.name, oxr_action_ref.name, oxr_action_set_ref.name, ipc_shared_tracking_origin.name, monado.Device.name, monado.Client.name, xrt::tracking::hand::mercury::model_input_wrap.name, and ipcproto.common.Call.out_args.

◆ write_send_decl()

def ipcproto.common.Call.write_send_decl (   self,
  f 
)
Write declaration of ipc_send_CALLNAME_locked.

References ipcproto.common.Call.in_args, bindings.Profile.name, u_live_stats_ns.name, xrt::auxiliary::util::Obj.name, u_var_root_info.name, comp_target.name, comp_target_factory.name, comp_window_direct_nvidia_display.name, comp_window_direct_randr_display.name, direct_wayland_lease_connector.name, comp_window_xcb_display.name, InputClass.name, v4l2_control_state.name, lighthouse_watchman.name, wmr_config_header.name, u_var_info.name, xrt_layer_data.name, xrt_binding_profile.name, xrt_input.name, xrt_output.name, xrt_device.name, xrt_builder.name, xrt_prober_entry.name, xrt_auto_prober.name, xrt_system_properties.name, xrt_tracking_origin.name, camera_window.name, xrt_fs.name, thread.name, ipc_shared_binding_profile.name, ipc_shared_tracking_origin.name, ipc_shared_device.name, ipcproto.common.Arg.name, ipcproto.common.Call.name, gui_ogl_texture.name, oxr_instance::.name, oxr_instance.name, oxr_action_output.name, oxr_space.name, oxr_action_ref.name, oxr_action_set_ref.name, monado.Device.name, monado.Client.name, and xrt::tracking::hand::mercury::model_input_wrap.name.


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