|
| #define | SERIALPORT_Xassert(C, M, E) if (!(C)) { throw( E ( M , __FILE__, __LINE__, #C )); } |
| | Check an assertion and report by throwing an exception. More...
|
| |
| #define | SERIALPORT_assert(C, M) SERIALPORT_Xassert( C , M , serialport::Exception ) |
| | Check an assertion and report by throwing an exception. More...
|
| |
| #define | SERIALPORT_abort(M) throw( serialport::Exception ( M , __FILE__, __LINE__ )) |
| | Abort and give a message. More...
|
| |
| #define | SERIALPORT_report_assert(C, M, V) |
| | Check an assertion and report only. More...
|
| |
| #define | SERIALPORT_nonfatal_assert(F, C, M, V) if (F) { SERIALPORT_report_assert(C,M,V) } else { SERIALPORT_assert(C,M) } |
| | Macro to distinguish between fatal and non fatal assertions. More...
|
| |