Public Member Functions | Protected Attributes | List of all members
snGNSSCode Class Reference

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

#include <snGNSSCode.h>

Inheritance diagram for snGNSSCode:
snCodeGalileo snGPS

Public Member Functions

 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...
 

Protected Attributes

int prn
 
std::vector< double > code
 
double f_cps
 

Detailed Description

Class of member functions for GPS signal generation.

Constructor & Destructor Documentation

snGNSSCode::snGNSSCode ( int  _prn)
snGNSSCode::~snGNSSCode ( )

Member Function Documentation

double snGNSSCode::get_chip ( int  n)
inline

returns one chip

std::vector<double> snGNSSCode::get_code ( )
inline

returns one code in chips

double snGNSSCode::get_code_freq_cps ( )
inline

get the code frequency (chips per second)

double snGNSSCode::get_code_length_time ( )
inline

returns the code length in seconds

int snGNSSCode::get_number_of_chips_per_code ( )
inline

get number of chips per code

void snGNSSCode::set_freq_cps ( double  f_cps_new)
inline

set the chipping rate

Member Data Documentation

std::vector<double> snGNSSCode::code
protected
double snGNSSCode::f_cps
protected
int snGNSSCode::prn
protected

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