usrp1_sink_s Class Reference

interface to Universal Software Radio Peripheral Tx path (Rev 1) More...

#include <usrp1_sink_s.h>

Inheritance diagram for usrp1_sink_s:

Inheritance graph
[legend]
Collaboration diagram for usrp1_sink_s:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ~usrp1_sink_s ()

Protected Member Functions

 usrp1_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

usrp1_sink_s_sptr usrp1_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)


Detailed Description

interface to Universal Software Radio Peripheral Tx path (Rev 1)

input: short


Constructor & Destructor Documentation

usrp1_sink_s::usrp1_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]

usrp1_sink_s::~usrp1_sink_s (  ) 


Member Function Documentation

virtual void usrp1_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

Parameters:
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.


Friends And Related Function Documentation

usrp1_sink_s_sptr usrp1_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]


The documentation for this class was generated from the following file:

Generated on Thu Mar 5 09:03:28 2009 for GNU Radio 3.1.3 by  doxygen 1.5.8