mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-13 19:50:34 +00:00
taking GNSS_Synchro as reference and not by value
This commit is contained in:
parent
6ecd6ebe52
commit
70c97178fa
@ -173,7 +173,7 @@ gr::basic_block_sptr Channel::get_right_block()
|
||||
|
||||
|
||||
|
||||
void Channel::set_signal(Gnss_Signal gnss_signal)
|
||||
void Channel::set_signal(const Gnss_Signal& gnss_signal)
|
||||
{
|
||||
gnss_signal_ = gnss_signal;
|
||||
std::string str_aux = gnss_signal_.get_signal_str();
|
||||
|
@ -81,7 +81,7 @@ public:
|
||||
TrackingInterface* tracking(){ return trk_; }
|
||||
TelemetryDecoderInterface* telemetry(){ return nav_; }
|
||||
void start_acquisition(); //!< Start the State Machine
|
||||
void set_signal(Gnss_Signal gnss_signal_); //!< Sets the channel GNSS signal
|
||||
void set_signal(const Gnss_Signal& gnss_signal_); //!< Sets the channel GNSS signal
|
||||
void start(); //!< Start the thread
|
||||
void standby();
|
||||
/*!
|
||||
|
@ -53,7 +53,7 @@ class ChannelInterface: public GNSSBlockInterface
|
||||
public:
|
||||
virtual Gnss_Signal get_signal() const = 0;
|
||||
virtual void start_acquisition() = 0;
|
||||
virtual void set_signal(Gnss_Signal) = 0;
|
||||
virtual void set_signal(const Gnss_Signal&) = 0;
|
||||
virtual void start() = 0;
|
||||
virtual void standby() = 0;
|
||||
virtual void stop() = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user