Changeset 6812 in ntrip for trunk/BNC/src/bncutils.h


Ignore:
Timestamp:
May 5, 2015, 3:44:39 PM (9 years ago)
Author:
stoecker
Message:

integrate RTCM3 parsing into BNC and directly fill target structures, add doxygen documentation

Location:
trunk/BNC/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src

    • Property svn:ignore
      •  

        old new  
        55debug
        66release
         7html
  • trunk/BNC/src/bncutils.h

    r6799 r6812  
    3636
    3737void         expandEnvVar(QString& str);
     38
     39/**
     40 * Return GPS leap seconds for a given UTC time
     41 * @param year 4 digit year
     42 * @param month month in year (1-12)
     43 * @param day day in month (1-31)
     44 * @return number of leap seconds since 6.1.1980
     45 */
     46int          gnumleap(int year, int month, int day);
     47
     48/**
     49 * Convert Moscow time into GPS or UTC. Note that parts of a second are not preserved
     50 * and must be handled separately.
     51 * @param week GPS week number (must be prefilled, contains fixed value afterwards)
     52 * @param secOfWeek seconds in GPS week (must be prefilled, contains fixed value afterwards)
     53 * @param mSecOfWeek milli seconds in GLONASS time
     54 * @param fixnumleap when <code>true</code> then result is UTC time, otherwise it is GPS
     55 * @return does not return a value, but updates first two arguments
     56 */
     57void         updatetime(int *week, int *secOfWeek, int mSecOfWeek, bool fixnumleap);
    3858
    3959QDateTime    dateAndTimeFromGPSweek(int GPSWeek, double GPSWeeks);
Note: See TracChangeset for help on using the changeset viewer.