18 #ifndef INCLUDED_UHD_UTILS_WARNING_HPP 19 #define INCLUDED_UHD_UTILS_WARNING_HPP 22 #include <boost/function.hpp> 26 namespace uhd{
namespace warning{
29 typedef boost::function<void(std::string)>
handler_t;
UHD_API handler_t unregister_handler(const std::string &name)
#define UHD_API
Definition: config.hpp:76
Definition: convert.hpp:28
UHD_API void post(const std::string &msg)
UHD_API void register_handler(const std::string &name, const handler_t &handler)
UHD_API const std::vector< std::string > registry_names(void)
boost::function< void(std::string)> handler_t
Callback function type for a message handler.
Definition: warning.hpp:29