 |
USRP Hardware Driver and USRP Manual
Version: 4.0.0.0-0-unknown
UHD and USRP Manual
|
|
Go to the documentation of this file.
13 #include <boost/optional.hpp>
18 namespace uhd {
namespace rfnoc {
32 using sptr = std::shared_ptr<action_info>;
55 using sptr = std::shared_ptr<stream_cmd_action_info>;
69 using sptr = std::shared_ptr<rx_event_action_info>;
84 using sptr = std::shared_ptr<tx_event_action_info>;
97 const boost::optional<uint64_t>& tsf);
101 const boost::optional<uint64_t>& tsf);
Definition: actions.hpp:82
action_info(const std::string &key, const uhd::device_addr_t &args=uhd::device_addr_t(""))
rx_event_action_info(uhd::rx_metadata_t::error_code_t error_code)
std::vector< uint8_t > payload
An arbitrary payload. It is up to consumers and producers to.
Definition: actions.hpp:39
Definition: actions.hpp:67
tx_event_action_info(uhd::async_metadata_t::event_code_t event_code, const boost::optional< uint64_t > &tsf)
static sptr make(const std::string &key="", const uhd::device_addr_t &args=uhd::device_addr_t(""))
Factory function.
virtual ~action_info()
Definition: actions.hpp:30
const size_t id
A unique counter for this action.
Definition: actions.hpp:34
uhd::rx_metadata_t::error_code_t error_code
The error code that describes the event.
Definition: actions.hpp:72
#define UHD_API
Definition: config.h:67
uhd::device_addr_t args
A dictionary of key-value pairs. May be used as desired.
Definition: actions.hpp:41
Definition: device_addr.hpp:38
bool has_tsf
Has time specification?
Definition: actions.hpp:90
std::shared_ptr< action_info > sptr
Definition: actions.hpp:32
Definition: build_info.hpp:12
static sptr make(const uhd::stream_cmd_t::stream_mode_t stream_mode)
Factory function.
Definition: stream_cmd.hpp:36
Definition: actions.hpp:28
stream_mode_t
Definition: stream_cmd.hpp:37
Definition: actions.hpp:53
std::string key
A string identifier for this action.
Definition: actions.hpp:36
uhd::async_metadata_t::event_code_t event_code
The event code that describes the event.
Definition: actions.hpp:87
uint64_t tsf
When the async event occurred.
Definition: actions.hpp:93
static sptr make(uhd::rx_metadata_t::error_code_t error_code)
Factory function.
uhd::stream_cmd_t stream_cmd
Definition: actions.hpp:57
static sptr make(uhd::async_metadata_t::event_code_t event_code, const boost::optional< uint64_t > &tsf)
Factory function.