GNU Radio's CYBERRADIO Package
vita_udp_rx.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2022 G3.
4 *
5 * SPDX-License-Identifier: GPL-3.0-or-later
6 */
7
8#ifndef INCLUDED_CYBERRADIO_VITA_UDP_RX_H
9#define INCLUDED_CYBERRADIO_VITA_UDP_RX_H
10
11#include <CyberRadio/api.h>
12#include <gnuradio/block.h>
13
14namespace gr {
15 namespace CyberRadio {
16
17 /*!
18 * \brief <+description of block+>
19 * \ingroup CyberRadio
20 *
21 */
22 class CYBERRADIO_API vita_udp_rx : virtual public gr::block
23 {
24 public:
25 typedef std::shared_ptr<vita_udp_rx> sptr;
26 /*!
27 * \brief Return a shared_ptr to a new instance of CyberRadio::vita_udp_rx.
28 *
29 * To avoid accidental use of raw pointers, CyberRadio::vita_udp_rx's
30 * constructor is in a private implementation
31 * class. CyberRadio::vita_udp_rx::make is the public interface for
32 * creating new instances.
33 */
34 static sptr make(std::string src_ip,
35 unsigned short port,
36 unsigned int header_byte_offset,
37 int samples_per_packet,
38 int bytes_per_packet,
39 bool swap_bytes,
40 bool swap_iq,
41 bool tag_packets,
42 bool vector_output,
43 bool uses_v491,
44 bool narrowband,
45 bool debug);
46 };
47
48 } // namespace CyberRadio
49} // namespace gr
50
51#endif /* INCLUDED_CYBERRADIO_VITA_UDP_RX_H */
#define CYBERRADIO_API
Definition api.h:19
<+description of block+>
Definition vita_udp_rx.h:23
std::shared_ptr< vita_udp_rx > sptr
Definition vita_udp_rx.h:25
static sptr make(std::string src_ip, unsigned short port, unsigned int header_byte_offset, int samples_per_packet, int bytes_per_packet, bool swap_bytes, bool swap_iq, bool tag_packets, bool vector_output, bool uses_v491, bool narrowband, bool debug)
Return a shared_ptr to a new instance of CyberRadio::vita_udp_rx.
Provides programming elements for controlling the CyberRadio Solutions NDR651 radio.
Definition single_pole_iir.h:31
Provides programming elements for controlling CyberRadio Solutions products.
Definition single_pole_iir.h:30