|
USRP Hardware Driver and USRP Manual
Version: 4.4.0.HEAD-0-g5fac246b
UHD and USRP Manual
|
|
Go to the documentation of this file.
15 #include <boost/optional/optional.hpp>
25 typedef std::shared_ptr<msg_task>
sptr;
35 virtual msg_payload_t get_msg_from_dump_queue(uint32_t sid) = 0;
40 std::vector<uint8_t> v(n);
41 memcpy(&v.front(), p, n);
44 return std::vector<uint8_t>();
65 static sptr make(
const task_fcn_type& task_fcn);
std::function< boost::optional< msg_type_t >void)> task_fcn_type
Definition: msg_task.hpp:28
std::shared_ptr< msg_task > sptr
Definition: msg_task.hpp:25
#define UHD_INLINE
Definition: config.h:65
#define UHD_API
Definition: config.h:87
static UHD_INLINE std::vector< uint8_t > buff_to_vector(uint8_t *p, size_t n)
Definition: msg_task.hpp:37
std::vector< uint8_t > msg_payload_t
Definition: msg_task.hpp:26
Definition: build_info.hpp:12
std::pair< uint32_t, msg_payload_t > msg_type_t
Definition: msg_task.hpp:27
boost::noncopyable noncopyable
Definition: noncopyable.hpp:45
Definition: msg_task.hpp:22