GNSS-SDR  0.0.21
An Open Source GNSS Software Defined Receiver
Public Member Functions | Friends | List of all members
Gnss_Signal Class Reference

This class represents a GNSS signal. More...

#include <gnss_signal.h>

Public Member Functions

 Gnss_Signal (const std::string &signal_)
 
 Gnss_Signal (const Gnss_Satellite &satellite_, const std::string &signal_)
 
std::string get_signal_str () const
 Return the signal identifier string. More...
 
Gnss_Satellite get_satellite () const
 Get the Gnss_Satellite associated to the signal. More...
 

Friends

bool operator== (const Gnss_Signal &, const Gnss_Signal &)
 operator== for comparison More...
 
std::ostream & operator<< (std::ostream &, const Gnss_Signal &)
 operator<< for pretty printing More...
 

Detailed Description

This class represents a GNSS signal.

Encapsulates a specific GNSS signal (e.g., GPS L1 C/A, Galileo E1B) and its associated satellite.

Definition at line 38 of file gnss_signal.h.

Member Function Documentation

◆ get_satellite()

Gnss_Satellite Gnss_Signal::get_satellite ( ) const

Get the Gnss_Satellite associated to the signal.

◆ get_signal_str()

std::string Gnss_Signal::get_signal_str ( ) const

Return the signal identifier string.

  • GPS: "1C" (L1 C/A), "2S" (L2C), "L5"
  • GLONASS: "1G" (L1 C/A), "2G" (L2 C/A)
  • Galileo: "1B" (E1B), "5X" (E5a), "7X" (E5b), "6C" (E6C)
  • BeiDou: "B1" (B1I), "B3" (B3I)

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  ,
const Gnss_Signal  
)
friend

operator<< for pretty printing

◆ operator==

bool operator== ( const Gnss_Signal ,
const Gnss_Signal  
)
friend

operator== for comparison


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