#include <usrp1_sink_c.h>


Public Member Functions | |
| ~usrp1_sink_c () | |
Protected Member Functions | |
| usrp1_sink_c (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 | |
| usrp1_sink_c_sptr | usrp1_make_sink_c (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) |
input: gr_complex
| usrp1_sink_c::usrp1_sink_c | ( | 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] |
| usrp1_sink_c::~usrp1_sink_c | ( | ) |
| virtual void usrp1_sink_c::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
| input_items[in] | stream(s) of input items | |
| input_index[in] | starting index in input_items | |
| input_items_available[in] | number of items available starting at item[index] | |
| input_items_consumed[out] | number of input items consumed by copy | |
| usrp_buffer[out] | destination buffer | |
| usrp_buffer_length[in] | usrp_buffer length in bytes | |
| bytes_written[out] | number of bytes written into usrp_buffer |
Implements usrp1_sink_base.
| usrp1_sink_c_sptr usrp1_make_sink_c | ( | 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] |
1.5.8