mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 15:23:04 +00:00 
			
		
		
		
	Refactor private implementation of flowgraph connection and disconnection
This commit is contained in:
		
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -153,7 +153,7 @@ public: | ||||
|      */ | ||||
|     void priorize_satellites(const std::vector<std::pair<int, Gnss_Satellite>>& visible_satellites); | ||||
|  | ||||
| #ifdef ENABLE_FPGA | ||||
| #if ENABLE_FPGA | ||||
|     void start_acquisition_helper(); | ||||
|  | ||||
|     void perform_hw_reset(); | ||||
| @@ -161,6 +161,49 @@ public: | ||||
|  | ||||
| private: | ||||
|     void init();  // Populates the SV PRN list available for acquisition and tracking | ||||
|     int connect_desktop_flowgraph(); | ||||
|  | ||||
|     int connect_signal_sources(); | ||||
|     int connect_signal_conditioners(); | ||||
|     int connect_channels(); | ||||
|     int connect_observables(); | ||||
|     int connect_pvt(); | ||||
|     int connect_sample_counter(); | ||||
|  | ||||
|     int connect_signal_sources_to_signal_conditioners(); | ||||
|     int connect_signal_conditioners_to_channels(); | ||||
|     int connect_channels_to_observables(); | ||||
|     int connect_observables_to_pvt(); | ||||
|     int connect_monitors(); | ||||
|     int connect_gnss_synchro_monitor(); | ||||
|     int connect_acquisition_monitor(); | ||||
|     int connect_tracking_monitor(); | ||||
|  | ||||
|     int disconnect_desktop_flowgraph(); | ||||
|  | ||||
|     int disconnect_signal_sources(); | ||||
|     int disconnect_signal_conditioners(); | ||||
|     int disconnect_channels(); | ||||
|     int disconnect_observables(); | ||||
|     int disconnect_pvt(); | ||||
|     int disconnect_sample_counter(); | ||||
|  | ||||
|     int disconnect_signal_sources_from_signal_conditioners(); | ||||
|     int disconnect_signal_conditioners_from_channels(); | ||||
|     int disconnect_channels_from_observables(); | ||||
|     int disconnect_observables_from_pvt(); | ||||
|     int disconnect_monitors(); | ||||
|  | ||||
| #if ENABLE_FPGA | ||||
|     int connect_fpga_flowgraph(); | ||||
|     int disconnect_fpga_flowgraph(); | ||||
|     int connect_fpga_sample_counter(); | ||||
|     int disconnect_fpga_sample_counter(); | ||||
| #endif | ||||
|  | ||||
|     void assign_channels(); | ||||
|     void check_signal_conditioners(); | ||||
|  | ||||
|     void set_signals_list(); | ||||
|     void set_channels_state();  // Initializes the channels state (start acquisition or keep standby) | ||||
|                                 // using the configuration parameters (number of channels and max channels in acquisition) | ||||
| @@ -178,6 +221,7 @@ private: | ||||
|     bool is_multiband() const; | ||||
|  | ||||
|     std::vector<std::string> split_string(const std::string& s, char delim); | ||||
|     std::vector<bool> signal_conditioner_connected_; | ||||
|  | ||||
|     gr::top_block_sptr top_block_; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez