#include "DLLInfo.h"
#include "Base/Headers/String.h"
#include "Base/Headers/Exception.h"
#include "Base/Headers/Translator.h"
#include <openxr/openxr.h>
#include <openxr/openxr_reflection.h>
Go to the source code of this file.
|
XrResult | CheckXrResult (XrResult res, const char *originator=nullptr, const char *sourceLocation=nullptr) |
|
void | Throw (String failureMessage, const char *originator=nullptr, const char *sourceLocation=nullptr) |
|
void | ThrowXrResult (XrResult res, const char *originator=nullptr, const char *sourceLocation=nullptr) |
|
const char * | to_string (XrEnvironmentBlendMode e) |
|
const char * | to_string (XrFormFactor e) |
|
const char * | to_string (XrReferenceSpaceType e) |
|
const char * | to_string (XrResult e) |
|
const char * | to_string (XrSessionState e) |
|
const char * | to_string (XrViewConfigurationType e) |
|
◆ CHECK
Value: { \
if (!(exp)) { \
} \
}
#define FILE_AND_LINE
Definition XRErrorHandling.h:35
◆ CHECK_MSG
#define CHECK_MSG |
( |
| exp, |
|
|
| msg ) |
Value: { \
if (!(exp)) { \
} \
}
◆ CHECK_XRCMD
#define CHECK_XRCMD |
( |
| cmd | ) |
|
◆ CHECK_XRRESULT
#define CHECK_XRRESULT |
( |
| res, |
|
|
| cmdStr ) |
◆ CHK_STRINGIFY
#define CHK_STRINGIFY |
( |
| x | ) |
|
◆ ENUM_CASE_STR
#define ENUM_CASE_STR |
( |
| name, |
|
|
| val ) |
◆ FILE_AND_LINE
#define FILE_AND_LINE __FILE__ ":" TOSTRING(__LINE__) |
◆ MAKE_TO_STRING_FUNC
#define MAKE_TO_STRING_FUNC |
( |
| enumType | ) |
|
Value:
switch (e) { \
default: return "Unknown " #enumType; \
} \
}
const char * to_string(XrReferenceSpaceType e)
Definition XRErrorHandling.h:26
#define ENUM_CASE_STR(name, val)
Definition XRErrorHandling.h:16
◆ THROW
◆ THROW_XR
#define THROW_XR |
( |
| xr, |
|
|
| cmd ) |
◆ TOSTRING
Value:
#define CHK_STRINGIFY(x)
Definition XRErrorHandling.h:33
◆ to_string() [1/6]
const char * to_string |
( |
XrEnvironmentBlendMode | e | ) |
|
|
inline |
◆ to_string() [2/6]
const char * to_string |
( |
XrFormFactor | e | ) |
|
|
inline |
◆ to_string() [3/6]
const char * to_string |
( |
XrReferenceSpaceType | e | ) |
|
|
inline |
◆ to_string() [4/6]
const char * to_string |
( |
XrResult | e | ) |
|
|
inline |
◆ to_string() [5/6]
const char * to_string |
( |
XrSessionState | e | ) |
|
|
inline |
◆ to_string() [6/6]
const char * to_string |
( |
XrViewConfigurationType | e | ) |
|
|
inline |