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