|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Go to the source code of this file.
Macros | |
| #define | HERE_TMPL_DEF(T, funname) |
| #define | HERE_AUTO_DEF(funname) |
| #define | HERE_DEF(cn, fn) |
| #define | HERE_FUN_DEF(fn) |
| #define | ERROR_NOREL(MSG) |
| #define | WARN_NOREL(MSG) |
| #define | INFO_NOREL(MSG) |
| #define | DEBUG_NOREL(MSG) |
| #define | CONDITION_STD_SET(cond, lock, var, val) |
| #define | CONDITION_BOOL_WAIT(cond, lock, var) |
| #define | CONDITION_BOOL_WAIT_TRYFUN(cond, lock, var, tryfun) |
| #define | CONDITION_BOOL_WAIT_FUN(cond, lock, fun) |
| #define | CONDITION_BOOL_WAIT_FUN_TRYFUN(cond, lock, fun, tryfun) |
| #define | DECLTYPE(x) |
| #define | CAT(A, B) |
| #define | SELECT(NAME, NUM) |
| #define | GET_COUNT(_1, _2, _3, _4, _5, _6, _7, _8, _9, COUNT, ...) |
| #define | VA_SIZE(...) |
| #define | VA_SELECT(NAME, ...) |
| #define CONDITION_BOOL_WAIT | ( | cond, | |
| lock, | |||
| var ) |
CONDITION_BOOL_WAIT provides safe concurrent wait on a shared variable
Upon any exception thrown it will break an enclosing loop
| #define CONDITION_BOOL_WAIT_FUN | ( | cond, | |
| lock, | |||
| fun ) |
CONDITION_BOOL_WAIT_FUN provides safe concurrent waiting on a shared variable, which is exposed through a function (fun)
Upon any exception thrown it will break an enclosing loop
| #define CONDITION_BOOL_WAIT_FUN_TRYFUN | ( | cond, | |
| lock, | |||
| fun, | |||
| tryfun ) |
CONDITION_BOOL_WAIT_FUN_TRYFUN provides safe concurrent waiting on a shared variable, which is exposed through a function (fun)
It is advisable that tryfun does not throw exceptions
| #define CONDITION_BOOL_WAIT_TRYFUN | ( | cond, | |
| lock, | |||
| var, | |||
| tryfun ) |
CONDITION_BOOL_WAIT_TRYFUN provides safe concurrent waiting on a shared variable and call a provided function in case of and exception.
It is advisable that tryfun does not throw exceptions
| #define CONDITION_STD_SET | ( | cond, | |
| lock, | |||
| var, | |||
| val ) |
| #define DEBUG_NOREL | ( | MSG | ) |
| #define ERROR_NOREL | ( | MSG | ) |
Define messages not present in RELEASE compilation
| #define GET_COUNT | ( | _1, | |
| _2, | |||
| _3, | |||
| _4, | |||
| _5, | |||
| _6, | |||
| _7, | |||
| _8, | |||
| _9, | |||
| COUNT, | |||
| ... ) |
| #define HERE_AUTO_DEF | ( | funname | ) |
Automatically define the function name, needed to display informative messages
| #define HERE_DEF | ( | cn, | |
| fn ) |
| #define HERE_FUN_DEF | ( | fn | ) |
| #define HERE_TMPL_DEF | ( | T, | |
| funname ) |
Define a templated function name, needed to display informative messages
| #define INFO_NOREL | ( | MSG | ) |
| #define SELECT | ( | NAME, | |
| NUM ) |
| #define VA_SELECT | ( | NAME, | |
| ... ) |
| #define VA_SIZE | ( | ... | ) |
| #define WARN_NOREL | ( | MSG | ) |