18 #ifndef INCLUDED_UHD_UTILS_MSG_HPP 19 #define INCLUDED_UHD_UTILS_MSG_HPP 30 #define UHD_MSG(type) \ 31 uhd::msg::_msg(uhd::msg::type)() 34 namespace uhd{
namespace msg{
58 _msg(
const type_t type);
60 std::ostream &operator()(
void);
void(* handler_t)(type_t, const std::string &)
Typedef for a user-registered message handler.
Definition: msg.hpp:45
UHD_API void register_handler(const handler_t &handler)
type_t
Possible message types.
Definition: msg.hpp:37
#define UHD_API
Definition: config.hpp:76
Definition: convert.hpp:28
#define UHD_PIMPL_DECL(_name)
Definition: pimpl.hpp:42
Internal message object (called by UHD_MSG macro)
Definition: msg.hpp:56