Changeset 3280 in ntrip
- Timestamp:
- Apr 27, 2011, 10:45:42 AM (14 years ago)
- Location:
- trunk/BNC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM3/ephemeris.cpp
r3279 r3280 11 11 #include "timeutils.h" 12 12 #include "bnctime.h" 13 #include "bncapp.h" 13 14 14 15 using namespace std; … … 457 458 } 458 459 459 if (changed ) {460 if (changed && ((bncApp*) qApp)->mode() == bncApp::batchPostProcessing) { 460 461 bncTime newHTime(ww, (double) tow); 461 462 cout << "GLONASS " << ee->almanac_number << " Time Changed at " -
trunk/BNC/bncapp.h
r3232 r3280 41 41 Q_OBJECT 42 42 public: 43 enum e_mode {interactive, nonInteractive, batchPostProcessing}; 43 44 bncApp(int& argc, char* argv[], bool GUIenabled); 44 45 virtual ~bncApp(); 46 e_mode mode() const {return _mode;} 47 void setMode(e_mode mode) {_mode = mode;} 45 48 void setPort(int port); 46 49 void setPortCorr(int port); … … 125 128 int _GLOFreq[PRN_GLONASS_NUM]; 126 129 bncComb* _bncComb; 130 e_mode _mode; 127 131 public: 128 132 bncPPPclient* _bncPPPclient; -
trunk/BNC/bncmain.cpp
r3251 r3280 112 112 if (GUIenabled) { 113 113 114 app.setMode(bncApp::interactive); 115 114 116 QString fontString = settings.value("font").toString(); 115 117 if ( !fontString.isEmpty() ) { … … 149 151 // -------------------------------- 150 152 if ( rawFileName.isEmpty() ) { 153 app.setMode(bncApp::nonInteractive); 151 154 caster->slotReadMountPoints(); 152 155 if (caster->numStations() == 0) { … … 158 161 // ----------------------------- 159 162 else { 163 app.setMode(bncApp::batchPostProcessing); 164 160 165 if ( format.isEmpty() || staID.isEmpty() ) { 161 166 cout << printHelp.toAscii().data() << endl;
Note:
See TracChangeset
for help on using the changeset viewer.