17#include <boost/optional.hpp>
24namespace uhd {
namespace rfnoc {
38 using sptr = std::shared_ptr<action_info>;
61 using sptr = std::shared_ptr<stream_cmd_action_info>;
75 using sptr = std::shared_ptr<rx_event_action_info>;
90 using sptr = std::shared_ptr<tx_event_action_info>;
103 const boost::optional<uint64_t>& tsf);
107 const boost::optional<uint64_t>& tsf);
114 using sptr = std::shared_ptr<tune_request_action_info>;
Definition device_addr.hpp:39
Definition time_spec.hpp:31
#define UHD_API
Definition config.h:87
Definition build_info.hpp:12
Definition actions.hpp:34
std::vector< uint8_t > payload
An arbitrary payload. It is up to consumers and producers to.
Definition actions.hpp:45
std::string key
A string identifier for this action.
Definition actions.hpp:42
virtual ~action_info()
Definition actions.hpp:36
const size_t id
A unique counter for this action.
Definition actions.hpp:40
action_info(const std::string &key, const uhd::device_addr_t &args=uhd::device_addr_t(""))
std::shared_ptr< action_info > sptr
Definition actions.hpp:38
static sptr make(const std::string &key="", const uhd::device_addr_t &args=uhd::device_addr_t(""))
Factory function.
uhd::device_addr_t args
A dictionary of key-value pairs. May be used as desired.
Definition actions.hpp:47
Definition actions.hpp:73
std::shared_ptr< rx_event_action_info > sptr
Definition actions.hpp:75
static sptr make(uhd::rx_metadata_t::error_code_t error_code)
Factory function.
rx_event_action_info(uhd::rx_metadata_t::error_code_t error_code)
uhd::rx_metadata_t::error_code_t error_code
The error code that describes the event.
Definition actions.hpp:78
Definition actions.hpp:59
std::shared_ptr< stream_cmd_action_info > sptr
Definition actions.hpp:61
static sptr make(const uhd::stream_cmd_t::stream_mode_t stream_mode)
Factory function.
uhd::stream_cmd_t stream_cmd
Definition actions.hpp:63
Action object for graph-based tuning.
Definition actions.hpp:112
static sptr make(const uhd::tune_request_t tune_request)
Factory function.
uhd::freq_range_t overall_freq_range
Definition actions.hpp:121
uhd::tune_request_t tune_request
Definition actions.hpp:116
uhd::time_spec_t time_spec
Definition actions.hpp:117
std::shared_ptr< tune_request_action_info > sptr
Definition actions.hpp:114
uhd::freq_range_t rf_range
Definition actions.hpp:120
uhd::tune_result_t tune_result
Definition actions.hpp:118
uhd::freq_range_t dsp_range
Definition actions.hpp:119
Definition actions.hpp:88
uint64_t tsf
When the async event occurred.
Definition actions.hpp:99
tx_event_action_info(uhd::async_metadata_t::event_code_t event_code, const boost::optional< uint64_t > &tsf)
static sptr make(uhd::async_metadata_t::event_code_t event_code, const boost::optional< uint64_t > &tsf)
Factory function.
bool has_tsf
Has time specification?
Definition actions.hpp:96
std::shared_ptr< tx_event_action_info > sptr
Definition actions.hpp:90
uhd::async_metadata_t::event_code_t event_code
The event code that describes the event.
Definition actions.hpp:93
Definition stream_cmd.hpp:40
stream_mode_t
Definition stream_cmd.hpp:41
Definition tune_request.hpp:25
Definition tune_result.hpp:19