#include "dx_platform.h"
#include <stdexcept>
#include <iomanip>
#include <chrono>
#include <mutex>
#include <sstream>
|
namespace | dx |
| dynax driver framework user mode interface namespace
|
|
namespace | dx::thread |
| thread
|
|
namespace | dx::trace |
|
|
#define | __dx_catchall(inject, ...) |
|
#define | dx_catchall(inject, ...) |
|
#define | dx_catchall_handler(object, inject, ...) |
|
#define | dx_catchall_handler_or_rethrow(object, test, inject, ...) |
|
#define | dx_catchall_rethrow(inject, ...) |
|
#define | dx_pass(test, ...) |
|
#define | dx_pass_strict(test, ...) |
|
◆ __dx_catchall
#define __dx_catchall |
( |
| inject, |
|
|
| ... ) |
Value:
try{\
&__dx_exception,\
__FILE__, __LINE__,\
##__VA_ARGS__);\
inject\
}catch(...){}\
}catch(const std::exception& __std_exception){\
try{\
__std_exception.what(),\
__FILE__, __LINE__,\
##__VA_ARGS__);\
inject\
}catch(...){}\
}catch(...){\
try{\
__FILE__, __LINE__,\
##__VA_ARGS__);\
inject\
}catch(...){}\
}
Definition dx_exception.h:141
os_result error
Definition dx_exception.h:144
@ unknown
Definition macOS/dx_platform.h:177
◆ dx_catchall
#define dx_catchall |
( |
| inject, |
|
|
| ... ) |
Value:
std::endl;, ##__VA_ARGS__)
#define __dx_catchall(inject,...)
Definition dx_exception.h:58
◆ dx_catchall_handler
#define dx_catchall_handler |
( |
| object, |
|
|
| inject, |
|
|
| ... ) |
◆ dx_catchall_handler_or_rethrow
#define dx_catchall_handler_or_rethrow |
( |
| object, |
|
|
| test, |
|
|
| inject, |
|
|
| ... ) |
Value:
##__VA_ARGS__)\
#define dx_catchall_rethrow(inject,...)
Definition dx_exception.h:97
◆ dx_catchall_rethrow
#define dx_catchall_rethrow |
( |
| inject, |
|
|
| ... ) |
Value:
&__dx_exception,\
__FILE__, __LINE__,\
##__VA_ARGS__);\
inject\
throw exception;\
}catch(const std::exception& __std_exception){\
__std_exception.what(),\
__FILE__, __LINE__,\
##__VA_ARGS__);\
inject\
throw exception;\
}catch(...){\
__FILE__, __LINE__,\
##__VA_ARGS__);\
inject\
throw exception;\
}
◆ dx_pass
#define dx_pass |
( |
| test, |
|
|
| ... ) |
Value: {\
dx::halt();\
__dx_test_status,\
__FILE__, __LINE__,\
##__VA_ARGS__);}}
#define DX_STRINGIFY(x)
Definition dx_macros.h:32
::mach_error_t os_result
Definition macOS/dx_platform.h:164
bool os_error(os_result result) noexcept
Definition macOS/dx_platform.h:187
◆ dx_pass_strict
#define dx_pass_strict |
( |
| test, |
|
|
| ... ) |
Value: {\
if (__dx_test_status){\
dx::halt();\
__dx_test_status,\
__FILE__, __LINE__,\
##__VA_ARGS__);}}