1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-07-01 09:23:15 +00:00
Commit Graph

21 Commits

Author SHA1 Message Date
Carles Fernandez
7132ee720a
Remove useless casts 2023-11-14 13:42:44 +01:00
Carles Fernandez
26964a365a
Fix program termination when usign extended intergration times
Reorder private data members, initialize them in constructor list
2021-12-28 13:59:57 +01:00
Carles Fernandez
aae48af5d4
Warn about missing SignalSource.sampling_frequency parameter 2021-12-17 14:05:36 +01:00
Carles Fernandez
835e799770
Fixes for clang-format 13 2021-10-18 18:24:07 +02:00
Lenhart
de57a26312 renamed is_complex to is_interleaved to better describe behavior, modernized c-style cast, fixed typo 2021-04-17 18:55:20 +02:00
Carles Fernandez
2e1e3b6308
Silence clang-tidy check 2021-02-24 12:09:13 +01:00
Carles Fernandez
9403560427
Return back init() to connect() 2021-02-17 22:13:20 +01:00
Carles Fernandez
03e53477c7
Apply some mostly cosmetic changes
This is not so cosmetic: Moved init() chores from connect() to the constructor for consistency with other implementations. Not relevant here since files are not processed in real-time, but is it common practice in other blocks to set everything needed (and get all the resources) in the constructor, before connect()

Moved the constructor code to the top of the file, also for consistency with other files. This is an opinionated practice, I know, since one could expect the same order than in the header file.

Improved comment formatting for Doxygen

Added and removed some blank lines to match the style of other files (two blank lines within method implementations, no two consecutive blank lines inside the method. Again opinionated, but for the sake of consistency.

Included the <tuple> library (include what you use)
2021-02-17 22:07:22 +01:00
Carles Fernandez
f703990a09
Fix building when using C++11
Update changelog
2021-02-17 09:43:05 +01:00
Jim Melton
a8959bdd87
more clang-tidy cleanup/suppression 2021-02-15 22:56:30 -07:00
Jim Melton
c67f23c913
fix clang-tidy complaints
some of these are ridiculous and so have been silenced. I'm a huge fan
of static code analysis but I have a hard time believing that writing
"0U" is a qualitative improvement over "0u".
2021-02-15 21:30:50 -07:00
Jim Melton
35f07b76a0
the Mac compiler is really annoying (and not that arguably correct...) 2021-02-15 18:37:38 -07:00
Jim Melton
957a13e6ef
fix MacOS ambiguity error 2021-02-15 17:51:42 -07:00
Jim Melton
6e04a42c8a
clang-format
This was much worse than I thought. I had run clang-format at some point, but
apparently I subsequently made some non-compliant changes in pretty much every
file I touched.
2021-02-15 15:34:48 -07:00
Jim Melton
41c7a7ad7d
fix whitespace 2021-02-15 13:46:12 -07:00
Jim Melton
75483e1d2d
refactor two_bit_packed_file_signal_source
(signed for DCO)
2021-02-15 13:15:50 -07:00
Jim Melton
4399aa5d10 next round of abstraction. Add nsr_file_signal_source 2021-02-15 11:47:13 -07:00
Jim Melton
1854cec106 first subclass of file_source_base
Refactored the base implementation to add appropriate virtual hooks so subclasses
can easily extend without duplicating a lot of code.
2021-02-15 11:47:13 -07:00
Jim Melton
a3c9dd4325 remove commented code 2021-02-15 11:47:13 -07:00
Jim Melton
4282386a30 simplify get_right_block() 2021-02-15 11:47:13 -07:00
Jim Melton
e0eb4bd769 initial implementation of common file source base class
Only the file_signal_source uses it at this time; changing multi-channel
to use it can be done with a little work
2021-02-15 11:47:13 -07:00