8 #ifndef INCLUDED_GR_UHD_RFNOC_REPLAY_H 9 #define INCLUDED_GR_UHD_RFNOC_REPLAY_H 37 typedef std::shared_ptr<rfnoc_replay>
sptr;
46 const ::uhd::device_addr_t& block_args,
47 const int device_select,
67 record(
const uint64_t offset,
const uint64_t size,
const size_t port = 0) = 0;
75 virtual void record_restart(
const size_t port = 0) = 0;
112 virtual void play(
const uint64_t offset,
114 const size_t port = 0,
115 const ::uhd::time_spec_t time_spec = ::uhd::time_spec_t(0.0),
116 const bool repeat =
false) = 0;
125 virtual void stop_playback(
const size_t port = 0) = 0;
133 virtual void set_record_type(
const std::string type,
const size_t port = 0) = 0;
140 virtual void set_play_type(
const std::string type,
const size_t port = 0) = 0;
158 virtual void issue_stream_cmd(const ::uhd::stream_cmd_t& cmd,
159 const size_t port = 0) = 0;
GR_UHD_API const pmt::pmt_t replay_mem_size_key()
GR_UHD_API const pmt::pmt_t replay_word_size_key()
GR_UHD_API const pmt::pmt_t replay_cmd_offset_key()
std::shared_ptr< rfnoc_graph > sptr
Definition: rfnoc_graph.h:32
GR_UHD_API const pmt::pmt_t replay_cmd_port_key()
std::shared_ptr< rfnoc_replay > sptr
Definition: rfnoc_replay.h:37
GR_UHD_API const pmt::pmt_t replay_debug_port_key()
GR_UHD_API const pmt::pmt_t replay_cmd_key()
GNU Radio logging wrapper.
Definition: basic_block.h:29
GR_UHD_API const pmt::pmt_t replay_mem_fullness_key()
GR_UHD_API const pmt::pmt_t replay_cmd_repeat_key()
Definition: rfnoc_replay.h:34
#define GR_UHD_API
Definition: gr-uhd/include/gnuradio/uhd/api.h:18
GR_UHD_API const pmt::pmt_t replay_cmd_time_key()
GR_UHD_API const pmt::pmt_t replay_cmd_size_key()
Definition: rfnoc_block.h:28
std::shared_ptr< rfnoc_block > sptr
Definition: rfnoc_block.h:37
std::shared_ptr< pmt_base > pmt_t
typedef for shared pointer (transparent reference counting).
Definition: pmt.h:83