GNU Radio's HPSDR Package
hermesWB_impl.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 2013-2021 Thomas C. McDermott, N5EG.
4
*
5
* This is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 3, or (at your option)
8
* any later version.
9
*
10
* This software is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this software; see the file COPYING. If not, write to
17
* the Free Software Foundation, Inc., 51 Franklin Street,
18
* Boston, MA 02110-1301, USA.
19
*/
20
21
#ifndef INCLUDED_HPSDR_HERMESWB_IMPL_H
22
#define INCLUDED_HPSDR_HERMESWB_IMPL_H
23
24
#include <
hpsdr/hermesWB.h
>
25
26
namespace
gr
{
27
namespace
hpsdr {
28
29
class
hermesWB_impl
:
public
hermesWB
30
{
31
private
:
32
// Nothing to declare in this block.
33
34
public
:
35
36
/*! \brief Construct a HermesWB module
37
* \param RxPre Rx Preamp on (1) / off (0)
38
* \param Intfc Ethernet interface to use
39
* \param ClkS HPSDR Clock Source (register C1 when C0 = 0x00)
40
* \param AlexRA HPSDR Alex Rx Ant Selector
41
* \param AlexTA HPSDR Alex Tx Ant Selector
42
* \param AlexHPF HPSDR Alex Rx High Pass Filter Selector
43
* \param AlexLPF HPSDR Alex Tx Low Pass Filter Selector
44
*
45
*/
46
hermesWB_impl
(
int
RxPre,
const
char
* Intfc,
const
char
* ClkS,
47
int
AlexRA,
int
AlexTA,
int
AlexHPF,
int
AlexLPF,
48
const
char
* MACAddr);
49
~hermesWB_impl
();
50
51
// Where all the action really happens
52
void
forecast
(
int
noutput_items, gr_vector_int &ninput_items_required);
53
54
int
general_work
(
int
noutput_items,
55
gr_vector_int &ninput_items,
56
gr_vector_const_void_star &input_items,
57
gr_vector_void_star &output_items);
58
59
};
60
61
}
// namespace hpsdr
62
}
// namespace gr
63
64
#endif
/* INCLUDED_HPSDR_HERMESWB_IMPL_H */
65
gr::hpsdr::hermesWB_impl
Definition
hermesWB_impl.h:30
gr::hpsdr::hermesWB_impl::general_work
int general_work(int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
gr::hpsdr::hermesWB_impl::hermesWB_impl
hermesWB_impl(int RxPre, const char *Intfc, const char *ClkS, int AlexRA, int AlexTA, int AlexHPF, int AlexLPF, const char *MACAddr)
Construct a HermesWB module.
gr::hpsdr::hermesWB_impl::forecast
void forecast(int noutput_items, gr_vector_int &ninput_items_required)
gr::hpsdr::hermesWB_impl::~hermesWB_impl
~hermesWB_impl()
gr::hpsdr::hermesWB
<+description of block+>
Definition
hermesWB.h:36
hermesWB.h
gr
Definition
hermesNB.h:27
lib
hermesWB_impl.h
Generated by
1.10.0