1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 04:00:34 +00:00

Clean headers. C++ libraries preferred over C libraries

This commit is contained in:
Carles Fernandez 2017-08-10 15:34:38 +02:00
parent b9b985a506
commit ed5191fc54
12 changed files with 24 additions and 47 deletions

View File

@ -53,13 +53,12 @@
#ifndef GNSS_SDR_RTKLIB_H_ #ifndef GNSS_SDR_RTKLIB_H_
#define GNSS_SDR_RTKLIB_H_ #define GNSS_SDR_RTKLIB_H_
#include <stdio.h> #include <cstdio>
#include <stdlib.h> #include <cstdlib>
#include <stdarg.h> #include <cstdarg>
#include <cstring>
#include <cmath> #include <cmath>
#include <time.h> #include <ctime>
#include <ctype.h> #include <cctype>
#include <pthread.h> #include <pthread.h>
#include <netinet/in.h> #include <netinet/in.h>
#include "MATH_CONSTANTS.h" #include "MATH_CONSTANTS.h"

View File

@ -51,12 +51,9 @@
*----------------------------------------------------------------------------*/ *----------------------------------------------------------------------------*/
#include "rtklib_rtkcmn.h" #include "rtklib_rtkcmn.h"
//#include <stdarg.h> //#include <cstdio>
//#include <ctype.h>
#include <cstdio>
#include <dirent.h> #include <dirent.h>
#include <iostream> #include <iostream>
//#include <time.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>

View File

@ -17,22 +17,18 @@
*/ */
#include "qa_utils.h" #include "qa_utils.h"
#include <ctime>
#include <cmath>
#include <limits>
#include <list>
#include <boost/foreach.hpp> #include <boost/foreach.hpp>
#include <boost/tokenizer.hpp> #include <boost/tokenizer.hpp>
#include <boost/lexical_cast.hpp> #include <boost/lexical_cast.hpp>
#include <boost/typeof/typeof.hpp> #include <boost/typeof/typeof.hpp>
#include <boost/type_traits.hpp> #include <boost/type_traits.hpp>
#include <iostream>
#include <cstring>
#include <fstream>
#include <vector>
#include <map>
#include <list>
#include <ctime>
#include <cmath>
#include <limits>
#include <volk_gnsssdr/volk_gnsssdr.h> #include <volk_gnsssdr/volk_gnsssdr.h>
#include <volk_gnsssdr/volk_gnsssdr_cpu.h> #include <volk_gnsssdr/volk_gnsssdr_cpu.h>
#include <volk_gnsssdr/volk_gnsssdr_common.h> #include <volk_gnsssdr/volk_gnsssdr_common.h>

View File

@ -31,7 +31,6 @@
#include "galileo_e1b_telemetry_decoder_cc.h" #include "galileo_e1b_telemetry_decoder_cc.h"
#include <cstdio>
#include <cstdlib> #include <cstdlib>
#include <iostream> #include <iostream>
#include <boost/lexical_cast.hpp> #include <boost/lexical_cast.hpp>

View File

@ -35,7 +35,6 @@
*/ */
#include "galileo_e5a_telemetry_decoder_cc.h" #include "galileo_e5a_telemetry_decoder_cc.h"
#include <cstdio>
#include <cstdlib> #include <cstdlib>
#include <iostream> #include <iostream>
#include <boost/lexical_cast.hpp> #include <boost/lexical_cast.hpp>

View File

@ -33,7 +33,6 @@
#define GNSS_SDR_VITERBI_DECODER_H_ #define GNSS_SDR_VITERBI_DECODER_H_
#include <deque> #include <deque>
#include <cstdio>
/*! /*!
* \brief Class that implements a Viterbi decoder * \brief Class that implements a Viterbi decoder

View File

@ -30,14 +30,12 @@
*/ */
#include <algorithm> #include <algorithm>
#include <chrono>
#include <cstdlib>
#include <exception> #include <exception>
#include <iostream> #include <iostream>
#include <cstring>
#include <chrono>
#include <numeric> #include <numeric>
#include <stdio.h> #include <string>
#include <stdlib.h>
#include <sys/wait.h>
#include <thread> #include <thread>
#include <unistd.h> #include <unistd.h>
#include <gflags/gflags.h> #include <gflags/gflags.h>

View File

@ -34,7 +34,6 @@
#include <ctime> #include <ctime>
#include <cstdlib> #include <cstdlib>
#include <cstring>
#include <iostream> #include <iostream>
#include <boost/chrono.hpp> #include <boost/chrono.hpp>
#include <boost/make_shared.hpp> #include <boost/make_shared.hpp>

View File

@ -30,15 +30,11 @@
* ------------------------------------------------------------------------- * -------------------------------------------------------------------------
*/ */
#include <exception>
#include <cstring>
#include <ctime>
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <sys/wait.h>
#include <unistd.h> #include <unistd.h>
#include <cstdlib>
#include <ctime>
#include <exception>
#include <iostream>
#include <armadillo> #include <armadillo>
#include <gnuradio/top_block.h> #include <gnuradio/top_block.h>
#include <gnuradio/blocks/file_source.h> #include <gnuradio/blocks/file_source.h>

View File

@ -30,15 +30,12 @@
* ------------------------------------------------------------------------- * -------------------------------------------------------------------------
*/ */
#include <exception>
#include <cstring>
#include <ctime>
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <sys/wait.h>
#include <unistd.h> #include <unistd.h>
#include <cstdlib>
#include <ctime>
#include <exception>
#include <iostream>
#include <string>
#include <armadillo> #include <armadillo>
#include <gnuradio/top_block.h> #include <gnuradio/top_block.h>
#include <gnuradio/blocks/file_source.h> #include <gnuradio/blocks/file_source.h>

View File

@ -43,7 +43,6 @@
#include <gnuradio/blocks/null_sink.h> #include <gnuradio/blocks/null_sink.h>
#include <gnuradio/blocks/skiphead.h> #include <gnuradio/blocks/skiphead.h>
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <sys/wait.h>
#include "GPS_L1_CA.h" #include "GPS_L1_CA.h"
#include "gnss_block_factory.h" #include "gnss_block_factory.h"
#include "gnss_block_interface.h" #include "gnss_block_interface.h"

View File

@ -49,7 +49,6 @@
#include <gflags/gflags.h> #include <gflags/gflags.h>
#include <glog/logging.h> #include <glog/logging.h>
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <sys/wait.h>
#include "GPS_L1_CA.h" #include "GPS_L1_CA.h"
#include "gnss_block_factory.h" #include "gnss_block_factory.h"
#include "gnss_block_interface.h" #include "gnss_block_interface.h"