mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 07:13:03 +00:00 
			
		
		
		
	Apply clang-tidy
This commit is contained in:
		| @@ -44,7 +44,7 @@ | ||||
|  | ||||
| FileSignalSource::FileSignalSource(ConfigurationInterface* configuration, | ||||
|     const std::string& role, unsigned int in_streams, unsigned int out_streams, | ||||
|     std::shared_ptr<Concurrent_Queue<pmt::pmt_t>> queue) : role_(role), in_streams_(in_streams), out_streams_(out_streams), queue_(std::move(queue)) | ||||
|     const std::shared_ptr<Concurrent_Queue<pmt::pmt_t>>& queue) : role_(role), in_streams_(in_streams), out_streams_(out_streams), queue_(std::move(queue)) | ||||
| { | ||||
|     std::string default_filename = "./example_capture.dat"; | ||||
|     std::string default_item_type = "short"; | ||||
|   | ||||
| @@ -57,7 +57,7 @@ class FileSignalSource : public GNSSBlockInterface | ||||
| public: | ||||
|     FileSignalSource(ConfigurationInterface* configuration, const std::string& role, | ||||
|         unsigned int in_streams, unsigned int out_streams, | ||||
|         std::shared_ptr<Concurrent_Queue<pmt::pmt_t>> queue); | ||||
|         const std::shared_ptr<Concurrent_Queue<pmt::pmt_t>>& queue); | ||||
|  | ||||
|     ~FileSignalSource() = default; | ||||
|  | ||||
|   | ||||
| @@ -43,7 +43,7 @@ | ||||
|  | ||||
| MultichannelFileSignalSource::MultichannelFileSignalSource(ConfigurationInterface* configuration, | ||||
|     const std::string& role, unsigned int in_streams, unsigned int out_streams, | ||||
|     std::shared_ptr<Concurrent_Queue<pmt::pmt_t>> queue) : role_(role), in_streams_(in_streams), out_streams_(out_streams), queue_(std::move(queue)) | ||||
|     const std::shared_ptr<Concurrent_Queue<pmt::pmt_t>>& queue) : role_(role), in_streams_(in_streams), out_streams_(out_streams), queue_(std::move(queue)) | ||||
| { | ||||
|     std::string default_filename = "./example_capture.dat"; | ||||
|     std::string default_item_type = "short"; | ||||
|   | ||||
| @@ -58,7 +58,7 @@ class MultichannelFileSignalSource : public GNSSBlockInterface | ||||
| public: | ||||
|     MultichannelFileSignalSource(ConfigurationInterface* configuration, const std::string& role, | ||||
|         unsigned int in_streams, unsigned int out_streams, | ||||
|         std::shared_ptr<Concurrent_Queue<pmt::pmt_t>> queue); | ||||
|         const std::shared_ptr<Concurrent_Queue<pmt::pmt_t>>& queue); | ||||
|  | ||||
|     ~MultichannelFileSignalSource() = default; | ||||
|  | ||||
|   | ||||
| @@ -44,7 +44,7 @@ | ||||
|  | ||||
| NsrFileSignalSource::NsrFileSignalSource(ConfigurationInterface* configuration, | ||||
|     const std::string& role, unsigned int in_streams, unsigned int out_streams, | ||||
|     std::shared_ptr<Concurrent_Queue<pmt::pmt_t>> queue) : role_(role), in_streams_(in_streams), out_streams_(out_streams), queue_(std::move(queue)) | ||||
|     const std::shared_ptr<Concurrent_Queue<pmt::pmt_t>>& queue) : role_(role), in_streams_(in_streams), out_streams_(out_streams), queue_(std::move(queue)) | ||||
| { | ||||
|     std::string default_filename = "../data/my_capture.dat"; | ||||
|     std::string default_item_type = "byte"; | ||||
|   | ||||
| @@ -57,7 +57,7 @@ class NsrFileSignalSource : public GNSSBlockInterface | ||||
| public: | ||||
|     NsrFileSignalSource(ConfigurationInterface* configuration, const std::string& role, | ||||
|         unsigned int in_streams, unsigned int out_streams, | ||||
|         std::shared_ptr<Concurrent_Queue<pmt::pmt_t>> queue); | ||||
|         const std::shared_ptr<Concurrent_Queue<pmt::pmt_t>>& queue); | ||||
|  | ||||
|     ~NsrFileSignalSource() = default; | ||||
|     inline std::string role() override | ||||
|   | ||||
| @@ -43,7 +43,7 @@ | ||||
|  | ||||
| SpirFileSignalSource::SpirFileSignalSource(ConfigurationInterface* configuration, | ||||
|     const std::string& role, unsigned int in_streams, unsigned int out_streams, | ||||
|     std::shared_ptr<Concurrent_Queue<pmt::pmt_t>> queue) : role_(role), in_streams_(in_streams), out_streams_(out_streams), queue_(std::move(queue)) | ||||
|     const std::shared_ptr<Concurrent_Queue<pmt::pmt_t>>& queue) : role_(role), in_streams_(in_streams), out_streams_(out_streams), queue_(std::move(queue)) | ||||
| { | ||||
|     std::string default_filename = "../data/my_capture.dat"; | ||||
|     std::string default_item_type = "int"; | ||||
|   | ||||
| @@ -55,7 +55,7 @@ class SpirFileSignalSource : public GNSSBlockInterface | ||||
| public: | ||||
|     SpirFileSignalSource(ConfigurationInterface* configuration, const std::string& role, | ||||
|         unsigned int in_streams, unsigned int out_streams, | ||||
|         std::shared_ptr<Concurrent_Queue<pmt::pmt_t>> queue); | ||||
|         const std::shared_ptr<Concurrent_Queue<pmt::pmt_t>>& queue); | ||||
|  | ||||
|     ~SpirFileSignalSource() = default; | ||||
|     inline std::string role() override | ||||
|   | ||||
| @@ -45,10 +45,10 @@ TwoBitCpxFileSignalSource::TwoBitCpxFileSignalSource(ConfigurationInterface* con | ||||
|     const std::string& role, | ||||
|     unsigned int in_streams, | ||||
|     unsigned int out_streams, | ||||
|     std::shared_ptr<Concurrent_Queue<pmt::pmt_t>> queue) : role_(role), | ||||
|                                                            in_streams_(in_streams), | ||||
|                                                            out_streams_(out_streams), | ||||
|                                                            queue_(std::move(queue)) | ||||
|     const std::shared_ptr<Concurrent_Queue<pmt::pmt_t>>& queue) : role_(role), | ||||
|                                                                   in_streams_(in_streams), | ||||
|                                                                   out_streams_(out_streams), | ||||
|                                                                   queue_(std::move(queue)) | ||||
| { | ||||
|     std::string default_filename = "../data/my_capture.dat"; | ||||
|     std::string default_item_type = "byte"; | ||||
|   | ||||
| @@ -61,7 +61,7 @@ public: | ||||
|         const std::string& role, | ||||
|         unsigned int in_streams, | ||||
|         unsigned int out_streams, | ||||
|         std::shared_ptr<Concurrent_Queue<pmt::pmt_t>> queue); | ||||
|         const std::shared_ptr<Concurrent_Queue<pmt::pmt_t>>& queue); | ||||
|  | ||||
|     ~TwoBitCpxFileSignalSource() = default; | ||||
|     inline std::string role() override | ||||
|   | ||||
| @@ -47,10 +47,10 @@ TwoBitPackedFileSignalSource::TwoBitPackedFileSignalSource(ConfigurationInterfac | ||||
|     const std::string& role, | ||||
|     unsigned int in_streams, | ||||
|     unsigned int out_streams, | ||||
|     std::shared_ptr<Concurrent_Queue<pmt::pmt_t>> queue) : role_(role), | ||||
|                                                            in_streams_(in_streams), | ||||
|                                                            out_streams_(out_streams), | ||||
|                                                            queue_(std::move(queue)) | ||||
|     const std::shared_ptr<Concurrent_Queue<pmt::pmt_t>>& queue) : role_(role), | ||||
|                                                                   in_streams_(in_streams), | ||||
|                                                                   out_streams_(out_streams), | ||||
|                                                                   queue_(std::move(queue)) | ||||
| { | ||||
|     std::string default_filename = "../data/my_capture.dat"; | ||||
|     std::string default_item_type = "byte"; | ||||
|   | ||||
| @@ -60,7 +60,7 @@ class TwoBitPackedFileSignalSource : public GNSSBlockInterface | ||||
| public: | ||||
|     TwoBitPackedFileSignalSource(ConfigurationInterface* configuration, const std::string& role, | ||||
|         unsigned int in_streams, unsigned int out_streams, | ||||
|         std::shared_ptr<Concurrent_Queue<pmt::pmt_t>> queue); | ||||
|         const std::shared_ptr<Concurrent_Queue<pmt::pmt_t>>& queue); | ||||
|  | ||||
|     ~TwoBitPackedFileSignalSource() = default; | ||||
|     inline std::string role() override | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez