Monado OpenXR Runtime
|
Provides a utility macro for dealing with subaction paths. More...
Go to the source code of this file.
Macros | |
#define | OXR_FOR_EACH_VALID_SUBACTION_PATH(_) |
Expansion macro (x-macro) that calls the macro you pass with the shorthand name of each valid subaction path. More... | |
#define | OXR_FOR_EACH_SUBACTION_PATH(_) |
Expansion macro (x-macro) that calls the macro you pass with the shorthand name of each subaction path, including just bare user . More... | |
#define | OXR_FOR_EACH_VALID_SUBACTION_PATH_DETAILED(_) |
Expansion macro (x-macro) that calls the macro you pass for each valid subaction path, with the shorthand name of each subaction path, the same name capitalized, and the corresponding path string. More... | |
#define | OXR_FOR_EACH_SUBACTION_PATH_DETAILED(_) |
Expansion macro (x-macro) that calls the macro you pass for each subaction path (including the bare /user ), with the shorthand name of each subaction path, the same name capitalized, and the corresponding path string. More... | |
Provides a utility macro for dealing with subaction paths.
#define OXR_FOR_EACH_SUBACTION_PATH | ( | _ | ) |
Expansion macro (x-macro) that calls the macro you pass with the shorthand name of each subaction path, including just bare user
.
Use to generate code that checks each subaction path in sequence, etc.
#define OXR_FOR_EACH_SUBACTION_PATH_DETAILED | ( | _ | ) |
Expansion macro (x-macro) that calls the macro you pass for each subaction path (including the bare /user
), with the shorthand name of each subaction path, the same name capitalized, and the corresponding path string.
Use to generate code that checks each subaction path in sequence, etc.
Most of the time you can just use OXR_FOR_EACH_VALID_SUBACTION_PATH() or OXR_FOR_EACH_SUBACTION_PATH()
#define OXR_FOR_EACH_VALID_SUBACTION_PATH | ( | _ | ) |
Expansion macro (x-macro) that calls the macro you pass with the shorthand name of each valid subaction path.
Use to generate code that checks each subaction path in sequence, etc.
If you also want the bogus subaction path of just plain /user
, then see OXR_FOR_EACH_SUBACTION_PATH()
#define OXR_FOR_EACH_VALID_SUBACTION_PATH_DETAILED | ( | _ | ) |
Expansion macro (x-macro) that calls the macro you pass for each valid subaction path, with the shorthand name of each subaction path, the same name capitalized, and the corresponding path string.
If you also want the bogus subaction path of just plain /user
, then see OXR_FOR_EACH_SUBACTION_PATH_DETAILED()
Use to generate code that checks each subaction path in sequence, etc.
Most of the time you can just use OXR_FOR_EACH_VALID_SUBACTION_PATH() or OXR_FOR_EACH_SUBACTION_PATH()