Public Member Functions | Private Member Functions | List of all members
snGPS Class Reference

Class of member functions for GPS signal generation. More...

#include <snGPS.h>

Inheritance diagram for snGPS:
snGNSSCode

Public Member Functions

 snGPS (int _prn)
 constructor More...
 
 ~snGPS ()
 
- Public Member Functions inherited from snGNSSCode
 snGNSSCode (int _prn)
 
 ~snGNSSCode ()
 
double get_code_length_time ()
 returns the code length in seconds More...
 
std::vector< double > get_code ()
 returns one code in chips More...
 
double get_chip (int n)
 returns one chip More...
 
double get_code_freq_cps ()
 get the code frequency (chips per second) More...
 
int get_number_of_chips_per_code ()
 get number of chips per code More...
 
void set_freq_cps (double f_cps_new)
 set the chipping rate More...
 

Private Member Functions

std::vector< double > generate_ca_code (int prn)
 generates one C/A pseudorandom code sequence This function is based on the CA-Code generation function of K. Borre et. al: "A Software-Defined GPS and Galileo Receiver" More...
 

Additional Inherited Members

- Protected Attributes inherited from snGNSSCode
int prn
 
std::vector< double > code
 
double f_cps
 

Detailed Description

Class of member functions for GPS signal generation.

Constructor & Destructor Documentation

snGPS::snGPS ( int  _prn)

constructor

snGPS::~snGPS ( )

Member Function Documentation

std::vector< double > snGPS::generate_ca_code ( int  prn)
private

generates one C/A pseudorandom code sequence This function is based on the CA-Code generation function of K. Borre et. al: "A Software-Defined GPS and Galileo Receiver"

Parameters
<intprn> PRN number
Returns
<signed char *ca> code sequence

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