1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-16 04:05:46 +00:00

Improve includes with IWYU

This commit is contained in:
Carles Fernandez 2019-03-05 22:17:09 +01:00
parent c938093f6d
commit 3b5b4ccf33
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
24 changed files with 140 additions and 102 deletions

View File

@ -31,10 +31,6 @@
#include "beidou_b1i_telemetry_decoder.h"
#include "beidou_dnav_almanac.h"
#include "beidou_dnav_ephemeris.h"
#include "beidou_dnav_iono.h"
#include "beidou_dnav_utc_model.h"
#include "configuration_interface.h"
#include <glog/logging.h>

View File

@ -33,10 +33,6 @@
#include "galileo_e1b_telemetry_decoder.h"
#include "configuration_interface.h"
#include "galileo_almanac.h"
#include "galileo_ephemeris.h"
#include "galileo_iono.h"
#include "galileo_utc_model.h"
#include <glog/logging.h>

View File

@ -36,10 +36,6 @@
#include "galileo_e5a_telemetry_decoder.h"
#include "configuration_interface.h"
#include "galileo_almanac.h"
#include "galileo_ephemeris.h"
#include "galileo_iono.h"
#include "galileo_utc_model.h"
#include <glog/logging.h>

View File

@ -33,9 +33,6 @@
#include "glonass_l1_ca_telemetry_decoder.h"
#include "configuration_interface.h"
#include "glonass_gnav_almanac.h"
#include "glonass_gnav_ephemeris.h"
#include "glonass_gnav_utc_model.h"
#include <glog/logging.h>

View File

@ -32,9 +32,6 @@
#include "glonass_l2_ca_telemetry_decoder.h"
#include "configuration_interface.h"
#include "glonass_gnav_almanac.h"
#include "glonass_gnav_ephemeris.h"
#include "glonass_gnav_utc_model.h"
#include <glog/logging.h>

View File

@ -32,10 +32,6 @@
#include "gps_l1_ca_telemetry_decoder.h"
#include "configuration_interface.h"
#include "gps_almanac.h"
#include "gps_ephemeris.h"
#include "gps_iono.h"
#include "gps_utc_model.h"
#include <glog/logging.h>

View File

@ -32,10 +32,6 @@
#include "gps_l2c_telemetry_decoder.h"
#include "configuration_interface.h"
#include "gps_almanac.h"
#include "gps_cnav_ephemeris.h"
#include "gps_cnav_iono.h"
#include "gps_cnav_utc_model.h"
#include <glog/logging.h>

View File

@ -32,7 +32,6 @@
#include "sbas_l1_telemetry_decoder.h"
#include "configuration_interface.h"
#include "sbas_l1_telemetry_decoder_gs.h"
#include <glog/logging.h>

View File

