Changeset 6403 in ntrip


Ignore:
Timestamp:
Dec 22, 2014, 11:38:17 AM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM3/ephEncoder.cpp

    r6375 r6403  
    321321}
    322322
     323int t_ephEncoder::RTCM3(const t_ephSBAS& /* eph */, unsigned char* /* buffer */) {
     324
     325  return 0;
     326}
     327
     328int t_ephEncoder::RTCM3(const t_ephCompass& /* eph */, unsigned char* /* buffer */) {
     329
     330  return 0;
     331}
  • trunk/BNC/src/RTCM3/ephEncoder.h

    r5852 r6403  
    66class t_ephEncoder {
    77 public:
    8   static int RTCM3(const t_ephGPS& eph, unsigned char *);
    9   static int RTCM3(const t_ephGlo& eph, unsigned char *);
    10   static int RTCM3(const t_ephGal& eph, unsigned char *);
     8  static int RTCM3(const t_ephGPS&     eph, unsigned char *);
     9  static int RTCM3(const t_ephGlo&     eph, unsigned char *);
     10  static int RTCM3(const t_ephGal&     eph, unsigned char *);
     11  static int RTCM3(const t_ephSBAS&    eph, unsigned char *);
     12  static int RTCM3(const t_ephCompass& eph, unsigned char *);
    1113};
    1214
  • trunk/BNC/src/upload/bncephuploadcaster.cpp

    r5855 r6403  
    6868      unsigned char Array[80];
    6969      int size = 0;
    70       t_ephGPS* ephGPS = dynamic_cast<t_ephGPS*>(eph);
    71       t_ephGlo* ephGlo = dynamic_cast<t_ephGlo*>(eph);
    72       t_ephGal* ephGal = dynamic_cast<t_ephGal*>(eph);
     70      t_ephGPS*     ephGPS     = dynamic_cast<t_ephGPS*>(eph);
     71      t_ephGlo*     ephGlo     = dynamic_cast<t_ephGlo*>(eph);
     72      t_ephGal*     ephGal     = dynamic_cast<t_ephGal*>(eph);
     73      t_ephSBAS*    ephSBAS    = dynamic_cast<t_ephSBAS*>(eph);
     74      t_ephCompass* ephCompass = dynamic_cast<t_ephCompass*>(eph);
    7375      if (ephGPS) {
    7476        size = t_ephEncoder::RTCM3(*ephGPS, Array);
     
    7981      else if (ephGal) {
    8082        size = t_ephEncoder::RTCM3(*ephGal, Array);
     83      }
     84      else if (ephSBAS) {
     85        size = t_ephEncoder::RTCM3(*ephSBAS, Array);
     86      }
     87      else if (ephCompass) {
     88        size = t_ephEncoder::RTCM3(*ephCompass, Array);
    8189      }
    8290      if (size > 0) {
Note: See TracChangeset for help on using the changeset viewer.