Monado OpenXR Runtime
Loading...
Searching...
No Matches
oxr_bindings Namespace Reference

Functions

 get_verify_switch_body (dict_of_lists, profile, profile_name, tab_char)
 
 get_verify_func_switch (dict_of_lists, profile, profile_name, availability)
 
 get_verify_func_body (profile, dict_name, availability)
 
 get_verify_func (profile, dict_name, suffix)
 
 get_verify_functions (profile)
 
 generate_profile_template_entry (profile)
 
 generate_bindings_c (output, b)
 
 generate_bindings_h (output, b)
 
 main ()
 

Detailed Description

Generate OpenXR binding code using the auxiliary bindings scripts.

Function Documentation

◆ generate_bindings_c()

oxr_bindings.generate_bindings_c (   output,
  b 
)
Generate the file to verify subpaths on a interaction profile.

References generate_profile_template_entry(), and get_verify_functions().

Referenced by main().

◆ generate_bindings_h()

oxr_bindings.generate_bindings_h (   output,
  b 
)
Generate header for the verify subpaths functions.

Referenced by main().

◆ generate_profile_template_entry()

oxr_bindings.generate_profile_template_entry (   profile)
Generate a single profile_template entry. Returns a string.

References bindings.find_component_in_list_by_name().

Referenced by generate_bindings_c().

◆ get_verify_func()

oxr_bindings.get_verify_func (   profile,
  dict_name,
  suffix 
)
returns a list of lines

References get_verify_func_body().

Referenced by get_verify_functions().

◆ get_verify_func_body()

oxr_bindings.get_verify_func_body (   profile,
  dict_name,
  availability 
)
returns a list of lines

References get_verify_func_body(), and get_verify_func_switch().

Referenced by get_verify_func(), and get_verify_func_body().

◆ get_verify_func_switch()

oxr_bindings.get_verify_func_switch (   dict_of_lists,
  profile,
  profile_name,
  availability 
)
Generate function to check if a string is in a set of strings.
Input is a dict where keys are length and
the values are lists of strings of that length. And a suffix if any.
Returns a list of lines.

References get_verify_switch_body(), and bindings.is_valid_version().

Referenced by get_verify_func_body().

◆ get_verify_functions()

oxr_bindings.get_verify_functions (   profile)
returns a list of lines

References get_verify_func(), and bindings.is_valid_version().

Referenced by generate_bindings_c().

◆ get_verify_switch_body()

oxr_bindings.get_verify_switch_body (   dict_of_lists,
  profile,
  profile_name,
  tab_char 
)
Generate function to check if a string is in a set of strings.
Input is a dict where keys are length and
the values are lists of strings of that length. And a suffix if any.
Returns a list of lines.

Referenced by get_verify_func_switch().

◆ main()

oxr_bindings.main ( )
Handle command line and generate file(s).

References generate_bindings_c(), generate_bindings_h(), and bindings.main().