Changeset 11185 in ntrip for trunk/BNC/src/pppRun.cpp
- Timestamp:
- Nov 9, 2026, 12:15:48 PM (6 hours ago)
- File:
-
- 1 edited
-
trunk/BNC/src/pppRun.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/pppRun.cpp
r11179 r11185 68 68 _opt = opt; 69 69 70 connect(this, SIGNAL(newMessage(QByteArray,bool)), 71 BNC_CORE, SLOT(slotMessage(const QByteArray,bool))); 72 connect(this, SIGNAL(newLogRecord(t_logRecord,bool)), 73 BNC_CORE, SLOT(slotLogRecord(t_logRecord,bool))); 74 t_logRecord::registerStation(QByteArray(_opt->_roverName.c_str())); 70 BNC_CORE->connectMessages(this, "ppp"); 71 BNC_CORE->connectLogRecords(this, "ppp"); 72 t_logRecord::registerStream(QByteArray(_opt->_roverName.c_str())); 75 73 76 74 connect(this, SIGNAL(newPosition(QByteArray, bncTime, QVector<double>)), … … 88 86 Qt::SkipEmptyParts); 89 87 if (!_ephMounts.isEmpty()) { 90 emit new Message(QByteArray(_opt->_roverName.c_str()) + ": PPP uses the ephemerides of "91 + _ephMounts.join(", ").toLatin1() + " only", true); 88 emit newLogRecord(t_logRecord::message(t_logRecord::info, QByteArray(_opt->_roverName.c_str()) + ": PPP uses the ephemerides of " 89 + _ephMounts.join(", ").toLatin1() + " only"), true); 92 90 } 93 91 … … 748 746 } 749 747 catch (const char* msg) { 750 emit new Message(QByteArray(msg), true);748 emit newLogRecord(t_logRecord::message(t_logRecord::error, QByteArray(msg)), true); 751 749 break; 752 750 } 753 751 catch (const string& msg) { 754 emit new Message(QByteArray(msg.c_str()), true);752 emit newLogRecord(t_logRecord::message(t_logRecord::error, QByteArray(msg.c_str())), true); 755 753 break; 756 754 } 757 755 catch (...) { 758 emit new Message("unknown exceptions in file " + file->name().toLatin1(), true);756 emit newLogRecord(t_logRecord::message(t_logRecord::error, "unknown exceptions in file " + file->name().toLatin1()), true); 759 757 break; 760 758 } … … 888 886 889 887 QString msg = "pppRun " + QString(_opt->_roverName.c_str()) + ": SSR Provider or Service changed: " + mountPoint; 890 emit new Message(msg.toLatin1(), true);888 emit newLogRecord(t_logRecord::message(t_logRecord::info, msg.toLatin1()), true); 891 889 892 890 _pppClient->reset();
Note:
See TracChangeset
for help on using the changeset viewer.
