GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
Loading...
Searching...
No Matches
Rinex_Printer Class Reference

Class that handles the generation of Receiver INdependent EXchange format (RINEX) files. More...

#include <rinex_printer.h>

Public Member Functions

 Rinex_Printer (uint32_t signal_enabled_flags, int version=3, const std::string &base_path=".", const std::string &base_name="-", bool pre_2009_file=false)
 Constructor. Creates GNSS Navigation and Observables RINEX files.
 ~Rinex_Printer ()
 Destructor. Removes created files if empty.
void print_rinex_annotation (const Rtklib_Solver *pvt_solver, const std::map< int, Gnss_Synchro > &gnss_observables_map, double rx_time, bool flag_write_RINEX_obs_output)
 Print RINEX annotation. If it is the first annotation, it also prints the RINEX headers for navigation and observation files. If it is not the first annotation, it only annotates the observation, and updates the navigation header if UTC data was not available when writing it for the first time.
void log_rinex_nav_gps_nav (const std::map< int32_t, Gps_Ephemeris > &new_eph)
 Print RINEX annotation for GPS NAV message.
void log_rinex_nav_gps_cnav (const std::map< int32_t, Gps_CNAV_Ephemeris > &new_cnav_eph)
 Print RINEX annotation for GPS CNAV message.
void log_rinex_nav_gal_nav (const std::map< int32_t, Galileo_Ephemeris > &new_gal_eph)
 Print RINEX annotation for Galileo NAV message.
void log_rinex_nav_glo_gnav (const std::map< int32_t, Glonass_Gnav_Ephemeris > &new_glo_eph)
 Print RINEX annotation for Glonass GNAV message.
void log_rinex_nav_bds_dnav (const std::map< int32_t, Beidou_Dnav_Ephemeris > &new_bds_eph)
 Print RINEX annotation for BeiDou DNAV message.
bool is_rinex_header_written () const
 Returns true is the RINEX file headers are already written.
std::vector< std::string > get_navfilename () const
 Returns name of RINEX navigation file(s).
std::string get_obsfilename () const
 Returns name of RINEX observation file.

Detailed Description

Class that handles the generation of Receiver INdependent EXchange format (RINEX) files.

Definition at line 82 of file rinex_printer.h.

Constructor & Destructor Documentation

◆ Rinex_Printer()

Rinex_Printer::Rinex_Printer ( uint32_t signal_enabled_flags,
int version = 3,
const std::string & base_path = ".",
const std::string & base_name = "-",
bool pre_2009_file = false )
explicit

Constructor. Creates GNSS Navigation and Observables RINEX files.

◆ ~Rinex_Printer()

Rinex_Printer::~Rinex_Printer ( )

Destructor. Removes created files if empty.

Member Function Documentation

◆ get_navfilename()

std::vector< std::string > Rinex_Printer::get_navfilename ( ) const
inline

Returns name of RINEX navigation file(s).

Definition at line 148 of file rinex_printer.h.

◆ get_obsfilename()

std::string Rinex_Printer::get_obsfilename ( ) const
inline

Returns name of RINEX observation file.

Definition at line 156 of file rinex_printer.h.

◆ is_rinex_header_written()

bool Rinex_Printer::is_rinex_header_written ( ) const
inline

Returns true is the RINEX file headers are already written.

Definition at line 140 of file rinex_printer.h.

◆ log_rinex_nav_bds_dnav()

void Rinex_Printer::log_rinex_nav_bds_dnav ( const std::map< int32_t, Beidou_Dnav_Ephemeris > & new_bds_eph)

Print RINEX annotation for BeiDou DNAV message.

◆ log_rinex_nav_gal_nav()

void Rinex_Printer::log_rinex_nav_gal_nav ( const std::map< int32_t, Galileo_Ephemeris > & new_gal_eph)

Print RINEX annotation for Galileo NAV message.

◆ log_rinex_nav_glo_gnav()

void Rinex_Printer::log_rinex_nav_glo_gnav ( const std::map< int32_t, Glonass_Gnav_Ephemeris > & new_glo_eph)

Print RINEX annotation for Glonass GNAV message.

◆ log_rinex_nav_gps_cnav()

void Rinex_Printer::log_rinex_nav_gps_cnav ( const std::map< int32_t, Gps_CNAV_Ephemeris > & new_cnav_eph)

Print RINEX annotation for GPS CNAV message.

◆ log_rinex_nav_gps_nav()

void Rinex_Printer::log_rinex_nav_gps_nav ( const std::map< int32_t, Gps_Ephemeris > & new_eph)

Print RINEX annotation for GPS NAV message.

◆ print_rinex_annotation()

void Rinex_Printer::print_rinex_annotation ( const Rtklib_Solver * pvt_solver,
const std::map< int, Gnss_Synchro > & gnss_observables_map,
double rx_time,
bool flag_write_RINEX_obs_output )

Print RINEX annotation. If it is the first annotation, it also prints the RINEX headers for navigation and observation files. If it is not the first annotation, it only annotates the observation, and updates the navigation header if UTC data was not available when writing it for the first time.


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