dxd - dynax driver framework  2721
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
osx/dx_exception.h File Reference
#include <dx_types.h>
#include <mutex>
+ Include dependency graph for osx/dx_exception.h:
+ This graph shows which files directly or indirectly include this file:

Classes

class  dx::exception< exception_t >
 generic exception helper class More...
 

Namespaces

 dx
 dynax driver framework user mode interface namespace
 

Macros

#define catchall(cleanup)
 
#define dx_pass(test)
 

Macro Definition Documentation

#define catchall (   cleanup)
Value:
catch(const exception_t&exception){\
cleanup\
dx::log(static_cast<const os_result&>(exception),"",__FILE__,__LINE__,__PRETTY_FUNCTION__);\
}catch(...){\
cleanup\
dx::log(dx::unknown,"",__FILE__,__LINE__,__PRETTY_FUNCTION__);\
}
Definition: osx/dx_types.h:157
#define __PRETTY_FUNCTION__
mock compiler idiosyncrasies
Definition: windows/dx_types.h:35
#define dx_pass (   test)
Value:
{\
auto dx_test_status=(test);\
if (dx_test_status){\
dx::log(dx_test_status,#test,__FILE__,__LINE__,__PRETTY_FUNCTION__);\
dx::halt();\
throw static_cast<const exception_t&>(dx_test_status);}}
#define __PRETTY_FUNCTION__
mock compiler idiosyncrasies
Definition: windows/dx_types.h:35
Todo:
platform independent generic excpetion/assertion handling with optional logging/debugging BP

(c) copyright 2009 dynamic acoustics e.U. generated on Sun May 5 2019

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.