18 #ifndef GNSS_SDR_GNSS_SDR_TIMESTAMP_H 19 #define GNSS_SDR_GNSS_SDR_TIMESTAMP_H 23 #include <gnuradio/sync_block.h> 24 #include <gnuradio/types.h> 39 gnss_shared_ptr<Gnss_Sdr_Timestamp> gnss_sdr_make_Timestamp(
40 size_t sizeof_stream_item,
41 std::string timestamp_file,
42 double clock_offset_ms);
48 int work(
int noutput_items,
49 gr_vector_const_void_star& input_items,
50 gr_vector_void_star& output_items);
54 friend gnss_shared_ptr<Gnss_Sdr_Timestamp> gnss_sdr_make_Timestamp(
55 size_t sizeof_stream_item,
56 std::string timestamp_file,
57 double clock_offset_ms);
60 std::string timestamp_file,
61 double clock_offset_ms);
63 int64_t uint64diff(uint64_t first, uint64_t second);
64 bool read_next_timetag();
65 std::string d_timefile;
66 std::fstream d_timefilestream;
68 double d_clock_offset_ms;
69 double d_fraction_ms_offset;
70 double d_integer_ms_offset;
71 uint64_t d_next_timetag_samplecount;
72 bool d_get_next_timetag;
78 #endif // GNSS_SDR_GNSS_SDR_TIMESTAMP_H class that stores both the receiver time, relative to the receiver start and the GNSS time (absolute)...
This interface represents a GNSS block.