GNU Radio's GNMAX2769 Package
gnmax_source_cc.h
Go to the documentation of this file.
1/*
2 * Copyright 2011 Free Software Foundation, Inc.
3 *
4 * This file was generated by gr_modtool, a tool from the GNU Radio framework
5 * This file is a part of gr-divider
6 *
7 * SPDX-License-Identifier: GPL-3.0-or-later
8 *
9 */
10
11#ifndef INCLUDED_GNMAX2769_GNMAX_SOURCE_CC_H
12#define INCLUDED_GNMAX2769_GNMAX_SOURCE_CC_H
13
14#include <gnMAX2769/api.h>
15#include <gnuradio/sync_block.h>
16
17namespace gr {
18 namespace gnMAX2769 {
19
20 /*!
21 * \brief <+description of block+>
22 * \ingroup gnMAX2769
23 *
24 */
25 class GNMAX2769_API gnmax_source_cc : virtual public gr::sync_block
26 {
27 public:
28 typedef std::shared_ptr<gnmax_source_cc> sptr;
29
30 /*!
31 * \brief Return a shared_ptr to a new instance of gnMAX2769::gnmax_source_cc.
32 *
33 * To avoid accidental use of raw pointers, gnMAX2769::gnmax_source_cc's
34 * constructor is in a private implementation
35 * class. gnMAX2769::gnmax_source_cc::make is the public interface for
36 * creating new instances.
37 */
38 static sptr make(int bias, int ant, float freq, int bw, int zeroif);
39
40 /*!
41 * \brief Return active antenna bias state
42 */
43 virtual int bias() const = 0;
44
45 /*!
46 * \brief Set active antenna bias
47 */
48 virtual void set_bias(int bias) = 0;
49
50 /*!
51 * \brief Return antenna selection
52 */
53 virtual int ant() const = 0;
54
55 /*!
56 * \brief Set antenna selection
57 */
58 virtual void set_ant(int ant) = 0;
59
60 /*!
61 * \brief Return RF frequency
62 */
63 virtual float freq() const = 0;
64
65 /*!
66 * \brief Set RF frequency
67 */
68 virtual void set_freq(float freq) = 0;
69
70 /*!
71 * \brief Return IF bandwidth setting
72 */
73 virtual int bw() const = 0;
74
75 /*!
76 * \brief Set IF bandwidth
77 */
78 virtual void set_bw(int bw) = 0;
79 };
80
81 } // namespace gnMAX2769
82} // namespace gr
83
84#endif /* INCLUDED_GNMAX2769_GNMAX_SOURCE_CC_H */
85
#define GNMAX2769_API
Definition api.h:19
<+description of block+>
Definition gnmax_source_cc.h:26
virtual void set_freq(float freq)=0
Set RF frequency.
virtual int bias() const =0
Return active antenna bias state.
virtual void set_bias(int bias)=0
Set active antenna bias.
virtual void set_bw(int bw)=0
Set IF bandwidth.
std::shared_ptr< gnmax_source_cc > sptr
Definition gnmax_source_cc.h:28
virtual int bw() const =0
Return IF bandwidth setting.
static sptr make(int bias, int ant, float freq, int bw, int zeroif)
Return a shared_ptr to a new instance of gnMAX2769::gnmax_source_cc.
virtual float freq() const =0
Return RF frequency.
virtual void set_ant(int ant)=0
Set antenna selection.
virtual int ant() const =0
Return antenna selection.
Definition gnmax_source_cc.h:18
Definition gnmax_source_cc.h:17