1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 04:30:33 +00:00

Use the override special identifier when overriding a virtual function

This commit is contained in:
Carles Fernandez 2017-08-16 00:58:10 +02:00
parent e2f02a50f0
commit 07113fd89d
58 changed files with 727 additions and 610 deletions

View File

@ -53,29 +53,29 @@ public:
virtual ~RtklibPvt(); virtual ~RtklibPvt();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
//! Returns "RTKLIB_Pvt" //! Returns "RTKLIB_Pvt"
std::string implementation() std::string implementation() override
{ {
return "RTKLIB_PVT"; return "RTKLIB_PVT";
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
void reset() void reset() override
{ {
return; return;
} }
//! All blocks must have an item_size() function implementation. Returns sizeof(gr_complex) //! All blocks must have an item_size() function implementation. Returns sizeof(gr_complex)
size_t item_size() size_t item_size() override
{ {
return sizeof(gr_complex); return sizeof(gr_complex);
} }

View File

@ -54,7 +54,7 @@ public:
virtual ~GalileoE1Pcps8msAmbiguousAcquisition(); virtual ~GalileoE1Pcps8msAmbiguousAcquisition();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
@ -62,66 +62,67 @@ public:
/*! /*!
* \brief Returns "Galileo_E1_PCPS_8ms_Ambiguous_Acquisition" * \brief Returns "Galileo_E1_PCPS_8ms_Ambiguous_Acquisition"
*/ */
std::string implementation() std::string implementation() override
{ {
return "Galileo_E1_PCPS_8ms_Ambiguous_Acquisition"; return "Galileo_E1_PCPS_8ms_Ambiguous_Acquisition";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and * to efficiently exchange synchronization data between acquisition and
* tracking blocks * tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
/*! /*!
* \brief Set acquisition channel unique ID * \brief Set acquisition channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set statistics threshold of PCPS algorithm * \brief Set statistics threshold of PCPS algorithm
*/ */
void set_threshold(float threshold); void set_threshold(float threshold) override;
/*! /*!
* \brief Set maximum Doppler off grid search * \brief Set maximum Doppler off grid search
*/ */
void set_doppler_max(unsigned int doppler_max); void set_doppler_max(unsigned int doppler_max) override;
/*! /*!
* \brief Set Doppler steps for the grid search * \brief Set Doppler steps for the grid search
*/ */
void set_doppler_step(unsigned int doppler_step); void set_doppler_step(unsigned int doppler_step) override;
/*! /*!
* \brief Initializes acquisition algorithm. * \brief Initializes acquisition algorithm.
*/ */
void init(); void init() override;
/*! /*!
* \brief Sets local code for Galileo E1 PCPS acquisition algorithm. * \brief Sets local code for Galileo E1 PCPS acquisition algorithm.
*/ */
void set_local_code(); void set_local_code() override;
/*! /*!
* \brief Returns the maximum peak of grid search * \brief Returns the maximum peak of grid search
*/ */
signed int mag(); signed int mag() override;
/*! /*!
* \brief Restart acquisition algorithm * \brief Restart acquisition algorithm
*/ */
void reset(); void reset() override;
private: private:
ConfigurationInterface* configuration_; ConfigurationInterface* configuration_;

View File

@ -58,7 +58,7 @@ public:
virtual ~GalileoE1PcpsAmbiguousAcquisition(); virtual ~GalileoE1PcpsAmbiguousAcquisition();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
@ -66,66 +66,67 @@ public:
/*! /*!
* \brief Returns "Galileo_E1_PCPS_Ambiguous_Acquisition" * \brief Returns "Galileo_E1_PCPS_Ambiguous_Acquisition"
*/ */
std::string implementation() std::string implementation() override
{ {
return "Galileo_E1_PCPS_Ambiguous_Acquisition"; return "Galileo_E1_PCPS_Ambiguous_Acquisition";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and * to efficiently exchange synchronization data between acquisition and
* tracking blocks * tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
/*! /*!
* \brief Set acquisition channel unique ID * \brief Set acquisition channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set statistics threshold of PCPS algorithm * \brief Set statistics threshold of PCPS algorithm
*/ */
void set_threshold(float threshold); void set_threshold(float threshold) override;
/*! /*!
* \brief Set maximum Doppler off grid search * \brief Set maximum Doppler off grid search
*/ */
void set_doppler_max(unsigned int doppler_max); void set_doppler_max(unsigned int doppler_max) override;
/*! /*!
* \brief Set Doppler steps for the grid search * \brief Set Doppler steps for the grid search
*/ */
void set_doppler_step(unsigned int doppler_step); void set_doppler_step(unsigned int doppler_step) override;
/*! /*!
* \brief Initializes acquisition algorithm. * \brief Initializes acquisition algorithm.
*/ */
void init(); void init() override;
/*! /*!
* \brief Sets local code for Galileo E1 PCPS acquisition algorithm. * \brief Sets local code for Galileo E1 PCPS acquisition algorithm.
*/ */
void set_local_code(); void set_local_code() override;
/*! /*!
* \brief Returns the maximum peak of grid search * \brief Returns the maximum peak of grid search
*/ */
signed int mag(); signed int mag() override;
/*! /*!
* \brief Restart acquisition algorithm * \brief Restart acquisition algorithm
*/ */
void reset(); void reset() override;
/*! /*!
* \brief If state = 1, it forces the block to start acquiring from the first sample * \brief If state = 1, it forces the block to start acquiring from the first sample

View File

@ -54,7 +54,7 @@ public:
virtual ~GalileoE1PcpsCccwsrAmbiguousAcquisition(); virtual ~GalileoE1PcpsCccwsrAmbiguousAcquisition();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
@ -62,63 +62,64 @@ public:
/*! /*!
* \brief Returns "Galileo_E1_PCPS_CCCWSR_Ambiguous_Acquisition" * \brief Returns "Galileo_E1_PCPS_CCCWSR_Ambiguous_Acquisition"
*/ */
std::string implementation() std::string implementation() override
{ {
return "Galileo_E1_PCPS_CCCWSR_Ambiguous_Acquisition"; return "Galileo_E1_PCPS_CCCWSR_Ambiguous_Acquisition";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and * to efficiently exchange synchronization data between acquisition and
* tracking blocks * tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
/*! /*!
* \brief Set acquisition channel unique ID * \brief Set acquisition channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set statistics threshold of CCCWSR algorithm * \brief Set statistics threshold of CCCWSR algorithm
*/ */
void set_threshold(float threshold); void set_threshold(float threshold) override;
/*! /*!
* \brief Set maximum Doppler off grid search * \brief Set maximum Doppler off grid search
*/ */
void set_doppler_max(unsigned int doppler_max); void set_doppler_max(unsigned int doppler_max) override;
/*! /*!
* \brief Set Doppler steps for the grid search * \brief Set Doppler steps for the grid search
*/ */
void set_doppler_step(unsigned int doppler_step); void set_doppler_step(unsigned int doppler_step) override;
/*! /*!
* \brief Initializes acquisition algorithm. * \brief Initializes acquisition algorithm.
*/ */
void init(); void init() override;
void set_local_code(); void set_local_code() override;
/*! /*!
* \brief Returns the maximum peak of grid search * \brief Returns the maximum peak of grid search
*/ */
signed int mag(); signed int mag() override;
/*! /*!
* \brief Restart acquisition algorithm * \brief Restart acquisition algorithm
*/ */
void reset(); void reset() override;
/*! /*!
* \brief If state = 1, it forces the block to start acquiring from the first sample * \brief If state = 1, it forces the block to start acquiring from the first sample

View File

@ -54,7 +54,7 @@ public:
virtual ~GalileoE1PcpsQuickSyncAmbiguousAcquisition(); virtual ~GalileoE1PcpsQuickSyncAmbiguousAcquisition();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
@ -62,66 +62,67 @@ public:
/*! /*!
* \brief Returns "Galileo_E1_PCPS_Ambiguous_Acquisition" * \brief Returns "Galileo_E1_PCPS_Ambiguous_Acquisition"
*/ */
std::string implementation() std::string implementation() override
{ {
return "Galileo_E1_PCPS_QuickSync_Ambiguous_Acquisition"; return "Galileo_E1_PCPS_QuickSync_Ambiguous_Acquisition";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and * to efficiently exchange synchronization data between acquisition and
* tracking blocks * tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
/*! /*!
* \brief Set acquisition channel unique ID * \brief Set acquisition channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set statistics threshold of PCPS algorithm * \brief Set statistics threshold of PCPS algorithm
*/ */
void set_threshold(float threshold); void set_threshold(float threshold) override;
/*! /*!
* \brief Set maximum Doppler off grid search * \brief Set maximum Doppler off grid search
*/ */
void set_doppler_max(unsigned int doppler_max); void set_doppler_max(unsigned int doppler_max) override;
/*! /*!
* \brief Set Doppler steps for the grid search * \brief Set Doppler steps for the grid search
*/ */
void set_doppler_step(unsigned int doppler_step); void set_doppler_step(unsigned int doppler_step) override;
/*! /*!
* \brief Initializes acquisition algorithm. * \brief Initializes acquisition algorithm.
*/ */
void init(); void init() override;
/*! /*!
* \brief Sets local code for Galileo E1 PCPS acquisition algorithm. * \brief Sets local code for Galileo E1 PCPS acquisition algorithm.
*/ */
void set_local_code(); void set_local_code() override;
/*! /*!
* \brief Returns the maximum peak of grid search * \brief Returns the maximum peak of grid search
*/ */
signed int mag(); signed int mag() override;
/*! /*!
* \brief Restart acquisition algorithm * \brief Restart acquisition algorithm
*/ */
void reset(); void reset() override;
/*! /*!
* \brief If state = 1, it forces the block to start acquiring from the first sample * \brief If state = 1, it forces the block to start acquiring from the first sample

View File

@ -54,7 +54,7 @@ public:
virtual ~GalileoE1PcpsTongAmbiguousAcquisition(); virtual ~GalileoE1PcpsTongAmbiguousAcquisition();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
@ -62,66 +62,67 @@ public:
/*! /*!
* \brief Returns "Galileo_E1_PCPS_Tong_Ambiguous_Acquisition" * \brief Returns "Galileo_E1_PCPS_Tong_Ambiguous_Acquisition"
*/ */
std::string implementation() std::string implementation() override
{ {
return "Galileo_E1_PCPS_Tong_Ambiguous_Acquisition"; return "Galileo_E1_PCPS_Tong_Ambiguous_Acquisition";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and * to efficiently exchange synchronization data between acquisition and
* tracking blocks * tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
/*! /*!
* \brief Set acquisition channel unique ID * \brief Set acquisition channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set statistics threshold of TONG algorithm * \brief Set statistics threshold of TONG algorithm
*/ */
void set_threshold(float threshold); void set_threshold(float threshold) override;
/*! /*!
* \brief Set maximum Doppler off grid search * \brief Set maximum Doppler off grid search
*/ */
void set_doppler_max(unsigned int doppler_max); void set_doppler_max(unsigned int doppler_max) override;
/*! /*!
* \brief Set Doppler steps for the grid search * \brief Set Doppler steps for the grid search
*/ */
void set_doppler_step(unsigned int doppler_step); void set_doppler_step(unsigned int doppler_step) override;
/*! /*!
* \brief Initializes acquisition algorithm. * \brief Initializes acquisition algorithm.
*/ */
void init(); void init() override;
/*! /*!
* \brief Sets local code for Galileo E1 TONG acquisition algorithm. * \brief Sets local code for Galileo E1 TONG acquisition algorithm.
*/ */
void set_local_code(); void set_local_code() override;
/*! /*!
* \brief Returns the maximum peak of grid search * \brief Returns the maximum peak of grid search
*/ */
signed int mag(); signed int mag() override;
/*! /*!
* \brief Restart acquisition algorithm * \brief Restart acquisition algorithm
*/ */
void reset(); void reset() override;
/*! /*!
* \brief If state = 1, it forces the block to start acquiring from the first sample * \brief If state = 1, it forces the block to start acquiring from the first sample

View File

@ -55,7 +55,7 @@ public:
virtual ~GalileoE5aNoncoherentIQAcquisitionCaf(); virtual ~GalileoE5aNoncoherentIQAcquisitionCaf();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
@ -63,67 +63,67 @@ public:
/*! /*!
* \brief Returns "Galileo_E5a_Noncoherent_IQ_Acquisition_CAF" * \brief Returns "Galileo_E5a_Noncoherent_IQ_Acquisition_CAF"
*/ */
std::string implementation() std::string implementation() override
{ {
return "Galileo_E5a_Noncoherent_IQ_Acquisition_CAF"; return "Galileo_E5a_Noncoherent_IQ_Acquisition_CAF";
} }
size_t item_size() size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and * to efficiently exchange synchronization data between acquisition and
* tracking blocks * tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
/*! /*!
* \brief Set acquisition channel unique ID * \brief Set acquisition channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set statistics threshold of PCPS algorithm * \brief Set statistics threshold of PCPS algorithm
*/ */
void set_threshold(float threshold); void set_threshold(float threshold) override;
/*! /*!
* \brief Set maximum Doppler off grid search * \brief Set maximum Doppler off grid search
*/ */
void set_doppler_max(unsigned int doppler_max); void set_doppler_max(unsigned int doppler_max) override;
/*! /*!
* \brief Set Doppler steps for the grid search * \brief Set Doppler steps for the grid search
*/ */
void set_doppler_step(unsigned int doppler_step); void set_doppler_step(unsigned int doppler_step) override;
/*! /*!
* \brief Initializes acquisition algorithm. * \brief Initializes acquisition algorithm.
*/ */
void init(); void init() override;
/*! /*!
* \brief Sets local Galileo E5a code for PCPS acquisition algorithm. * \brief Sets local Galileo E5a code for PCPS acquisition algorithm.
*/ */
void set_local_code(); void set_local_code() override;
/*! /*!
* \brief Returns the maximum peak of grid search * \brief Returns the maximum peak of grid search
*/ */
signed int mag(); signed int mag() override;
/*! /*!
* \brief Restart acquisition algorithm * \brief Restart acquisition algorithm
*/ */
void reset(); void reset() override;
/*! /*!
* \brief If set to 1, ensures that acquisition starts at the * \brief If set to 1, ensures that acquisition starts at the

View File

@ -63,7 +63,7 @@ public:
virtual ~GpsL1CaPcpsAcquisition(); virtual ~GpsL1CaPcpsAcquisition();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
@ -71,66 +71,67 @@ public:
/*! /*!
* \brief Returns "GPS_L1_CA_PCPS_Acquisition" * \brief Returns "GPS_L1_CA_PCPS_Acquisition"
*/ */
std::string implementation() std::string implementation() override
{ {
return "GPS_L1_CA_PCPS_Acquisition"; return "GPS_L1_CA_PCPS_Acquisition";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and * to efficiently exchange synchronization data between acquisition and
* tracking blocks * tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
/*! /*!
* \brief Set acquisition channel unique ID * \brief Set acquisition channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set statistics threshold of PCPS algorithm * \brief Set statistics threshold of PCPS algorithm
*/ */
void set_threshold(float threshold); void set_threshold(float threshold) override;
/*! /*!
* \brief Set maximum Doppler off grid search * \brief Set maximum Doppler off grid search
*/ */
void set_doppler_max(unsigned int doppler_max); void set_doppler_max(unsigned int doppler_max) override;
/*! /*!
* \brief Set Doppler steps for the grid search * \brief Set Doppler steps for the grid search
*/ */
void set_doppler_step(unsigned int doppler_step); void set_doppler_step(unsigned int doppler_step) override;
/*! /*!
* \brief Initializes acquisition algorithm. * \brief Initializes acquisition algorithm.
*/ */
void init(); void init() override;
/*! /*!
* \brief Sets local code for GPS L1/CA PCPS acquisition algorithm. * \brief Sets local code for GPS L1/CA PCPS acquisition algorithm.
*/ */
void set_local_code(); void set_local_code() override;
/*! /*!
* \brief Returns the maximum peak of grid search * \brief Returns the maximum peak of grid search
*/ */
signed int mag(); signed int mag() override;
/*! /*!
* \brief Restart acquisition algorithm * \brief Restart acquisition algorithm
*/ */
void reset(); void reset() override;
/*! /*!
* \brief If state = 1, it forces the block to start acquiring from the first sample * \brief If state = 1, it forces the block to start acquiring from the first sample

View File

@ -56,7 +56,7 @@ public:
virtual ~GpsL1CaPcpsAcquisitionFineDoppler(); virtual ~GpsL1CaPcpsAcquisitionFineDoppler();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
@ -64,63 +64,64 @@ public:
/*! /*!
* \brief Returns "GPS_L1_CA_PCPS_Acquisition_Fine_Doppler" * \brief Returns "GPS_L1_CA_PCPS_Acquisition_Fine_Doppler"
*/ */
std::string implementation() std::string implementation() override
{ {
return "GPS_L1_CA_PCPS_Acquisition_Fine_Doppler"; return "GPS_L1_CA_PCPS_Acquisition_Fine_Doppler";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(boost::shared_ptr<gr::top_block> top_block); void connect(boost::shared_ptr<gr::top_block> top_block) override;
void disconnect(boost::shared_ptr<gr::top_block> top_block); void disconnect(boost::shared_ptr<gr::top_block> top_block) override;
boost::shared_ptr<gr::basic_block> get_left_block(); boost::shared_ptr<gr::basic_block> get_left_block() override;
boost::shared_ptr<gr::basic_block> get_right_block(); boost::shared_ptr<gr::basic_block> get_right_block() override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and * to efficiently exchange synchronization data between acquisition and
* tracking blocks * tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
/*! /*!
* \brief Set acquisition channel unique ID * \brief Set acquisition channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set statistics threshold of PCPS algorithm * \brief Set statistics threshold of PCPS algorithm
*/ */
void set_threshold(float threshold); void set_threshold(float threshold) override;
/*! /*!
* \brief Set maximum Doppler off grid search * \brief Set maximum Doppler off grid search
*/ */
void set_doppler_max(unsigned int doppler_max); void set_doppler_max(unsigned int doppler_max) override;
/*! /*!
* \brief Set Doppler steps for the grid search * \brief Set Doppler steps for the grid search
*/ */
void set_doppler_step(unsigned int doppler_step); void set_doppler_step(unsigned int doppler_step) override;
/*! /*!
* \brief Initializes acquisition algorithm. * \brief Initializes acquisition algorithm.
*/ */
void init(); void init() override;
void set_local_code(); void set_local_code() override;
/*! /*!
* \brief Returns the maximum peak of grid search * \brief Returns the maximum peak of grid search
*/ */
signed int mag(); signed int mag() override;
/*! /*!
* \brief Restart acquisition algorithm * \brief Restart acquisition algorithm
*/ */
void reset(); void reset() override;
private: private:
pcps_acquisition_fine_doppler_cc_sptr acquisition_cc_; pcps_acquisition_fine_doppler_cc_sptr acquisition_cc_;

View File

@ -58,7 +58,7 @@ public:
virtual ~GpsL1CaPcpsAcquisitionFpga(); virtual ~GpsL1CaPcpsAcquisitionFpga();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
@ -66,66 +66,67 @@ public:
/*! /*!
* \brief Returns "GPS_L1_CA_PCPS_Acquisition" * \brief Returns "GPS_L1_CA_PCPS_Acquisition"
*/ */
std::string implementation() std::string implementation() override
{ {
return "GPS_L1_CA_PCPS_Acquisition_Fpga"; return "GPS_L1_CA_PCPS_Acquisition_Fpga";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and * to efficiently exchange synchronization data between acquisition and
* tracking blocks * tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
/*! /*!
* \brief Set acquisition channel unique ID * \brief Set acquisition channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set statistics threshold of PCPS algorithm * \brief Set statistics threshold of PCPS algorithm
*/ */
void set_threshold(float threshold); void set_threshold(float threshold) override;
/*! /*!
* \brief Set maximum Doppler off grid search * \brief Set maximum Doppler off grid search
*/ */
void set_doppler_max(unsigned int doppler_max); void set_doppler_max(unsigned int doppler_max) override;
/*! /*!
* \brief Set Doppler steps for the grid search * \brief Set Doppler steps for the grid search
*/ */
void set_doppler_step(unsigned int doppler_step); void set_doppler_step(unsigned int doppler_step) override;
/*! /*!
* \brief Initializes acquisition algorithm. * \brief Initializes acquisition algorithm.
*/ */
void init(); void init() override;
/*! /*!
* \brief Sets local code for GPS L1/CA PCPS acquisition algorithm. * \brief Sets local code for GPS L1/CA PCPS acquisition algorithm.
*/ */
void set_local_code(); void set_local_code() override;
/*! /*!
* \brief Returns the maximum peak of grid search * \brief Returns the maximum peak of grid search
*/ */
signed int mag(); signed int mag() override;
/*! /*!
* \brief Restart acquisition algorithm * \brief Restart acquisition algorithm
*/ */
void reset(); void reset() override;
/*! /*!
* \brief If state = 1, it forces the block to start acquiring from the first sample * \brief If state = 1, it forces the block to start acquiring from the first sample

View File

@ -56,7 +56,7 @@ public:
virtual ~GpsL1CaPcpsAssistedAcquisition(); virtual ~GpsL1CaPcpsAssistedAcquisition();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
@ -64,63 +64,64 @@ public:
/*! /*!
* \brief Returns "GPS_L1_CA_PCPS_Assisted_Acquisition" * \brief Returns "GPS_L1_CA_PCPS_Assisted_Acquisition"
*/ */
std::string implementation() std::string implementation() override
{ {
return "GPS_L1_CA_PCPS_Assisted_Acquisition"; return "GPS_L1_CA_PCPS_Assisted_Acquisition";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and * to efficiently exchange synchronization data between acquisition and
* tracking blocks * tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
/*! /*!
* \brief Set acquisition channel unique ID * \brief Set acquisition channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set statistics threshold of PCPS algorithm * \brief Set statistics threshold of PCPS algorithm
*/ */
void set_threshold(float threshold); void set_threshold(float threshold) override;
/*! /*!
* \brief Set maximum Doppler off grid search * \brief Set maximum Doppler off grid search
*/ */
void set_doppler_max(unsigned int doppler_max); void set_doppler_max(unsigned int doppler_max) override;
/*! /*!
* \brief Set Doppler steps for the grid search * \brief Set Doppler steps for the grid search
*/ */
void set_doppler_step(unsigned int doppler_step); void set_doppler_step(unsigned int doppler_step) override;
/*! /*!
* \brief Initializes acquisition algorithm. * \brief Initializes acquisition algorithm.
*/ */
void init(); void init() override;
void set_local_code(); void set_local_code() override;
/*! /*!
* \brief Returns the maximum peak of grid search * \brief Returns the maximum peak of grid search
*/ */
signed int mag(); signed int mag() override;
/*! /*!
* \brief Restart acquisition algorithm * \brief Restart acquisition algorithm
*/ */
void reset(); void reset() override;
private: private:
pcps_assisted_acquisition_cc_sptr acquisition_cc_; pcps_assisted_acquisition_cc_sptr acquisition_cc_;

View File

@ -55,7 +55,7 @@ public:
virtual ~GpsL1CaPcpsMultithreadAcquisition(); virtual ~GpsL1CaPcpsMultithreadAcquisition();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
@ -63,66 +63,67 @@ public:
/*! /*!
* \brief Returns "GPS_L1_CA_PCPS_Multithread_Acquisition" * \brief Returns "GPS_L1_CA_PCPS_Multithread_Acquisition"
*/ */
std::string implementation() std::string implementation() override
{ {
return "GPS_L1_CA_PCPS_Multithread_Acquisition"; return "GPS_L1_CA_PCPS_Multithread_Acquisition";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and * to efficiently exchange synchronization data between acquisition and
* tracking blocks * tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
/*! /*!
* \brief Set acquisition channel unique ID * \brief Set acquisition channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set statistics threshold of PCPS algorithm * \brief Set statistics threshold of PCPS algorithm
*/ */
void set_threshold(float threshold); void set_threshold(float threshold) override;
/*! /*!
* \brief Set maximum Doppler off grid search * \brief Set maximum Doppler off grid search
*/ */
void set_doppler_max(unsigned int doppler_max); void set_doppler_max(unsigned int doppler_max) override;
/*! /*!
* \brief Set Doppler steps for the grid search * \brief Set Doppler steps for the grid search
*/ */
void set_doppler_step(unsigned int doppler_step); void set_doppler_step(unsigned int doppler_step) override;
/*! /*!
* \brief Initializes acquisition algorithm. * \brief Initializes acquisition algorithm.
*/ */
void init(); void init() override;
/*! /*!
* \brief Sets local code for GPS L1/CA PCPS acquisition algorithm. * \brief Sets local code for GPS L1/CA PCPS acquisition algorithm.
*/ */
void set_local_code(); void set_local_code() override;
/*! /*!
* \brief Returns the maximum peak of grid search * \brief Returns the maximum peak of grid search
*/ */
signed int mag(); signed int mag() override;
/*! /*!
* \brief Restart acquisition algorithm * \brief Restart acquisition algorithm
*/ */
void reset(); void reset() override;
private: private:
ConfigurationInterface* configuration_; ConfigurationInterface* configuration_;

View File

@ -55,7 +55,7 @@ public:
virtual ~GpsL1CaPcpsOpenClAcquisition(); virtual ~GpsL1CaPcpsOpenClAcquisition();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
@ -63,66 +63,67 @@ public:
/*! /*!
* \brief Returns "GPS_L1_CA_PCPS_OpenCl_Acquisition" * \brief Returns "GPS_L1_CA_PCPS_OpenCl_Acquisition"
*/ */
std::string implementation() std::string implementation() override
{ {
return "GPS_L1_CA_PCPS_OpenCl_Acquisition"; return "GPS_L1_CA_PCPS_OpenCl_Acquisition";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and * to efficiently exchange synchronization data between acquisition and
* tracking blocks * tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
/*! /*!
* \brief Set acquisition channel unique ID * \brief Set acquisition channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set statistics threshold of PCPS algorithm * \brief Set statistics threshold of PCPS algorithm
*/ */
void set_threshold(float threshold); void set_threshold(float threshold) override;
/*! /*!
* \brief Set maximum Doppler off grid search * \brief Set maximum Doppler off grid search
*/ */
void set_doppler_max(unsigned int doppler_max); void set_doppler_max(unsigned int doppler_max) override;
/*! /*!
* \brief Set Doppler steps for the grid search * \brief Set Doppler steps for the grid search
*/ */
void set_doppler_step(unsigned int doppler_step); void set_doppler_step(unsigned int doppler_step) override;
/*! /*!
* \brief Initializes acquisition algorithm. * \brief Initializes acquisition algorithm.
*/ */
void init(); void init() override;
/*! /*!
* \brief Sets local code for GPS L1/CA PCPS acquisition algorithm. * \brief Sets local code for GPS L1/CA PCPS acquisition algorithm.
*/ */
void set_local_code(); void set_local_code() override;
/*! /*!
* \brief Returns the maximum peak of grid search * \brief Returns the maximum peak of grid search
*/ */
signed int mag(); signed int mag() override;
/*! /*!
* \brief Restart acquisition algorithm * \brief Restart acquisition algorithm
*/ */
void reset(); void reset() override;
private: private:
ConfigurationInterface* configuration_; ConfigurationInterface* configuration_;

View File

@ -57,7 +57,7 @@ public:
virtual ~GpsL1CaPcpsQuickSyncAcquisition(); virtual ~GpsL1CaPcpsQuickSyncAcquisition();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
@ -65,66 +65,67 @@ public:
/*! /*!
* \brief Returns "GPS_L1_CA_PCPS_QuickSync_Acquisition" * \brief Returns "GPS_L1_CA_PCPS_QuickSync_Acquisition"
*/ */
std::string implementation() std::string implementation() override
{ {
return "GPS_L1_CA_PCPS_QuickSync_Acquisition"; return "GPS_L1_CA_PCPS_QuickSync_Acquisition";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and * to efficiently exchange synchronization data between acquisition and
* tracking blocks * tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
/*! /*!
* \brief Set acquisition channel unique ID * \brief Set acquisition channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set statistics threshold of PCPS algorithm * \brief Set statistics threshold of PCPS algorithm
*/ */
void set_threshold(float threshold); void set_threshold(float threshold) override;
/*! /*!
* \brief Set maximum Doppler off grid search * \brief Set maximum Doppler off grid search
*/ */
void set_doppler_max(unsigned int doppler_max); void set_doppler_max(unsigned int doppler_max) override;
/*! /*!
* \brief Set Doppler steps for the grid search * \brief Set Doppler steps for the grid search
*/ */
void set_doppler_step(unsigned int doppler_step); void set_doppler_step(unsigned int doppler_step) override;
/*! /*!
* \brief Initializes acquisition algorithm. * \brief Initializes acquisition algorithm.
*/ */
void init(); void init() override;
/*! /*!
* \brief Sets local code for GPS L1/CA PCPS acquisition algorithm. * \brief Sets local code for GPS L1/CA PCPS acquisition algorithm.
*/ */
void set_local_code(); void set_local_code() override;
/*! /*!
* \brief Returns the maximum peak of grid search * \brief Returns the maximum peak of grid search
*/ */
signed int mag(); signed int mag() override;
/*! /*!
* \brief Restart acquisition algorithm * \brief Restart acquisition algorithm
*/ */
void reset(); void reset() override;
/*! /*!
* \brief If state = 1, it forces the block to start acquiring from the first sample * \brief If state = 1, it forces the block to start acquiring from the first sample

View File

@ -54,7 +54,7 @@ public:
virtual ~GpsL1CaPcpsTongAcquisition(); virtual ~GpsL1CaPcpsTongAcquisition();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
@ -62,66 +62,67 @@ public:
/*! /*!
* \brief Returns "GPS_L1_CA_PCPS_Tong_Acquisition" * \brief Returns "GPS_L1_CA_PCPS_Tong_Acquisition"
*/ */
std::string implementation() std::string implementation() override
{ {
return "GPS_L1_CA_PCPS_Tong_Acquisition"; return "GPS_L1_CA_PCPS_Tong_Acquisition";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and * to efficiently exchange synchronization data between acquisition and
* tracking blocks * tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
/*! /*!
* \brief Set acquisition channel unique ID * \brief Set acquisition channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set statistics threshold of TONG algorithm * \brief Set statistics threshold of TONG algorithm
*/ */
void set_threshold(float threshold); void set_threshold(float threshold) override;
/*! /*!
* \brief Set maximum Doppler off grid search * \brief Set maximum Doppler off grid search
*/ */
void set_doppler_max(unsigned int doppler_max); void set_doppler_max(unsigned int doppler_max) override;
/*! /*!
* \brief Set Doppler steps for the grid search * \brief Set Doppler steps for the grid search
*/ */
void set_doppler_step(unsigned int doppler_step); void set_doppler_step(unsigned int doppler_step) override;
/*! /*!
* \brief Initializes acquisition algorithm. * \brief Initializes acquisition algorithm.
*/ */
void init(); void init() override;
/*! /*!
* \brief Sets local code for GPS L1/CA TONG acquisition algorithm. * \brief Sets local code for GPS L1/CA TONG acquisition algorithm.
*/ */
void set_local_code(); void set_local_code() override;
/*! /*!
* \brief Returns the maximum peak of grid search * \brief Returns the maximum peak of grid search
*/ */
signed int mag(); signed int mag() override;
/*! /*!
* \brief Restart acquisition algorithm * \brief Restart acquisition algorithm
*/ */
void reset(); void reset() override;
/*! /*!
* \brief If state = 1, it forces the block to start acquiring from the first sample * \brief If state = 1, it forces the block to start acquiring from the first sample

View File

@ -61,7 +61,7 @@ public:
virtual ~GpsL2MPcpsAcquisition(); virtual ~GpsL2MPcpsAcquisition();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
@ -69,66 +69,67 @@ public:
/*! /*!
* \brief Returns "GPS_L2_M_PCPS_Acquisition" * \brief Returns "GPS_L2_M_PCPS_Acquisition"
*/ */
std::string implementation() std::string implementation() override
{ {
return "GPS_L2_M_PCPS_Acquisition"; return "GPS_L2_M_PCPS_Acquisition";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and * to efficiently exchange synchronization data between acquisition and
* tracking blocks * tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
/*! /*!
* \brief Set acquisition channel unique ID * \brief Set acquisition channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set statistics threshold of PCPS algorithm * \brief Set statistics threshold of PCPS algorithm
*/ */
void set_threshold(float threshold); void set_threshold(float threshold) override;
/*! /*!
* \brief Set maximum Doppler off grid search * \brief Set maximum Doppler off grid search
*/ */
void set_doppler_max(unsigned int doppler_max); void set_doppler_max(unsigned int doppler_max) override;
/*! /*!
* \brief Set Doppler steps for the grid search * \brief Set Doppler steps for the grid search
*/ */
void set_doppler_step(unsigned int doppler_step); void set_doppler_step(unsigned int doppler_step) override;
/*! /*!
* \brief Initializes acquisition algorithm. * \brief Initializes acquisition algorithm.
*/ */
void init(); void init() override;
/*! /*!
* \brief Sets local code for GPS L2/M PCPS acquisition algorithm. * \brief Sets local code for GPS L2/M PCPS acquisition algorithm.
*/ */
void set_local_code(); void set_local_code() override;
/*! /*!
* \brief Returns the maximum peak of grid search * \brief Returns the maximum peak of grid search
*/ */
signed int mag(); signed int mag() override;
/*! /*!
* \brief Restart acquisition algorithm * \brief Restart acquisition algorithm
*/ */
void reset(); void reset() override;
/*! /*!
* \brief If state = 1, it forces the block to start acquiring from the first sample * \brief If state = 1, it forces the block to start acquiring from the first sample

View File

@ -67,25 +67,29 @@ public:
boost::shared_ptr<gr::msg_queue> queue); boost::shared_ptr<gr::msg_queue> queue);
//! Virtual destructor //! Virtual destructor
virtual ~Channel(); virtual ~Channel();
void connect(gr::top_block_sptr top_block);
void disconnect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_left_block() override;
std::string role(){ return role_; } gr::basic_block_sptr get_right_block() override;
std::string role() override { return role_; }
//! Returns "Channel" //! Returns "Channel"
std::string implementation(){ return implementation_; } std::string implementation() override { return implementation_; }
size_t item_size(){ return 0; }
Gnss_Signal get_signal() const { return gnss_signal_; } size_t item_size() override { return 0; }
Gnss_Signal get_signal() const override { return gnss_signal_; }
void start_acquisition() override; //!< Start the State Machine
void set_signal(const Gnss_Signal& gnss_signal_) override; //!< Sets the channel GNSS signal
std::shared_ptr<AcquisitionInterface> acquisition(){ return acq_; } std::shared_ptr<AcquisitionInterface> acquisition(){ return acq_; }
std::shared_ptr<TrackingInterface> tracking(){ return trk_; } std::shared_ptr<TrackingInterface> tracking(){ return trk_; }
std::shared_ptr<TelemetryDecoderInterface> telemetry(){ return nav_; } std::shared_ptr<TelemetryDecoderInterface> telemetry(){ return nav_; }
void start_acquisition(); //!< Start the State Machine
void set_signal(const Gnss_Signal& gnss_signal_); //!< Sets the channel GNSS signal
void msg_handler_events(pmt::pmt_t msg); void msg_handler_events(pmt::pmt_t msg);
private: private:
channel_msg_receiver_cc_sptr channel_msg_rx; channel_msg_receiver_cc_sptr channel_msg_rx;
std::shared_ptr<GNSSBlockInterface> pass_through_; std::shared_ptr<GNSSBlockInterface> pass_through_;

View File

@ -58,15 +58,15 @@ public:
//! Virtual destructor //! Virtual destructor
virtual ~ArraySignalConditioner(); virtual ~ArraySignalConditioner();
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
std::string role(){ return role_; } std::string role() override { return role_; }
//! Returns "Signal_Conditioner" //! Returns "Array_Signal_Conditioner"
std::string implementation(){ return "Array_Signal_Conditioner"; } std::string implementation() override { return "Array_Signal_Conditioner"; }
size_t item_size(){ return 0; } size_t item_size() override { return 0; }
std::shared_ptr<GNSSBlockInterface> data_type_adapter(){ return data_type_adapt_; } std::shared_ptr<GNSSBlockInterface> data_type_adapter(){ return data_type_adapt_; }
std::shared_ptr<GNSSBlockInterface> input_filter(){ return in_filt_; } std::shared_ptr<GNSSBlockInterface> input_filter(){ return in_filt_; }
@ -79,7 +79,6 @@ private:
std::string role_; std::string role_;
std::string implementation_; std::string implementation_;
bool connected_; bool connected_;
//bool stop_;
}; };
#endif /*GNSS_SDR_SIGNAL_CONDITIONER_H_*/ #endif /*GNSS_SDR_SIGNAL_CONDITIONER_H_*/

View File

@ -56,15 +56,16 @@ public:
//! Virtual destructor //! Virtual destructor
virtual ~SignalConditioner(); virtual ~SignalConditioner();
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
std::string role(){ return role_; } std::string role() override { return role_; }
//! Returns "Signal_Conditioner"
std::string implementation(){ return "Signal_Conditioner"; } std::string implementation() override { return "Signal_Conditioner"; } //!< Returns "Signal_Conditioner"
size_t item_size(){ return 0; }
size_t item_size() override { return 0; }
std::shared_ptr<GNSSBlockInterface> data_type_adapter(){ return data_type_adapt_; } std::shared_ptr<GNSSBlockInterface> data_type_adapter(){ return data_type_adapt_; }
std::shared_ptr<GNSSBlockInterface> input_filter(){ return in_filt_; } std::shared_ptr<GNSSBlockInterface> input_filter(){ return in_filt_; }
@ -77,7 +78,6 @@ private:
std::string role_; std::string role_;
std::string implementation_; std::string implementation_;
bool connected_; bool connected_;
//bool stop_;
}; };
#endif /*GNSS_SDR_SIGNAL_CONDITIONER_H_*/ #endif /*GNSS_SDR_SIGNAL_CONDITIONER_H_*/

View File

@ -52,24 +52,26 @@ public:
virtual ~ByteToShort(); virtual ~ByteToShort();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
//! Returns "Byte_To_Short" //! Returns "Byte_To_Short"
std::string implementation() std::string implementation() override
{ {
return "Byte_To_Short"; return "Byte_To_Short";
} }
size_t item_size()
size_t item_size() override
{ {
return 0; return 0;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
private: private:
gr::blocks::char_to_short::sptr gr_char_to_short_; gr::blocks::char_to_short::sptr gr_char_to_short_;

View File

@ -53,24 +53,26 @@ public:
virtual ~IbyteToCbyte(); virtual ~IbyteToCbyte();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
//! Returns "Ibyte_To_Cbyte" //! Returns "Ibyte_To_Cbyte"
std::string implementation() std::string implementation() override
{ {
return "Ibyte_To_Cbyte"; return "Ibyte_To_Cbyte";
} }
size_t item_size()
size_t item_size() override
{ {
return 0; return 0;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
private: private:
interleaved_byte_to_complex_byte_sptr ibyte_to_cbyte_; interleaved_byte_to_complex_byte_sptr ibyte_to_cbyte_;

View File

@ -53,24 +53,26 @@ public:
virtual ~IbyteToComplex(); virtual ~IbyteToComplex();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
//! Returns "Ibyte_To_Complex" //! Returns "Ibyte_To_Complex"
std::string implementation() std::string implementation() override
{ {
return "Ibyte_To_Complex"; return "Ibyte_To_Complex";
} }
size_t item_size()
size_t item_size() override
{ {
return 0; return 0;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
private: private:
gr::blocks::interleaved_char_to_complex::sptr gr_interleaved_char_to_complex_; gr::blocks::interleaved_char_to_complex::sptr gr_interleaved_char_to_complex_;

View File

@ -53,24 +53,26 @@ public:
virtual ~IbyteToCshort(); virtual ~IbyteToCshort();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
//! Returns "Ibyte_To_Cshort" //! Returns "Ibyte_To_Cshort"
std::string implementation() std::string implementation() override
{ {
return "Ibyte_To_Cshort"; return "Ibyte_To_Cshort";
} }
size_t item_size()
size_t item_size() override
{ {
return 0; return 0;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
private: private:
interleaved_byte_to_complex_short_sptr interleaved_byte_to_complex_short_; interleaved_byte_to_complex_short_sptr interleaved_byte_to_complex_short_;

View File

@ -52,24 +52,26 @@ public:
virtual ~IshortToComplex(); virtual ~IshortToComplex();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
//! Returns "Ishort_To_Complex" //! Returns "Ishort_To_Complex"
std::string implementation() std::string implementation() override
{ {
return "Ishort_To_Complex"; return "Ishort_To_Complex";
} }
size_t item_size()
size_t item_size() override
{ {
return 0; return 0;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
private: private:
gr::blocks::interleaved_short_to_complex::sptr gr_interleaved_short_to_complex_; gr::blocks::interleaved_short_to_complex::sptr gr_interleaved_short_to_complex_;

View File

@ -53,24 +53,26 @@ public:
virtual ~IshortToCshort(); virtual ~IshortToCshort();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
//! Returns "Ishort_To_Cshort" //! Returns "Ishort_To_Cshort"
std::string implementation() std::string implementation() override
{ {
return "Ishort_To_Cshort"; return "Ishort_To_Cshort";
} }
size_t item_size()
size_t item_size() override
{ {
return 0; return 0;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
private: private:
interleaved_short_to_complex_short_sptr interleaved_short_to_complex_short_; interleaved_short_to_complex_short_sptr interleaved_short_to_complex_short_;

View File

@ -50,23 +50,27 @@ public:
unsigned int out_stream); unsigned int out_stream);
virtual ~BeamformerFilter(); virtual ~BeamformerFilter();
std::string role()
std::string role() override
{ {
return role_; return role_;
} }
//! returns "Direct_Resampler" //! returns "Direct_Resampler"
std::string implementation() std::string implementation() override
{ {
return "Beamformer_Filter"; return "Beamformer_Filter";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block);
void disconnect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block() override;
private: private:
std::string role_; std::string role_;

View File

@ -70,24 +70,27 @@ public:
//! Destructor //! Destructor
virtual ~FirFilter(); virtual ~FirFilter();
std::string role()
std::string role() override
{ {
return role_; return role_;
} }
//! Returns "Fir_Filter" //! Returns "Fir_Filter"
std::string implementation() std::string implementation() override
{ {
return "Fir_Filter"; return "Fir_Filter";
} }
size_t item_size()
size_t item_size() override
{ {
return 0; return 0;
} }
void connect(gr::top_block_sptr top_block);
void disconnect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block() override;
private: private:
gr::filter::fir_filter_ccf::sptr fir_filter_ccf_; gr::filter::fir_filter_ccf::sptr fir_filter_ccf_;
@ -114,7 +117,6 @@ private:
gr::blocks::float_to_short::sptr float_to_short_1_; gr::blocks::float_to_short::sptr float_to_short_1_;
gr::blocks::float_to_short::sptr float_to_short_2_; gr::blocks::float_to_short::sptr float_to_short_2_;
short_x2_to_cshort_sptr short_x2_to_cshort_; short_x2_to_cshort_sptr short_x2_to_cshort_;
}; };
#endif #endif

View File

@ -68,24 +68,27 @@ public:
unsigned int out_streams); unsigned int out_streams);
virtual ~FreqXlatingFirFilter(); virtual ~FreqXlatingFirFilter();
std::string role()
std::string role() override
{ {
return role_; return role_;
} }
//! Returns "Freq_Xlating_Fir_Filter" //! Returns "Freq_Xlating_Fir_Filter"
std::string implementation() std::string implementation() override
{ {
return "Freq_Xlating_Fir_Filter"; return "Freq_Xlating_Fir_Filter";
} }
size_t item_size()
size_t item_size() override
{ {
return 0; return 0;
} }
void connect(gr::top_block_sptr top_block);
void disconnect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block() override;
private: private:
gr::filter::freq_xlating_fir_filter_ccf::sptr freq_xlating_fir_filter_ccf_; gr::filter::freq_xlating_fir_filter_ccf::sptr freq_xlating_fir_filter_ccf_;

View File

@ -50,24 +50,27 @@ public:
unsigned int out_streams); unsigned int out_streams);
virtual ~PulseBlankingFilter(); virtual ~PulseBlankingFilter();
std::string role()
std::string role() override
{ {
return role_; return role_;
} }
//! Returns "Pulse_Blanking_Filter" //! Returns "Pulse_Blanking_Filter"
std::string implementation() std::string implementation() override
{ {
return "Pulse_Blanking_Filter"; return "Pulse_Blanking_Filter";
} }
size_t item_size()
size_t item_size() override
{ {
return 0; return 0;
} }
void connect(gr::top_block_sptr top_block);
void disconnect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block() override;
private: private:
ConfigurationInterface* config_; ConfigurationInterface* config_;

View File

@ -51,28 +51,32 @@ public:
std::string role, std::string role,
unsigned int in_streams, unsigned int in_streams,
unsigned int out_streams); unsigned int out_streams);
virtual ~HybridObservables(); virtual ~HybridObservables();
std::string role()
std::string role() override
{ {
return role_; return role_;
} }
//! Returns "Hybrid_Observables" //! Returns "Hybrid_Observables"
std::string implementation() std::string implementation() override
{ {
return "Hybrid_Observables"; return "Hybrid_Observables";
} }
void connect(gr::top_block_sptr top_block);
void disconnect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_left_block() override;
void reset() gr::basic_block_sptr get_right_block() override;
void reset() override
{ {
return; return;
} }
//! All blocks must have an item_size() function implementation //! All blocks must have an item_size() function implementation
size_t item_size() size_t item_size() override
{ {
return sizeof(gr_complex); return sizeof(gr_complex);
} }

View File

@ -51,23 +51,27 @@ public:
unsigned int out_stream); unsigned int out_stream);
virtual ~DirectResamplerConditioner(); virtual ~DirectResamplerConditioner();
std::string role()
std::string role() override
{ {
return role_; return role_;
} }
//! returns "Direct_Resampler"
std::string implementation() //! Returns "Direct_Resampler"
std::string implementation() override
{ {
return "Direct_Resampler"; return "Direct_Resampler";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block);
void disconnect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block() override;
private: private:
std::string role_; std::string role_;

View File

@ -57,7 +57,8 @@ public:
unsigned int out_stream, boost::shared_ptr<gr::msg_queue> queue); unsigned int out_stream, boost::shared_ptr<gr::msg_queue> queue);
virtual ~SignalGenerator(); virtual ~SignalGenerator();
std::string role()
std::string role() override
{ {
return role_; return role_;
} }
@ -65,19 +66,20 @@ public:
/*! /*!
* \brief Returns "GNSSSignalGenerator". * \brief Returns "GNSSSignalGenerator".
*/ */
std::string implementation() std::string implementation() override
{ {
return "GNSSSignalGenerator"; return "GNSSSignalGenerator";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
private: private:
std::string role_; std::string role_;

View File

@ -58,7 +58,8 @@ public:
boost::shared_ptr<gr::msg_queue> queue); boost::shared_ptr<gr::msg_queue> queue);
virtual ~FileSignalSource(); virtual ~FileSignalSource();
std::string role()
std::string role() override
{ {
return role_; return role_;
} }
@ -66,18 +67,21 @@ public:
/*! /*!
* \brief Returns "File_Signal_Source". * \brief Returns "File_Signal_Source".
*/ */
std::string implementation() std::string implementation() override
{ {
return "File_Signal_Source"; return "File_Signal_Source";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block);
void disconnect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block() override;
std::string filename() std::string filename()
{ {
return filename_; return filename_;

View File

@ -57,7 +57,8 @@ public:
unsigned int out_stream, gr::msg_queue::sptr queue); unsigned int out_stream, gr::msg_queue::sptr queue);
virtual ~FlexibandSignalSource(); virtual ~FlexibandSignalSource();
std::string role()
std::string role() override
{ {
return role_; return role_;
} }
@ -65,19 +66,21 @@ public:
/*! /*!
* \brief Returns "Flexiband_Signal_Source". * \brief Returns "Flexiband_Signal_Source".
*/ */
std::string implementation() std::string implementation() override
{ {
return "Flexiband_Signal_Source"; return "Flexiband_Signal_Source";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block);
void disconnect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(int RF_channel); gr::basic_block_sptr get_right_block() override;
gr::basic_block_sptr get_right_block(int RF_channel) override;
private: private:
std::string role_; std::string role_;

View File

@ -52,16 +52,16 @@ public:
//! Virtual destructor //! Virtual destructor
virtual ~GenSignalSource(); virtual ~GenSignalSource();
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
std::string role(){ return role_; } std::string role() override { return role_; }
//! Returns "Signal Source" //! Returns "Signal Source"
std::string implementation(){ return "Signal Source"; } std::string implementation() override { return "Signal Source"; }
size_t item_size(){ return 0; } size_t item_size() override { return 0; }
GNSSBlockInterface *signal_generator() { return signal_generator_; } GNSSBlockInterface *signal_generator() { return signal_generator_; }

View File

@ -52,7 +52,7 @@ public:
unsigned int out_stream, gr::msg_queue::sptr queue); unsigned int out_stream, gr::msg_queue::sptr queue);
virtual ~Gn3sSignalSource(); virtual ~Gn3sSignalSource();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
@ -60,18 +60,20 @@ public:
/*! /*!
* \brief Returns "Gn3sSignalSource". * \brief Returns "Gn3sSignalSource".
*/ */
std::string implementation() std::string implementation() override
{ {
return "Gn3sSignalSource"; return "Gn3sSignalSource";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block);
void disconnect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block() override;
private: private:
std::string role_; std::string role_;

View File

@ -59,7 +59,7 @@ public:
boost::shared_ptr<gr::msg_queue> queue); boost::shared_ptr<gr::msg_queue> queue);
virtual ~NsrFileSignalSource(); virtual ~NsrFileSignalSource();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
@ -67,34 +67,41 @@ public:
/*! /*!
* \brief Returns "Nsr_File_Signal_Source". * \brief Returns "Nsr_File_Signal_Source".
*/ */
std::string implementation() std::string implementation() override
{ {
return "Nsr_File_Signal_Source"; return "Nsr_File_Signal_Source";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block);
void disconnect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block() override;
std::string filename() std::string filename()
{ {
return filename_; return filename_;
} }
std::string item_type() std::string item_type()
{ {
return item_type_; return item_type_;
} }
bool repeat() bool repeat()
{ {
return repeat_; return repeat_;
} }
long sampling_frequency() long sampling_frequency()
{ {
return sampling_frequency_; return sampling_frequency_;
} }
long samples() long samples()
{ {
return samples_; return samples_;

View File

@ -56,7 +56,7 @@ public:
virtual ~OsmosdrSignalSource(); virtual ~OsmosdrSignalSource();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
@ -64,19 +64,20 @@ public:
/*! /*!
* \brief Returns "Osmosdr_Signal_Source" * \brief Returns "Osmosdr_Signal_Source"
*/ */
std::string implementation() std::string implementation() override
{ {
return "Osmosdr_Signal_Source"; return "Osmosdr_Signal_Source";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
private: private:
std::string role_; std::string role_;

View File

@ -52,7 +52,8 @@ public:
unsigned int out_stream, gr::msg_queue::sptr queue); unsigned int out_stream, gr::msg_queue::sptr queue);
virtual ~RawArraySignalSource(); virtual ~RawArraySignalSource();
std::string role()
std::string role() override
{ {
return role_; return role_;
} }
@ -60,18 +61,20 @@ public:
/*! /*!
* \brief Returns "RawArraySignalSource". * \brief Returns "RawArraySignalSource".
*/ */
std::string implementation() std::string implementation() override
{ {
return "Raw_Array_Signal_Source"; return "Raw_Array_Signal_Source";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block);
void disconnect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block() override;
private: private:
std::string role_; std::string role_;

View File

@ -57,7 +57,7 @@ public:
virtual ~RtlTcpSignalSource(); virtual ~RtlTcpSignalSource();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
@ -65,19 +65,20 @@ public:
/*! /*!
* \brief Returns "RtlTcp_Signal_Source" * \brief Returns "RtlTcp_Signal_Source"
*/ */
std::string implementation() std::string implementation() override
{ {
return "RtlTcp_Signal_Source"; return "RtlTcp_Signal_Source";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
private: private:
std::string role_; std::string role_;

View File

@ -56,7 +56,7 @@ public:
boost::shared_ptr<gr::msg_queue> queue); boost::shared_ptr<gr::msg_queue> queue);
virtual ~SpirFileSignalSource(); virtual ~SpirFileSignalSource();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
@ -64,34 +64,41 @@ public:
/*! /*!
* \brief Returns "Spir_File_Signal_Source". * \brief Returns "Spir_File_Signal_Source".
*/ */
std::string implementation() std::string implementation() override
{ {
return "Spir_File_Signal_Source"; return "Spir_File_Signal_Source";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block);
void disconnect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block() override;
std::string filename() std::string filename()
{ {
return filename_; return filename_;
} }
std::string item_type() std::string item_type()
{ {
return item_type_; return item_type_;
} }
bool repeat() bool repeat()
{ {
return repeat_; return repeat_;
} }
long sampling_frequency() long sampling_frequency()
{ {
return sampling_frequency_; return sampling_frequency_;
} }
long samples() long samples()
{ {
return samples_; return samples_;

View File

@ -60,7 +60,7 @@ public:
boost::shared_ptr<gr::msg_queue> queue); boost::shared_ptr<gr::msg_queue> queue);
virtual ~TwoBitCpxFileSignalSource(); virtual ~TwoBitCpxFileSignalSource();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
@ -68,34 +68,41 @@ public:
/*! /*!
* \brief Returns "Two_Bit_Cpx_File_Signal_Source". * \brief Returns "Two_Bit_Cpx_File_Signal_Source".
*/ */
std::string implementation() std::string implementation() override
{ {
return "Two_Bit_Cpx_File_Signal_Source"; return "Two_Bit_Cpx_File_Signal_Source";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block);
void disconnect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block() override;
std::string filename() std::string filename()
{ {
return filename_; return filename_;
} }
std::string item_type() std::string item_type()
{ {
return item_type_; return item_type_;
} }
bool repeat() bool repeat()
{ {
return repeat_; return repeat_;
} }
long sampling_frequency() long sampling_frequency()
{ {
return sampling_frequency_; return sampling_frequency_;
} }
long samples() long samples()
{ {
return samples_; return samples_;

View File

@ -61,7 +61,7 @@ public:
boost::shared_ptr<gr::msg_queue> queue); boost::shared_ptr<gr::msg_queue> queue);
virtual ~TwoBitPackedFileSignalSource(); virtual ~TwoBitPackedFileSignalSource();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
@ -69,50 +69,61 @@ public:
/*! /*!
* \brief Returns "Two_Bit_Packed_File_Signal_Source". * \brief Returns "Two_Bit_Packed_File_Signal_Source".
*/ */
std::string implementation() std::string implementation() override
{ {
return "Two_Bit_Packed_File_Signal_Source"; return "Two_Bit_Packed_File_Signal_Source";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block);
void disconnect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block() override;
std::string filename() std::string filename()
{ {
return filename_; return filename_;
} }
std::string item_type() std::string item_type()
{ {
return item_type_; return item_type_;
} }
bool repeat() bool repeat()
{ {
return repeat_; return repeat_;
} }
long sampling_frequency() long sampling_frequency()
{ {
return sampling_frequency_; return sampling_frequency_;
} }
long samples() long samples()
{ {
return samples_; return samples_;
} }
bool big_endian_items() bool big_endian_items()
{ {
return big_endian_items_; return big_endian_items_;
} }
bool big_endian_bytes() bool big_endian_bytes()
{ {
return big_endian_bytes_; return big_endian_bytes_;
} }
bool is_complex() bool is_complex()
{ {
return is_complex_; return is_complex_;
} }
bool reverse_interleaving() bool reverse_interleaving()
{ {
return reverse_interleaving_; return reverse_interleaving_;

View File

@ -55,7 +55,7 @@ public:
virtual ~UhdSignalSource(); virtual ~UhdSignalSource();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
@ -63,23 +63,23 @@ public:
/*! /*!
* \brief Returns "UHD_Signal_Source" * \brief Returns "UHD_Signal_Source"
*/ */
std::string implementation() std::string implementation() override
{ {
return "UHD_Signal_Source"; return "UHD_Signal_Source";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
gr::basic_block_sptr get_right_block(int RF_channel); gr::basic_block_sptr get_right_block(int RF_channel) override;
private: private:
std::string role_; std::string role_;
unsigned int in_stream_; unsigned int in_stream_;
unsigned int out_stream_; unsigned int out_stream_;

View File

@ -55,7 +55,8 @@ public:
unsigned int out_streams); unsigned int out_streams);
virtual ~GalileoE1BTelemetryDecoder(); virtual ~GalileoE1BTelemetryDecoder();
std::string role()
std::string role() override
{ {
return role_; return role_;
} }
@ -63,21 +64,25 @@ public:
/*! /*!
* \brief Returns "Galileo_E1B_Telemetry_Decoder" * \brief Returns "Galileo_E1B_Telemetry_Decoder"
*/ */
std::string implementation() std::string implementation() override
{ {
return "Galileo_E1B_Telemetry_Decoder"; return "Galileo_E1B_Telemetry_Decoder";
} }
void connect(gr::top_block_sptr top_block);
void disconnect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_left_block() override;
void set_satellite(Gnss_Satellite satellite); gr::basic_block_sptr get_right_block() override;
void set_channel(int channel){telemetry_decoder_->set_channel(channel);}
void reset() void set_satellite(Gnss_Satellite satellite) override;
void set_channel(int channel) override {telemetry_decoder_->set_channel(channel);}
void reset() override
{ {
return; return;
} }
size_t item_size()
size_t item_size() override
{ {
return 0; return 0;
} }

View File

@ -56,7 +56,8 @@ public:
unsigned int out_streams); unsigned int out_streams);
virtual ~GalileoE5aTelemetryDecoder(); virtual ~GalileoE5aTelemetryDecoder();
std::string role()
std::string role() override
{ {
return role_; return role_;
} }
@ -64,21 +65,25 @@ public:
/*! /*!
* \brief Returns "Galileo_E5a_Telemetry_Decoder" * \brief Returns "Galileo_E5a_Telemetry_Decoder"
*/ */
std::string implementation() std::string implementation() override
{ {
return "Galileo_E5A_Telemetry_Decoder"; return "Galileo_E5A_Telemetry_Decoder";
} }
void connect(gr::top_block_sptr top_block);
void disconnect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_left_block() override;
void set_satellite(Gnss_Satellite satellite); gr::basic_block_sptr get_right_block() override;
void set_channel(int channel){telemetry_decoder_->set_channel(channel);}
void reset() void set_satellite(Gnss_Satellite satellite) override;
void set_channel(int channel) override {telemetry_decoder_->set_channel(channel);}
void reset() override
{ {
return; return;
} }
size_t item_size()
size_t item_size() override
{ {
return 0; return 0;
} }

View File

@ -52,27 +52,31 @@ public:
unsigned int out_streams); unsigned int out_streams);
virtual ~GpsL1CaTelemetryDecoder(); virtual ~GpsL1CaTelemetryDecoder();
std::string role()
std::string role() override
{ {
return role_; return role_;
} }
//! Returns "GPS_L1_CA_Telemetry_Decoder" //! Returns "GPS_L1_CA_Telemetry_Decoder"
std::string implementation() std::string implementation() override
{ {
return "GPS_L1_CA_Telemetry_Decoder"; return "GPS_L1_CA_Telemetry_Decoder";
} }
void connect(gr::top_block_sptr top_block);
void disconnect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_left_block() override;
void set_satellite(Gnss_Satellite satellite); gr::basic_block_sptr get_right_block() override;
void set_channel(int channel){telemetry_decoder_->set_channel(channel);}
void reset() void set_satellite(Gnss_Satellite satellite) override;
void set_channel(int channel) override {telemetry_decoder_->set_channel(channel);}
void reset() override
{ {
return; return;
} }
size_t item_size() size_t item_size() override
{ {
return 0; return 0;
} }

View File

@ -52,27 +52,31 @@ public:
unsigned int out_streams); unsigned int out_streams);
virtual ~GpsL2CTelemetryDecoder(); virtual ~GpsL2CTelemetryDecoder();
std::string role()
std::string role() override
{ {
return role_; return role_;
} }
//! Returns "GPS_L2C_Telemetry_Decoder" //! Returns "GPS_L2C_Telemetry_Decoder"
std::string implementation() std::string implementation() override
{ {
return "GPS_L2C_Telemetry_Decoder"; return "GPS_L2C_Telemetry_Decoder";
} }
void connect(gr::top_block_sptr top_block);
void disconnect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_left_block() override;
void set_satellite(Gnss_Satellite satellite); gr::basic_block_sptr get_right_block() override;
void set_channel(int channel){telemetry_decoder_->set_channel(channel);}
void reset() void set_satellite(Gnss_Satellite satellite) override;
void set_channel(int channel) override {telemetry_decoder_->set_channel(channel);}
void reset() override
{ {
return; return;
} }
size_t item_size() size_t item_size() override
{ {
return 0; return 0;
} }

View File

@ -53,7 +53,8 @@ public:
unsigned int out_streams); unsigned int out_streams);
virtual ~SbasL1TelemetryDecoder(); virtual ~SbasL1TelemetryDecoder();
std::string role()
std::string role() override
{ {
return role_; return role_;
} }
@ -61,21 +62,25 @@ public:
/*! /*!
* \brief Returns "SBAS_L1_Telemetry_Decoder" * \brief Returns "SBAS_L1_Telemetry_Decoder"
*/ */
std::string implementation() std::string implementation() override
{ {
return "SBAS_L1_Telemetry_Decoder"; return "SBAS_L1_Telemetry_Decoder";
} }
void connect(gr::top_block_sptr top_block);
void disconnect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_left_block() override;
void set_satellite(Gnss_Satellite satellite); gr::basic_block_sptr get_right_block() override;
void set_channel(int channel){ telemetry_decoder_->set_channel(channel); }
void reset() void set_satellite(Gnss_Satellite satellite) override;
void set_channel(int channel) override { telemetry_decoder_->set_channel(channel); }
void reset() override
{ {
return; return;
} }
size_t item_size()
size_t item_size() override
{ {
return 0; return 0;
} }

View File

@ -59,41 +59,40 @@ public:
virtual ~GalileoE1DllPllVemlTracking(); virtual ~GalileoE1DllPllVemlTracking();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
//! Returns "Galileo_E1_DLL_PLL_VEML_Tracking" //! Returns "Galileo_E1_DLL_PLL_VEML_Tracking"
std::string implementation() std::string implementation() override
{ {
return "Galileo_E1_DLL_PLL_VEML_Tracking"; return "Galileo_E1_DLL_PLL_VEML_Tracking";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
/*! /*!
* \brief Set tracking channel unique ID * \brief Set tracking channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and * to efficiently exchange synchronization data between acquisition and
* tracking blocks * tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
void start_tracking() override;
void start_tracking();
private: private:
galileo_e1_dll_pll_veml_tracking_cc_sptr tracking_; galileo_e1_dll_pll_veml_tracking_cc_sptr tracking_;

View File

@ -59,41 +59,40 @@ public:
virtual ~GalileoE1TcpConnectorTracking(); virtual ~GalileoE1TcpConnectorTracking();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
//! Returns "Galileo_E1_TCP_CONNECTOR_Tracking" //! Returns "Galileo_E1_TCP_CONNECTOR_Tracking"
std::string implementation() std::string implementation() override
{ {
return "Galileo_E1_TCP_CONNECTOR_Tracking"; return "Galileo_E1_TCP_CONNECTOR_Tracking";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
/*! /*!
* \brief Set tracking channel unique ID * \brief Set tracking channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and * to efficiently exchange synchronization data between acquisition and
* tracking blocks * tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
void start_tracking() override;
void start_tracking();
private: private:
galileo_e1_tcp_connector_tracking_cc_sptr tracking_; galileo_e1_tcp_connector_tracking_cc_sptr tracking_;

View File

@ -59,39 +59,39 @@ public:
virtual ~GalileoE5aDllPllTracking(); virtual ~GalileoE5aDllPllTracking();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
//! Returns "Galileo_E5a_DLL_PLL_Tracking" //! Returns "Galileo_E5a_DLL_PLL_Tracking"
std::string implementation() std::string implementation() override
{ {
return "Galileo_E5a_DLL_PLL_Tracking"; return "Galileo_E5a_DLL_PLL_Tracking";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
/*! /*!
* \brief Set tracking channel unique ID * \brief Set tracking channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and tracking blocks * to efficiently exchange synchronization data between acquisition and tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
void start_tracking() override;
void start_tracking();
private: private:
galileo_e5a_dll_pll_tracking_cc_sptr tracking_; galileo_e5a_dll_pll_tracking_cc_sptr tracking_;

View File

@ -52,7 +52,6 @@ class ConfigurationInterface;
class GpsL1CaDllPllCAidTracking : public TrackingInterface class GpsL1CaDllPllCAidTracking : public TrackingInterface
{ {
public: public:
GpsL1CaDllPllCAidTracking(ConfigurationInterface* configuration, GpsL1CaDllPllCAidTracking(ConfigurationInterface* configuration,
std::string role, std::string role,
unsigned int in_streams, unsigned int in_streams,
@ -60,40 +59,39 @@ public:
virtual ~GpsL1CaDllPllCAidTracking(); virtual ~GpsL1CaDllPllCAidTracking();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
//! Returns "GPS_L1_CA_DLL_PLL_C_Aid_Tracking" //! Returns "GPS_L1_CA_DLL_PLL_C_Aid_Tracking"
std::string implementation() std::string implementation() override
{ {
return "GPS_L1_CA_DLL_PLL_C_Aid_Tracking"; return "GPS_L1_CA_DLL_PLL_C_Aid_Tracking";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
/*! /*!
* \brief Set tracking channel unique ID * \brief Set tracking channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and tracking blocks * to efficiently exchange synchronization data between acquisition and tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
void start_tracking() override;
void start_tracking();
private: private:
gps_l1_ca_dll_pll_c_aid_tracking_cc_sptr tracking_cc; gps_l1_ca_dll_pll_c_aid_tracking_cc_sptr tracking_cc;

View File

@ -57,39 +57,40 @@ public:
virtual ~GpsL1CaDllPllCAidTrackingFpga(); virtual ~GpsL1CaDllPllCAidTrackingFpga();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
//! Returns "GPS_L1_CA_DLL_PLL_C_Aid_Tracking_Fpga" //! Returns "GPS_L1_CA_DLL_PLL_C_Aid_Tracking_Fpga"
std::string implementation() std::string implementation() override
{ {
return "GPS_L1_CA_DLL_PLL_C_Aid_Tracking_Fpga"; return "GPS_L1_CA_DLL_PLL_C_Aid_Tracking_Fpga";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
// CONVERT TO SOURCE // CONVERT TO SOURCE
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
/*! /*!
* \brief Set tracking channel unique ID * \brief Set tracking channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and tracking blocks * to efficiently exchange synchronization data between acquisition and tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
void start_tracking(); void start_tracking() override;
void reset(void); void reset(void);

View File

@ -58,39 +58,39 @@ public:
virtual ~GpsL1CaDllPllTracking(); virtual ~GpsL1CaDllPllTracking();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
//! Returns "GPS_L1_CA_DLL_PLL_Tracking" //! Returns "GPS_L1_CA_DLL_PLL_Tracking"
std::string implementation() std::string implementation() override
{ {
return "GPS_L1_CA_DLL_PLL_Tracking"; return "GPS_L1_CA_DLL_PLL_Tracking";
} }
size_t item_size() size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
/*! /*!
* \brief Set tracking channel unique ID * \brief Set tracking channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and tracking blocks * to efficiently exchange synchronization data between acquisition and tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
void start_tracking(); void start_tracking() override;
private: private:
gps_l1_ca_dll_pll_tracking_cc_sptr tracking_; gps_l1_ca_dll_pll_tracking_cc_sptr tracking_;

View File

@ -57,38 +57,38 @@ public:
virtual ~GpsL1CaDllPllTrackingGPU(); virtual ~GpsL1CaDllPllTrackingGPU();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
//! Returns "GPS_L1_CA_DLL_PLL_Tracking_GPU" //! Returns "GPS_L1_CA_DLL_PLL_Tracking_GPU"
std::string implementation() std::string implementation() override
{ {
return "GPS_L1_CA_DLL_PLL_Tracking_GPU"; return "GPS_L1_CA_DLL_PLL_Tracking_GPU";
} }
size_t item_size() size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
/*! /*!
* \brief Set tracking channel unique ID * \brief Set tracking channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and tracking blocks * to efficiently exchange synchronization data between acquisition and tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
void start_tracking(); void start_tracking() override;
private: private:
gps_l1_ca_dll_pll_tracking_gpu_cc_sptr tracking_; gps_l1_ca_dll_pll_tracking_gpu_cc_sptr tracking_;

View File

@ -60,40 +60,41 @@ public:
virtual ~GpsL1CaTcpConnectorTracking(); virtual ~GpsL1CaTcpConnectorTracking();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
//! Returns "GPS_L1_CA_TCP_CONNECTOR_Tracking" //! Returns "GPS_L1_CA_TCP_CONNECTOR_Tracking"
std::string implementation() std::string implementation() override
{ {
return "GPS_L1_CA_TCP_CONNECTOR_Tracking"; return "GPS_L1_CA_TCP_CONNECTOR_Tracking";
} }
size_t item_size()
size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
/*! /*!
* \brief Set tracking channel unique ID * \brief Set tracking channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and tracking blocks * to efficiently exchange synchronization data between acquisition and tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
void start_tracking(); void start_tracking() override;
private: private:

View File

@ -58,40 +58,39 @@ public:
virtual ~GpsL2MDllPllTracking(); virtual ~GpsL2MDllPllTracking();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
//! Returns "GPS_L2_M_DLL_PLL_Tracking" //! Returns "GPS_L2_M_DLL_PLL_Tracking"
std::string implementation() std::string implementation() override
{ {
return "GPS_L2_M_DLL_PLL_Tracking"; return "GPS_L2_M_DLL_PLL_Tracking";
} }
size_t item_size() size_t item_size() override
{ {
return item_size_; return item_size_;
} }
void connect(gr::top_block_sptr top_block); void connect(gr::top_block_sptr top_block) override;
void disconnect(gr::top_block_sptr top_block); void disconnect(gr::top_block_sptr top_block) override;
gr::basic_block_sptr get_left_block(); gr::basic_block_sptr get_left_block() override;
gr::basic_block_sptr get_right_block(); gr::basic_block_sptr get_right_block() override;
/*! /*!
* \brief Set tracking channel unique ID * \brief Set tracking channel unique ID
*/ */
void set_channel(unsigned int channel); void set_channel(unsigned int channel) override;
/*! /*!
* \brief Set acquisition/tracking common Gnss_Synchro object pointer * \brief Set acquisition/tracking common Gnss_Synchro object pointer
* to efficiently exchange synchronization data between acquisition and tracking blocks * to efficiently exchange synchronization data between acquisition and tracking blocks
*/ */
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro); void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
void start_tracking(); void start_tracking() override;
private: private:
gps_l2_m_dll_pll_tracking_cc_sptr tracking_; gps_l2_m_dll_pll_tracking_cc_sptr tracking_;