GNU Radio 3.3.0 C++ API
|
Interface to Universal Software Radio Peripheral Tx pathinput: short. More...
#include <usrp_sink_s.h>
Public Member Functions | |
~usrp_sink_s () | |
Protected Member Functions | |
usrp_sink_s (int which_board, unsigned int interp_rate, int nchan, int mux, int fusb_block_size, int fusb_nblocks, const std::string fpga_filename, const std::string firmware_filename) throw (std::runtime_error) | |
virtual void | copy_to_usrp_buffer (gr_vector_const_void_star &input_items, int input_index, int input_items_available, int &input_items_consumed, void *usrp_buffer, int usrp_buffer_length, int &bytes_written) |
convert between input item format and usrp native format | |
Friends | |
usrp_sink_s_sptr | usrp_make_sink_s (int which_board, unsigned int interp_rate, int nchan, int mux, int fusb_block_size, int fusb_nblocks, const std::string fpga_filename, const std::string firmware_filename) throw (std::runtime_error) |
Interface to Universal Software Radio Peripheral Tx path
input: short.
usrp_sink_s::usrp_sink_s | ( | int | which_board, |
unsigned int | interp_rate, | ||
int | nchan, | ||
int | mux, | ||
int | fusb_block_size, | ||
int | fusb_nblocks, | ||
const std::string | fpga_filename, | ||
const std::string | firmware_filename | ||
) | throw (std::runtime_error) [protected] |
usrp_sink_s::~usrp_sink_s | ( | ) |
virtual void usrp_sink_s::copy_to_usrp_buffer | ( | gr_vector_const_void_star & | input_items, |
int | input_index, | ||
int | input_items_available, | ||
int & | input_items_consumed, | ||
void * | usrp_buffer, | ||
int | usrp_buffer_length, | ||
int & | bytes_written | ||
) | [protected, virtual] |
convert between input item format and usrp native format
[in] | input_items | stream(s) of input items |
[in] | input_index | starting index in input_items |
[in] | input_items_available | number of items available starting at item[index] |
[out] | input_items_consumed | number of input items consumed by copy |
[out] | usrp_buffer | destination buffer |
[in] | usrp_buffer_length | usrp_buffer length in bytes |
[out] | bytes_written | number of bytes written into usrp_buffer |
Implements usrp_sink_base.
usrp_sink_s_sptr usrp_make_sink_s | ( | int | which_board, |
unsigned int | interp_rate, | ||
int | nchan, | ||
int | mux, | ||
int | fusb_block_size, | ||
int | fusb_nblocks, | ||
const std::string | fpga_filename, | ||
const std::string | firmware_filename | ||
) | throw (std::runtime_error) [friend] |