| 14 | |
| 15 | template <typename OSTREAM_T> |
| 16 | static inline void installStatusMsgFunc(Device &device, OSTREAM_T &stream) |
| 17 | { |
| 18 | device.msg_fcn = [&](void *, const char *msg) { stream << msg; }; |
| 19 | } |
| 20 | |
| 21 | template <typename OSTREAM_T> |
| 22 | static inline void installErrorMsgFunc(Device &device, OSTREAM_T &stream) |