GNSS-SDR  0.0.21
An Open Source GNSS Software Defined Receiver
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
BasePcpsAcquisitionCustom Class Referenceabstract

This class adapts a PCPS acquisition block to an AcquisitionInterface. More...

#include <base_pcps_acquisition_custom.h>

Inheritance diagram for BasePcpsAcquisitionCustom:
AcquisitionInterface GNSSBlockInterface GalileoE1Pcps8msAmbiguousAcquisition GalileoE1PcpsCccwsrAmbiguousAcquisition GalileoE1PcpsQuickSyncAmbiguousAcquisition GalileoE1PcpsTongAmbiguousAcquisition GalileoE5aNoncoherentIQAcquisitionCaf GpsL1CaPcpsAcquisitionFineDoppler GpsL1CaPcpsAssistedAcquisition GpsL1CaPcpsOpenClAcquisition GpsL1CaPcpsQuickSyncAcquisition GpsL1CaPcpsTongAcquisition

Public Member Functions

 BasePcpsAcquisitionCustom (const ConfigurationInterface *configuration, const std::string &role, unsigned int in_streams, unsigned int out_streams, double chip_rate, double code_length_chips, unsigned int ms_per_code, bool use_stream_to_vector, const ThresholdComputeInterface &threshold_compute, uint32_t max_sampled_ms=std::numeric_limits< uint32_t >::max())
 
std::string role () override
 
size_t item_size () override
 
void connect (gr::top_block_sptr top_block) override
 
void disconnect (gr::top_block_sptr top_block) override
 
gr::basic_block_sptr get_left_block () override
 
gr::basic_block_sptr get_right_block () override
 
void set_gnss_synchro (Gnss_Synchro *p_gnss_synchro) override
 Set acquisition/tracking common Gnss_Synchro object pointer to efficiently exchange synchronization data between acquisition and tracking blocks. More...
 
void set_channel (unsigned int channel) override
 Set acquisition channel unique ID. More...
 
void set_channel_fsm (std::weak_ptr< ChannelFsm > channel_fsm) override
 Set channel fsm associated to this acquisition instance. More...
 
signed int mag () override
 Returns the maximum peak of grid search. More...
 
void reset () override
 Restart acquisition algorithm. More...
 
void stop_acquisition () override
 Stop running acquisition. More...
 
void set_resampler_latency (uint32_t) override
 
void set_local_code () override
 Sets local code. More...
 
- Public Member Functions inherited from AcquisitionInterface
virtual void set_doppler_center (int)
 
- Public Member Functions inherited from GNSSBlockInterface
virtual std::string implementation ()=0
 
virtual gr::basic_block_sptr get_left_block (int RF_channel)
 
virtual gr::basic_block_sptr get_right_block (int RF_channel)
 
virtual void start ()
 Start the flow of samples if needed. More...
 

Protected Member Functions

bool is_type_gr_complex () const
 

Protected Attributes

const Acq_Conf acq_parameters_
 
acquisition_impl_interface_sptr acquisition_cc_
 
Gnss_Synchrognss_synchro_
 
unsigned int channel_
 
volk_gnsssdr::vector< std::complex< float > > code_
 

Detailed Description

This class adapts a PCPS acquisition block to an AcquisitionInterface.

Definition at line 72 of file base_pcps_acquisition_custom.h.

Member Function Documentation

◆ mag()

signed int BasePcpsAcquisitionCustom::mag ( )
overridevirtual

Returns the maximum peak of grid search.

Implements AcquisitionInterface.

◆ reset()

void BasePcpsAcquisitionCustom::reset ( )
overridevirtual

Restart acquisition algorithm.

Implements AcquisitionInterface.

◆ set_channel()

void BasePcpsAcquisitionCustom::set_channel ( unsigned int  channel)
overridevirtual

Set acquisition channel unique ID.

Implements AcquisitionInterface.

◆ set_channel_fsm()

void BasePcpsAcquisitionCustom::set_channel_fsm ( std::weak_ptr< ChannelFsm channel_fsm)
overridevirtual

Set channel fsm associated to this acquisition instance.

Implements AcquisitionInterface.

◆ set_gnss_synchro()

void BasePcpsAcquisitionCustom::set_gnss_synchro ( Gnss_Synchro p_gnss_synchro)
overridevirtual

Set acquisition/tracking common Gnss_Synchro object pointer to efficiently exchange synchronization data between acquisition and tracking blocks.

Implements AcquisitionInterface.

◆ set_local_code()

void BasePcpsAcquisitionCustom::set_local_code ( )
overridevirtual

◆ stop_acquisition()

void BasePcpsAcquisitionCustom::stop_acquisition ( )
overridevirtual

Stop running acquisition.

Implements AcquisitionInterface.


The documentation for this class was generated from the following file: