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;
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;
140 virtual void set_play_type(
const std::string type,
const size_t port = 0) = 0;
159 const size_t port = 0) = 0;
Definition: rfnoc_block.h:29
std::shared_ptr< rfnoc_block > sptr
Definition: rfnoc_block.h:37
std::shared_ptr< rfnoc_graph > sptr
Definition: rfnoc_graph.h:32
Definition: rfnoc_replay.h:35
virtual void stop_playback(const size_t port=0)=0
virtual void set_record_type(const std::string type, const size_t port=0)=0
virtual void issue_stream_cmd(const ::uhd::stream_cmd_t &cmd, const size_t port=0)=0
virtual void set_play_type(const std::string type, const size_t port=0)=0
virtual void record_restart(const size_t port=0)=0
virtual void record(const uint64_t offset, const uint64_t size, const size_t port=0)=0
static sptr make(rfnoc_graph::sptr graph, const ::uhd::device_addr_t &block_args, const int device_select, const int instance)
std::shared_ptr< rfnoc_replay > sptr
Definition: rfnoc_replay.h:37
virtual void play(const uint64_t offset, const uint64_t size, const size_t port=0, const ::uhd::time_spec_t time_spec=::uhd::time_spec_t(0.0), const bool repeat=false)=0
#define GR_UHD_API
Definition: gr-uhd/include/gnuradio/uhd/api.h:18
GR_UHD_API const pmt::pmt_t replay_word_size_key()
GR_UHD_API const pmt::pmt_t replay_debug_port_key()
GR_UHD_API const pmt::pmt_t replay_mem_size_key()
GR_UHD_API const pmt::pmt_t replay_mem_fullness_key()
GR_UHD_API const pmt::pmt_t replay_cmd_time_key()
GR_UHD_API const pmt::pmt_t replay_cmd_port_key()
GR_UHD_API const pmt::pmt_t replay_cmd_offset_key()
GR_UHD_API const pmt::pmt_t replay_cmd_repeat_key()
GR_UHD_API const pmt::pmt_t replay_cmd_key()
GR_UHD_API const pmt::pmt_t replay_cmd_size_key()
GNU Radio logging wrapper.
Definition: basic_block.h:29
std::shared_ptr< pmt_base > pmt_t
typedef for shared pointer (transparent reference counting).
Definition: pmt.h:83