- Timestamp:
- May 30, 2006, 3:28:37 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncgetthread.cpp
r36 r39 132 132 // Instantiate the filter 133 133 // ---------------------- 134 RTCM rtcmFilter('A',true); 134 GPSDecoder* rtcmFilter; 135 rtcmFilter = new RTCM('A',true); 135 136 136 137 // Read Incoming Data … … 142 143 char* data = new char[nBytes]; 143 144 _socket->read(data, nBytes); 144 rtcmFilter .Decode(data, nBytes);145 rtcmFilter->Decode(data, nBytes); 145 146 delete data; 146 for (list<Observation*>::iterator it = rtcmFilter .m_lObsList.begin();147 it != rtcmFilter .m_lObsList.end(); it++) {147 for (list<Observation*>::iterator it = rtcmFilter->m_lObsList.begin(); 148 it != rtcmFilter->m_lObsList.end(); it++) { 148 149 emit newObs(_mountPoint, *it); 149 150 } 150 rtcmFilter .m_lObsList.clear();151 rtcmFilter->m_lObsList.clear(); 151 152 } 152 153 else { … … 155 156 } 156 157 } 158 delete rtcmFilter; 157 159 } 158 160
Note:
See TracChangeset
for help on using the changeset viewer.