20 #ifndef GNSS_SDR_GNSS_SYNCHRO_H 21 #define GNSS_SDR_GNSS_SYNCHRO_H 23 #include <boost/serialization/nvp.hpp> 93 this->
Signal[0] = rhs.Signal[0];
94 this->
Signal[1] = rhs.Signal[1];
95 this->
Signal[2] = rhs.Signal[2];
132 this->
System = other.System;
133 this->
Signal[0] = other.Signal[0];
134 this->
Signal[1] = other.Signal[1];
135 this->
Signal[2] = other.Signal[2];
136 this->
PRN = other.PRN;
162 other.Signal[0] =
'\0';
163 other.Signal[1] =
'\0';
164 other.Signal[2] =
'\0';
167 other.Channel_ID = 0;
168 other.Acq_delay_samples = 0.0;
169 other.Acq_doppler_hz = 0.0;
170 other.Acq_samplestamp_samples = 0;
171 other.Acq_doppler_step = 0;
173 other.Prompt_I = 0.0;
174 other.Prompt_Q = 0.0;
175 other.CN0_dB_hz = 0.0;
176 other.Carrier_Doppler_hz = 0.0;
177 other.Carrier_phase_rads = 0.0;
178 other.Code_phase_samples = 0.0;
179 other.Tracking_sample_counter = 0;
180 other.correlation_length_ms = 0;
181 other.TOW_at_current_symbol_ms = 0;
182 other.Pseudorange_m = 0.0;
184 other.interp_TOW_ms = 0.0;
185 other.Flag_valid_acquisition =
false;
186 other.Flag_valid_symbol_output =
false;
187 other.Flag_valid_word =
false;
188 other.Flag_valid_pseudorange =
false;
189 other.Flag_PLL_180_deg_phase_locked =
false;
198 template <
class Archive>
206 ar& BOOST_SERIALIZATION_NVP(
System);
207 ar& BOOST_SERIALIZATION_NVP(
Signal);
208 ar& BOOST_SERIALIZATION_NVP(
PRN);
216 ar& BOOST_SERIALIZATION_NVP(
fs);
217 ar& BOOST_SERIALIZATION_NVP(
Prompt_I);
218 ar& BOOST_SERIALIZATION_NVP(
Prompt_Q);
229 ar& BOOST_SERIALIZATION_NVP(
RX_time);
243 #endif // GNSS_SDR_GNSS_SYNCHRO_H double Prompt_Q
Set by Tracking processing block.
double Pseudorange_m
Set by Observables processing block.
int32_t Channel_ID
Set by Channel constructor.
char Signal[3]
Set by Channel::set_signal(Gnss_Signal gnss_signal)
uint32_t PRN
Set by Channel::set_signal(Gnss_Signal gnss_signal)
Gnss_Synchro & operator=(const Gnss_Synchro &rhs) noexcept
Copy assignment operator.
void serialize(Archive &ar, const unsigned int version)
This member function serializes and restores Gnss_Synchro objects from a byte stream.
bool Flag_valid_pseudorange
Set by Observables processing block.
uint32_t TOW_at_current_symbol_ms
Set by Telemetry Decoder processing block.
int32_t correlation_length_ms
Set by Tracking processing block.
double Carrier_phase_rads
Set by Tracking processing block.
char System
Set by Channel::set_signal(Gnss_Signal gnss_signal)
Gnss_Synchro()=default
Default constructor.
This is the class that contains the information that is shared by the processing blocks.
double Acq_delay_samples
Set by Acquisition processing block.
uint64_t Acq_samplestamp_samples
Set by Acquisition processing block.
double Carrier_Doppler_hz
Set by Tracking processing block.
bool Flag_valid_symbol_output
Set by Tracking processing block.
double Acq_doppler_hz
Set by Acquisition processing block.
double RX_time
Set by Observables processing block.
double CN0_dB_hz
Set by Tracking processing block.
int64_t fs
Set by Tracking processing block.
Gnss_Synchro & operator=(Gnss_Synchro &&other) noexcept
Move assignment operator.
double Prompt_I
Set by Tracking processing block.
~Gnss_Synchro()=default
Default destructor.
uint64_t Tracking_sample_counter
Set by Tracking processing block.
double interp_TOW_ms
Set by Observables processing block.
double Code_phase_samples
Set by Tracking processing block.
uint32_t Acq_doppler_step
Set by Acquisition processing block.
bool Flag_valid_acquisition
Set by Acquisition processing block.
bool Flag_PLL_180_deg_phase_locked
Set by Telemetry Decoder processing block.
bool Flag_valid_word
Set by Telemetry Decoder processing block.