Commit Graph

3522 Commits

Author SHA1 Message Date
Carles Fernandez df7c466de0
Sort data members in headers 2020-06-24 22:27:51 +02:00
Carles Fernandez ba022cc5f7
Improve consistency of CMake scripts 2020-06-24 11:42:45 +02:00
Carles Fernandez d2a90370d5
Sort private members 2020-06-24 11:34:14 +02:00
Carles Fernandez 75aaf409cd
Remove unused variable 2020-06-24 11:28:35 +02:00
Carles Fernandez 70b823609a
Sort private members 2020-06-24 11:27:31 +02:00
Carles Fernandez a9811ee2f4
Do not use pointer to string as data member 2020-06-24 02:43:37 +02:00
Carles Fernandez 037a1fcb5f
Improve headers, large data members first. Improve nav message interfaces 2020-06-23 09:47:58 +02:00
Carles Fernandez afa16c6769
Remove sleeps 2020-06-20 22:18:38 +02:00
Carles Fernandez 87989ead0a
Fix for clang-tidy 2020-06-19 15:37:28 +02:00
Carles Fernandez bc0cc69d76
Fix clang-format job 2020-06-19 13:01:22 +02:00
Carles Fernandez 0d5b5894b4
Sort header files 2020-06-19 12:39:28 +02:00
Carles Fernandez f6058c6b61
Use unique_ptr for fft 2020-06-19 10:26:06 +02:00
Carles Fernandez 3e23b4a08c
Indicate with a prefix the private data members for clarity, use unique_ptr instead of shared_ptr 2020-06-19 03:51:50 +02:00
Carles Fernandez 317d72dd4c
Indicate with a prefix the private data members for clarity 2020-06-19 03:22:01 +02:00
Carles Fernandez 7ef64860c4
Indicate with a prefix the private data members for clarity 2020-06-19 02:15:56 +02:00
Carles Fernandez 8abcc2e24b
Indicate with a prefix the private data members for clarity 2020-06-19 01:36:36 +02:00
Carles Fernandez 45c20f08ac
Use unique_ptr instead of shared_ptr for d_gnss_synchro_history, and code cleaning 2020-06-19 00:32:19 +02:00
Carles Fernandez b08082e1be
Raw pointer interface for the Monitor_Pvt sink 2020-06-18 20:40:53 +02:00
Carles Fernandez 81af1a531b
Redesign of pointer management
Avoid indirection caused by passing shared_ptr by reference

The block factory does not have responsability on the lifetime of their inputs

Define std::make_unique when using C++11 and make use of it

Printers are turned into unique_ptr to express ownership

Printers do not participate on the lifelime of the data, so they take const raw pointers

Modernize tests code
2020-06-18 11:49:28 +02:00
Carles Fernandez 7307e82d48
Fix for gcc < 8 2020-06-16 14:00:12 +02:00
Carles Fernandez 8932427d7a
Fix for gcc < 8 2020-06-16 13:35:00 +02:00
Carles Fernandez 026e0f5c1b
Fix for old gcc 2020-06-16 13:04:02 +02:00
Carles Fernandez 771fbf1365
Make use of std::rotl (C++20) if available 2020-06-16 12:22:37 +02:00
Carles Fernandez 094f8f2ee9
Remove unneded reset of the acquisition grid 2020-06-16 08:29:10 +02:00
Carles Fernandez bd4a354f9a
Fix ENABLE_CLANG_TIDY option 2020-06-14 13:00:36 +02:00
Carles Fernandez b712c98a5b
Make clang-tidy happy 2020-06-13 21:13:46 +02:00
Carles Fernandez dcf9bc52c4
Clarify source definition 2020-06-13 14:32:08 +02:00
Carles Fernandez d40c225ade
Add BLAS::BLAS AND LAPACK::LAPACK imported targets 2020-06-13 13:43:00 +02:00
Carles Fernandez ee84f60fb4
Simplify CMake scripts 2020-06-13 10:56:49 +02:00
Carles Fernandez 0df4277d36
Unify criteria in target definitions, more informative names 2020-06-13 00:32:40 +02:00
Carles Fernandez d14e69ef5a
Do not pollute the source directory if the software is built from an out-of-source-tree directory
External sources and data are now always stored in a ./thirdparty folder under the building directory.

A copy of the generated binaries will be stored under gnss-sdr/install, if the building directory is inside the source tree, or in an ./install folder under the building directory if it is outside the source tree.
Fix a bug that broke compilation if the user configured the building without extra testing in a first instance, and then switched the testing buiding options to ON in a later build.

Fix extra test building if GPSTk was already installed and Boost >= 1.71
2020-06-12 20:51:26 +02:00
Carles Fernandez 034d25c8d3
Do not emit warnings due to Protocol Buffers generated code 2020-06-11 15:16:40 +02:00
Carles Fernandez 65a25a47c5
Speed optimization by reserving memory for a std::vector 2020-06-11 13:39:38 +02:00
Carles Fernandez 44eba473a4
Replace a macro by a lambda 2020-06-11 13:32:18 +02:00
Carles Fernandez 836e074f98
Add building option ENABLE_STRIP to enable the generation of stripped binaries (without debgging information). Set to OFF by default 2020-06-10 17:22:03 +02:00
Carles Fernandez 34a250246a
Simplify initializations in system_parameters library 2020-06-10 10:15:59 +02:00
Carles Fernandez 72c820f9ee
Fix cmakelint job 2020-06-09 01:17:48 +02:00
Carles Fernandez 904bef433f
Fix cmakelint job 2020-06-09 01:10:31 +02:00
Carles Fernandez 2a3d682f1f
Make use of target_sources(), make use of target propagation to reduce redundancy in dependencies, some fixes for Clang and CMake < 3.11. Use generic lambdas with auto 2020-06-08 20:04:01 +02:00
Carles Fernandez 4913756a05
Replace <boost/bind.hpp> by <boost/bind/bind.hpp> 2020-06-06 23:41:38 +02:00
Carles Fernandez d2e9b0aece
Fix for Boost 1.73 2020-06-06 20:07:00 +02:00
Carles Fernandez cd2dfe0bc2
Fix for Boost 1.73 2020-06-06 14:11:19 +02:00
Carles Fernandez 017445040b
Merge branch 'Processing_Files' of https://github.com/piyush0411/gnss-sdr into piyush0411-Processing_Files 2020-06-04 14:11:35 +02:00
piyush0411 2b66cd1da2 Changed two files. 2020-06-04 07:51:37 +05:30
piyush0411 261d841deb Further Modifications done 2020-06-03 18:06:31 +05:30
piyush0411 bc0b32bc64 Made the changes. 2020-06-03 01:33:53 +05:30
piyush0411 2700c1c262 Fixed a typo 2020-06-01 21:23:41 +05:30
piyush0411 3f17a207fd Modified Signal Processing Files 2020-06-01 19:59:42 +05:30
Carles Fernandez 487971fd83
Merge branch 'fix-enum' into next
Fix deprecated enum usage (in Clang 10, arithmetic between different enumeration types is deprecated [-Wdeprecated-anon-enum-enum-conversion])

Fix defect detected by Coverity Scan in Rtcm_Message class (Destination buffer too small: Buffer this->data_ contains 0 characters and is not null-terminated. Copying 6 characters from it overruns this->data_)
2020-05-30 12:31:08 +02:00
Carles Fernandez 2f3f63309b
Fix for GCC 4.9 using std::array instead of char array 2020-05-30 09:40:20 +02:00