GNSS-SDR
0.0.21
An Open Source GNSS Software Defined Receiver
Loading...
Searching...
No Matches
src
algorithms
libs
short_x2_to_cshort.h
Go to the documentation of this file.
1
/*!
2
* \file short_x2_to_cshort.h
3
* \brief Adapts two short streams into a std::complex<short> stream
4
* \author Carles Fernandez Prades, cfernandez(at)cttc.es
5
*
6
* -----------------------------------------------------------------------------
7
*
8
* GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
9
* This file is part of GNSS-SDR.
10
*
11
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
12
* SPDX-License-Identifier: GPL-3.0-or-later
13
*
14
* -----------------------------------------------------------------------------
15
*/
16
17
#ifndef GNSS_SDR_SHORT_X2_TO_CSHORT_H
18
#define GNSS_SDR_SHORT_X2_TO_CSHORT_H
19
20
21
#include "
gnss_block_interface.h
"
22
#include <gnuradio/sync_block.h>
23
#include <gnuradio/types.h>
// for gr_vector_const_void_star
24
25
/** \addtogroup Algorithms_Library
26
* \{ */
27
/** \addtogroup Algorithm_libs algorithms_libs
28
* \{ */
29
30
31
class
short_x2_to_cshort
;
32
33
using
short_x2_to_cshort_sptr = gnss_shared_ptr<short_x2_to_cshort>;
34
35
short_x2_to_cshort_sptr make_short_x2_to_cshort();
36
37
/*!
38
* \brief This class adapts two short streams into a std::complex<short> stream
39
*/
40
class
short_x2_to_cshort :
public
gr::sync_block
41
{
42
public
:
43
int
work(
int
noutput_items,
44
gr_vector_const_void_star &input_items,
45
gr_vector_void_star &output_items);
46
47
private
:
48
friend
short_x2_to_cshort_sptr make_short_x2_to_cshort();
49
short_x2_to_cshort();
50
};
51
52
53
/** \} */
54
/** \} */
55
#endif
// GNSS_SDR_SHORT_X2_TO_CSHORT_H
short_x2_to_cshort
This class adapts two short streams into a std::complex<short> stream.
Definition
short_x2_to_cshort.h:41
gnss_block_interface.h
This interface represents a GNSS block.
Generated by
1.16.1