@ -1,7 +1,6 @@
/*!
* \file beidou_b1i_telemetry_decoder_gs.cc
* \brief Implementation of an adapter of a BEIDOU BI1 DNAV data decoder block
* to a TelemetryDecoderInterface
* \brief Implementation of a BEIDOU BI1 DNAV data decoder block
* \note Code added as part of GSoC 2018 program
* \author Damian Miralles, 2018. dmiralles2009(at)gmail.com
* \author Sergi Segura, 2018. sergi.segura.munoz(at)gmail.es
@ -33,13 +32,22 @@
#include "beidou_b1i_telemetry_decoder_gs.h"
#include "Beidou_B1I.h"
#include "beidou_dnav_almanac.h"
#include "beidou_dnav_ephemeris.h"
#include "beidou_dnav_utc_model.h"
#include "convolutional.h"
#include "display.h"
#include "gnss_synchro.h"
#include <glog/logging.h>
#include <gnuradio/io_signature.h>
#include <pmt/pmt.h> // for make_any
#include <pmt/pmt_sugar.h> // for mp
#include <volk_gnsssdr/volk_gnsssdr.h>
#include <iostream>
#include <cstdlib> // for abs
#include <exception> // for exception
#include <iostream> // for cout
#include <memory> // for shared_ptr, make_shared
#define CRC_ERROR_LIMIT 8

View File

@ -1,9 +1,8 @@
/*!
* \file beidou_b1i_telemetry_decoder_gs.h
* \brief Implementation of an adapter of a BEIDOU BI1 DNAV data decoder block
* to a TelemetryDecoderInterface
* \details Code added as part of GSoC 2018 program. However new modifications included to mimic
* decoding of existing signals
* \brief Implementation of a BEIDOU BI1 DNAV data decoder block
* \details Code added as part of GSoC 2018 program. However new modifications
* included to mimic decoding of existing signals
* \author Damian Miralles, 2018. dmiralles2009(at)gmail.com
* \author Sergi Segura, 2018. sergi.segura.munoz(at)gmail.es
*
@ -35,17 +34,16 @@
#ifndef GNSS_SDR_BEIDOU_B1I_TELEMETRY_DECODER_GS_H
#define GNSS_SDR_BEIDOU_B1I_TELEMETRY_DECODER_GS_H
#include "Beidou_B1I.h"
#include "beidou_dnav_almanac.h"
#include "beidou_dnav_ephemeris.h"
#include "beidou_dnav_navigation_message.h"
#include "beidou_dnav_utc_model.h"
#include "gnss_satellite.h"
#include "gnss_synchro.h"
#include "beidou_dnav_navigation_message.h"
#include <boost/circular_buffer.hpp>
#include <gnuradio/block.h>
#include <gnuradio/types.h> // for gr_vector_const_void_star
#include <fstream>
#include <string>
#include <boost/shared_ptr.hpp> // for boost::shared_ptr
#include <cstdint>
class beidou_b1i_telemetry_decoder_gs;

View File

@ -30,13 +30,25 @@
#include "galileo_telemetry_decoder_gs.h"
#include "Galileo_E1.h" // for GALILEO_E1_CODE_PERIOD_MS
#include "Galileo_E5a.h" // for GALILEO_E5A_CODE_PERIO...
#include "convolutional.h"
#include "display.h"
#include "galileo_almanac_helper.h" // for Galileo_Almanac_Helper
#include "galileo_ephemeris.h" // for Galileo_Ephemeris
#include "galileo_iono.h" // for Galileo_Iono
#include "galileo_utc_model.h" // for Galileo_Utc_Model
#include "gnss_synchro.h"
#include <glog/logging.h>
#include <gnuradio/io_signature.h>
#include <pmt/pmt.h> // for make_any
#include <pmt/pmt_sugar.h> // for mp
#include <volk_gnsssdr/volk_gnsssdr.h>
#include <iostream>
#include <cmath> // for fmod
#include <cstdlib> // for abs
#include <exception> // for exception
#include <iostream> // for cout
#include <memory> // for shared_ptr, make_shared
#define CRC_ERROR_LIMIT 6

View File

@ -33,20 +33,23 @@
#define GNSS_SDR_GALILEO_TELEMETRY_DECODER_GS_H
#include "Galileo_E1.h"
#include "Galileo_E5a.h"
#include "galileo_almanac_helper.h"
#include "galileo_ephemeris.h"
//#include "Galileo_E1.h"
//#include "Galileo_E5a.h"
//#include "galileo_almanac_helper.h"
//#include "galileo_ephemeris.h"
#include "galileo_fnav_message.h"
#include "galileo_iono.h"
#include <boost/shared_ptr.hpp> // for boost::shared_ptr
#include <gnuradio/types.h> // for gr_vector_const_void_star
//#include "galileo_iono.h"
#include "galileo_navigation_message.h"
#include "galileo_utc_model.h"
//#include "galileo_utc_model.h"
#include "gnss_satellite.h"
#include "gnss_synchro.h"
//#include "gnss_synchro.h"
#include <boost/circular_buffer.hpp>
#include <gnuradio/block.h>
#include <fstream>
#include <string>
#include <cstdint>
class galileo_telemetry_decoder_gs;

View File

@ -1,7 +1,6 @@
/*!
* \file glonass_l1_ca_telemetry_decoder_gs.cc
* \brief Implementation of an adapter of a GLONASS L1 C/A NAV data decoder block
* to a TelemetryDecoderInterface
* \brief Implementation of a GLONASS L1 C/A NAV data decoder block
* \note Code added as part of GSoC 2017 program
* \author Damian Miralles, 2017. dmiralles2009(at)gmail.com
*
@ -32,9 +31,20 @@
#include "glonass_l1_ca_telemetry_decoder_gs.h"
#include "glonass_gnav_almanac.h"
#include "glonass_gnav_ephemeris.h"
#include "glonass_gnav_utc_model.h"
#include "gnss_synchro.h"
#include <glog/logging.h>
#include <gnuradio/io_signature.h>
#include <pmt/pmt.h> // for make_any
#include <pmt/pmt_sugar.h> // for mp
#include <cmath> // for floor, round
#include <cstdlib> // for abs, malloc
#include <cstring> // for memcpy
#include <exception> // for exception
#include <iostream> // for cout
#include <memory> // for shared_ptr, make_shared
#define CRC_ERROR_LIMIT 6

View File

@ -1,7 +1,6 @@
/*!
* \file glonass_l1_ca_telemetry_decoder_gs.h
* \brief Implementation of an adapter of a GLONASS L1 C/A NAV data decoder block
* to a TelemetryDecoderInterface
* \brief Implementation of a GLONASS L1 C/A NAV data decoder block
* \note Code added as part of GSoC 2017 program
* \author Damian Miralles, 2017. dmiralles2009(at)gmail.com
*
@ -35,17 +34,17 @@
#include "GLONASS_L1_L2_CA.h"
#include "glonass_gnav_almanac.h"
#include "glonass_gnav_ephemeris.h"
#include "glonass_gnav_navigation_message.h"
#include "glonass_gnav_utc_model.h"
#include "gnss_satellite.h"
#include "gnss_synchro.h"
#include <boost/circular_buffer.hpp>
#include <gnuradio/block.h>
#include <fstream>
#include <boost/shared_ptr.hpp> // for boost::shared_ptr
#include <gnuradio/block.h> // for block
#include <gnuradio/types.h> // for gr_vector_const_void_star
#include <cstdint>
#include <fstream> // for ofstream
#include <string>
class Gnss_Synchro;
class glonass_l1_ca_telemetry_decoder_gs;

View File

@ -1,7 +1,6 @@
/*!
* \file glonass_l2_ca_telemetry_decoder_gs.cc
* \brief Implementation of an adapter of a GLONASS L1 C/A NAV data decoder block
* to a TelemetryDecoderInterface
* \brief Implementation of a GLONASS L2 C/A NAV data decoder block
* \author Damian Miralles, 2018. dmiralles2009(at)gmail.com
*
* -------------------------------------------------------------------------
@ -32,9 +31,20 @@
#include "glonass_l2_ca_telemetry_decoder_gs.h"
#include "display.h"
#include "glonass_gnav_almanac.h"
#include "glonass_gnav_ephemeris.h"
#include "glonass_gnav_utc_model.h"
#include "gnss_synchro.h"
#include <glog/logging.h>
#include <gnuradio/io_signature.h>
#include <pmt/pmt.h> // for make_any
#include <pmt/pmt_sugar.h> // for mp
#include <cmath> // for floor, round
#include <cstdlib> // for abs, malloc
#include <cstring> // for memcpy
#include <exception> // for exception
#include <iostream> // for cout
#include <memory> // for shared_ptr, make_shared
#define CRC_ERROR_LIMIT 6

View File

@ -1,7 +1,6 @@
/*!
* \file glonass_l2_ca_telemetry_decoder_gs.h
* \brief Implementation of an adapter of a GLONASS L2 C/A NAV data decoder block
* to a TelemetryDecoderInterface
* \brief Implementation of a GLONASS L2 C/A NAV data decoder block
* \author Damian Miralles, 2018. dmiralles2009(at)gmail.com
*
* -------------------------------------------------------------------------
@ -34,18 +33,19 @@
#include "GLONASS_L1_L2_CA.h"
#include "glonass_gnav_almanac.h"
#include "glonass_gnav_ephemeris.h"
#include "glonass_gnav_navigation_message.h"
#include "glonass_gnav_utc_model.h"
#include "gnss_satellite.h"
#include "gnss_synchro.h"
#include <boost/circular_buffer.hpp>
#include <boost/shared_ptr.hpp> // for boost::shared_ptr
#include <gnuradio/block.h>
#include <gnuradio/types.h> // for gr_vector_const_void_star
#include <cstdint>
#include <fstream>
#include <string>
class Gnss_Synchro;
class glonass_l2_ca_telemetry_decoder_gs;
using glonass_l2_ca_telemetry_decoder_gs_sptr = boost::shared_ptr<glonass_l2_ca_telemetry_decoder_gs>;
@ -53,10 +53,10 @@ using glonass_l2_ca_telemetry_decoder_gs_sptr = boost::shared_ptr<glonass_l2_ca_
glonass_l2_ca_telemetry_decoder_gs_sptr glonass_l2_ca_make_telemetry_decoder_gs(const Gnss_Satellite &satellite, bool dump);
/*!
* \brief This class implements a block that decodes the GNAV data defined in GLONASS ICD v5.1
* \see <a href="http://russianspacesystems.ru/wp-content/uploads/2016/08/ICD_GLONASS_eng_v5.1.pdf">GLONASS ICD</a>
*
*/
* \brief This class implements a block that decodes the GNAV data defined in GLONASS ICD v5.1
* \see <a href="http://russianspacesystems.ru/wp-content/uploads/2016/08/ICD_GLONASS_eng_v5.1.pdf">GLONASS ICD</a>
*
*/
class glonass_l2_ca_telemetry_decoder_gs : public gr::block
{
public:
@ -65,8 +65,8 @@ public:
void set_channel(int32_t channel); //!< Set receiver's channel
/*!
* \brief This is where all signal processing takes place
*/
* \brief This is where all signal processing takes place
*/
int general_work(int noutput_items, gr_vector_int &ninput_items,
gr_vector_const_void_star &input_items, gr_vector_void_star &output_items);

View File

@ -30,9 +30,20 @@
*/
#include "gps_l1_ca_telemetry_decoder_gs.h"
#include "gnss_synchro.h"
#include "gps_ephemeris.h" // for Gps_Ephemeris
#include "gps_iono.h" // for Gps_Iono
#include "gps_utc_model.h" // for Gps_Utc_Model
#include <glog/logging.h>
#include <gnuradio/io_signature.h>
#include <pmt/pmt.h> // for make_any
#include <pmt/pmt_sugar.h> // for mp
#include <volk_gnsssdr/volk_gnsssdr.h>
#include <cmath> // for round
#include <cstring> // for memcpy
#include <exception> // for exception
#include <iostream> // for cout
#include <memory> // for shared_ptr
#ifndef _rotl

View File

@ -33,12 +33,16 @@
#include "GPS_L1_CA.h"
#include "gnss_satellite.h"
#include "gnss_synchro.h"
#include "gps_navigation_message.h"
#include <boost/circular_buffer.hpp>
#include <gnuradio/block.h>
#include <fstream>
#include <string>
#include <boost/shared_ptr.hpp> // for boost::shared_ptr
#include <gnuradio/block.h> // for block
#include <gnuradio/types.h> // for gr_vector_const_void_star
#include <cstdint> // for int32_t
#include <fstream> // for ofstream
#include <string> // for string
class Gnss_Synchro;
class gps_l1_ca_telemetry_decoder_gs;

View File

@ -31,13 +31,21 @@
#include "gps_l2c_telemetry_decoder_gs.h"
#include "GPS_L2C.h" // for GPS_L2_CNAV_DATA_PAGE_BITS, GPS_L...
#include "display.h"
#include "gnss_synchro.h"
#include "gps_cnav_ephemeris.h" // for Gps_CNAV_Ephemeris
#include "gps_cnav_iono.h" // for Gps_CNAV_Iono
#include "gps_cnav_utc_model.h" // for Gps_CNAV_Utc_Model
#include <glog/logging.h>
#include <gnuradio/io_signature.h>
#include <bitset>
#include <iostream>
#include <sstream>
#include <pmt/pmt.h> // for make_any
#include <pmt/pmt_sugar.h> // for mp
#include <bitset> // for bitset
#include <cmath> // for round
#include <exception> // for exception
#include <iostream> // for cout
#include <memory> // for shared_ptr, make_shared
gps_l2c_telemetry_decoder_gs_sptr

View File

@ -32,24 +32,18 @@
#define GNSS_SDR_GPS_L2C_TELEMETRY_DECODER_GS_H
#include "GPS_L2C.h"
#include "gnss_satellite.h"
#include "gps_cnav_ephemeris.h"
#include "gps_cnav_iono.h"
#include "gps_cnav_navigation_message.h"
#include <boost/shared_ptr.hpp> // for boost::shared_ptr
#include <gnuradio/block.h>
#include <algorithm> // for copy
#include <gnuradio/types.h> // for gr_vector_const_void_star
#include <cstdint>
#include <fstream>
#include <string>
#include <utility> // for pair
#include <vector>
extern "C"
{
#include "bits.h"
#include "cnav_msg.h"
#include "edc.h"
}

View File

@ -34,11 +34,16 @@
#include "gnss_synchro.h"
#include "gps_cnav_ephemeris.h"
#include "gps_cnav_iono.h"
#include "gps_cnav_utc_model.h" // for Gps_CNAV_Utc_Model
#include <glog/logging.h>
#include <gnuradio/io_signature.h>
#include <pmt/pmt.h> // for make_any
#include <pmt/pmt_sugar.h> // for mp
#include <bitset>
#include <cstdlib> // for abs
#include <exception> // for exception
#include <iostream>
#include <sstream>
#include <memory> // for shared_ptr, make_shared
gps_l5_telemetry_decoder_gs_sptr

View File

@ -31,23 +31,20 @@
#define GNSS_SDR_GPS_L5_TELEMETRY_DECODER_GS_H
#include "GPS_L5.h"
#include "gnss_satellite.h"
#include "gps_cnav_navigation_message.h"
#include "GPS_L5.h" // for GPS_L5I_NH_CODE_LENGTH
#include "gnss_satellite.h" // for Gnss_Satellite
#include "gps_cnav_navigation_message.h" // for Gps_CNAV_Navigation_Message
#include <boost/circular_buffer.hpp>
#include <boost/shared_ptr.hpp> // for boost::shared_ptr
#include <gnuradio/block.h>
#include <algorithm>
#include <gnuradio/types.h> // for gr_vector_const_void_star
#include <cstdint>
#include <fstream>
#include <string>
#include <utility>
#include <vector>
extern "C"
{
#include "bits.h"
#include "cnav_msg.h"
#include "edc.h"
}

View File

@ -30,10 +30,13 @@
#include "sbas_l1_telemetry_decoder_gs.h"
#include "gnss_synchro.h"
#include "viterbi_decoder.h"
#include <glog/logging.h>
#include <gnuradio/io_signature.h>
#include <sstream>
#include <pmt/pmt_sugar.h> // for mp
#include <cmath> // for abs
#include <exception> // for exception
#include <iomanip> // for operator<<, setw
// logging levels
#define EVENT 2 // logs important events which don't occur every block

View File

@ -32,10 +32,12 @@
#define GNSS_SDR_SBAS_L1_TELEMETRY_DECODER_GS_H
#include "gnss_satellite.h"
#include "viterbi_decoder.h"
#include <boost/crc.hpp>
#include <boost/shared_ptr.hpp> // for boost::shared_ptr
#include <gnuradio/block.h>
#include <algorithm> // for copy
#include <gnuradio/types.h> // for gr_vector_const_void_star
#include <algorithm> // for copy
#include <cstddef> // for size_t
#include <cstdint>
#include <deque>
#include <fstream>
@ -43,6 +45,7 @@
#include <utility> // for pair
#include <vector>
class Viterbi_Decoder;
class sbas_l1_telemetry_decoder_gs;