|
UHD
003.001.000
|
Classes | |
| struct | _msg |
| Internal message object (called by UHD_MSG macro) More... | |
Typedefs | |
| typedef void(* | handler_t) (type_t, const std::string &) |
| Typedef for a user-registered message handler. More... | |
Enumerations | |
| enum | type_t { status = 's', warning = 'w', error = 'e', fastpath = 'f' } |
| Possible message types. More... | |
Functions | |
| UHD_API_FUTURE void | register_handler (const handler_t &handler) |
| typedef void(* uhd::msg::handler_t) (type_t, const std::string &) |
Typedef for a user-registered message handler.
| enum uhd::msg::type_t |
| UHD_API_FUTURE void uhd::msg::register_handler | ( | const handler_t & | handler | ) |
Register the handler for uhd system messages. Only one handler can be registered at once. This replaces the default std::cout/cerr handler.
| handler | a new handler callback function |
1.8.13