GNU Radio's CYBERRADIO Package
snapshot_vector_source.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_SNAPSHOT_VECTOR_SOURCE_H
9#define INCLUDED_CYBERRADIO_SNAPSHOT_VECTOR_SOURCE_H
10
11#include <CyberRadio/api.h>
12#include <gnuradio/sync_block.h>
13
14namespace gr {
15 namespace CyberRadio {
16
17 /*!
18 * \brief <+description of block+>
19 * \ingroup CyberRadio
20 *
21 */
22 class CYBERRADIO_API snapshot_vector_source : virtual public gr::sync_block
23 {
24 public:
25 typedef std::shared_ptr<snapshot_vector_source> sptr;
26
27 /*!
28 * \brief Return a shared_ptr to a new instance of CyberRadio::snapshot_vector_source.
29 *
30 * To avoid accidental use of raw pointers, CyberRadio::snapshot_vector_source's
31 * constructor is in a private implementation
32 * class. CyberRadio::snapshot_vector_source::make is the public interface for
33 * creating new instances.
34 */
35 static sptr make(const std::string radio_type, const std::string &ip, unsigned int port,unsigned int block_size, unsigned int block_rate);
36 };
37
38 } // namespace CyberRadio
39} // namespace gr
40
41#endif /* INCLUDED_CYBERRADIO_SNAPSHOT_VECTOR_SOURCE_H */
#define CYBERRADIO_API
Definition api.h:19
<+description of block+>
Definition snapshot_vector_source.h:23
static sptr make(const std::string radio_type, const std::string &ip, unsigned int port, unsigned int block_size, unsigned int block_rate)
Return a shared_ptr to a new instance of CyberRadio::snapshot_vector_source.
std::shared_ptr< snapshot_vector_source > sptr
Definition snapshot_vector_source.h:25
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