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