#include <vita_iq_source_2_impl.h>
|
| | vita_iq_source_2_impl (int vitaType, size_t payloadSize, size_t vitaHeaderSize, size_t vitaTailSize, bool byteSwapped, bool iqSwapped, const std::string &host, int port, bool debug, bool tagOutput, bool coherent) |
| |
| | ~vita_iq_source_2_impl () |
| |
| void | connect (const std::string &host, int port) |
| | Change the connection to a new destination. More...
|
| |
| void | disconnect () |
| | Cut the connection if we have one set up. More...
|
| |
| void | set_receive_buffer_size (int size) |
| | Change the size of the UDP receive buffer. More...
|
| |
| int | get_receive_buffer_size (void) |
| | Get the size of the UDP receive buffer. More...
|
| |
| void | set_scale_factor (int) |
| | Set the scale factor used when converting from short to float. Default is 32767. More...
|
| |
| int | get_scale_factor () |
| | Get the scale factor used when converting from short to float. More...
|
| |
| int | work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
| |
|
| typedef boost::shared_ptr< vita_iq_source_2 > | sptr |
| |
| static sptr | make (int vitaType, size_t payloadSize, size_t vitaHeaderSize, size_t vitaTailSize, bool byteSwapped, bool iqSwapped, const std::string &host, int port, bool debug=false, bool tagOutput=false, bool coherent=false) |
| | Return a shared_ptr to a new instance of G3Tech::vita_iq_source. More...
|
| |
◆ vita_iq_source_2_impl()
| gr::CyberRadio::vita_iq_source_2_impl::vita_iq_source_2_impl |
( |
int |
vitaType, |
|
|
size_t |
payloadSize, |
|
|
size_t |
vitaHeaderSize, |
|
|
size_t |
vitaTailSize, |
|
|
bool |
byteSwapped, |
|
|
bool |
iqSwapped, |
|
|
const std::string & |
host, |
|
|
int |
port, |
|
|
bool |
debug, |
|
|
bool |
tagOutput, |
|
|
bool |
coherent |
|
) |
| |
◆ ~vita_iq_source_2_impl()
| gr::CyberRadio::vita_iq_source_2_impl::~vita_iq_source_2_impl |
( |
| ) |
|
◆ connect()
| void gr::CyberRadio::vita_iq_source_2_impl::connect |
( |
const std::string & |
host, |
|
|
int |
port |
|
) |
| |
|
virtual |
Change the connection to a new destination.
- Parameters
-
| host | The name or IP address of the receiving host; use NULL or None to break the connection without closing |
| port | Destination port to connect to on receiving host |
Calls disconnect() to terminate any current connection first.
Implements gr::CyberRadio::vita_iq_source_2.
◆ disconnect()
| void gr::CyberRadio::vita_iq_source_2_impl::disconnect |
( |
| ) |
|
|
virtual |
◆ get_receive_buffer_size()
| int gr::CyberRadio::vita_iq_source_2_impl::get_receive_buffer_size |
( |
void |
| ) |
|
|
virtual |
◆ get_scale_factor()
| int gr::CyberRadio::vita_iq_source_2_impl::get_scale_factor |
( |
| ) |
|
|
virtual |
◆ set_receive_buffer_size()
| void gr::CyberRadio::vita_iq_source_2_impl::set_receive_buffer_size |
( |
int |
size | ) |
|
|
virtual |
◆ set_scale_factor()
| void gr::CyberRadio::vita_iq_source_2_impl::set_scale_factor |
( |
int |
scale | ) |
|
|
virtual |
Set the scale factor used when converting from short to float. Default is 32767.
- Parameters
-
| scale | The scale factor Default is 32767. |
Implements gr::CyberRadio::vita_iq_source_2.
◆ work()
| int gr::CyberRadio::vita_iq_source_2_impl::work |
( |
int |
noutput_items, |
|
|
gr_vector_const_void_star & |
input_items, |
|
|
gr_vector_void_star & |
output_items |
|
) |
| |
The documentation for this class was generated from the following file: