Changeset 3009 in ntrip
- Timestamp:
- Feb 22, 2011, 5:43:00 PM (14 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncephuser.cpp
r2914 r3009 91 91 t_ephGPS* eLast = new t_ephGPS(); 92 92 eLast->set(&gpseph); 93 _eph.insert(prn, new t_ephPair()); 94 _eph[prn]->last = eLast; 93 _eph.insert(prn, new t_ephPair(eLast)); 95 94 } 96 95 } … … 119 118 t_ephGlo* eLast = new t_ephGlo(); 120 119 eLast->set(&gloeph); 121 _eph.insert(prn, new t_ephPair()); 122 _eph[prn]->last = eLast; 120 _eph.insert(prn, new t_ephPair(eLast)); 123 121 } 124 122 } … … 145 143 t_ephGal* eLast = new t_ephGal(); 146 144 eLast->set(&galeph); 147 _eph.insert(prn, new t_ephPair()); 148 _eph[prn]->last = eLast; 145 _eph.insert(prn, new t_ephPair(eLast)); 149 146 } 150 147 } -
trunk/BNC/bncephuser.h
r2914 r3009 42 42 raoSet = false; 43 43 dClkSet = false; 44 eph = 0; 44 45 } 45 46 bool ready() {return raoSet && dClkSet;} … … 67 68 bool raoSet; 68 69 bool dClkSet; 70 t_eph* eph; 69 71 }; 70 72 … … 85 87 class t_ephPair { 86 88 public: 87 t_ephPair( ) {88 last = 0;89 t_ephPair(t_eph* lastEph) { 90 last = lastEph; 89 91 prev = 0; 90 92 }
Note:
See TracChangeset
for help on using the changeset viewer.