Changeset 5945 in ntrip


Ignore:
Timestamp:
Aug 16, 2014, 1:38:35 PM (8 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppRun.cpp

    r5944 r5945  
    7979            BNC_CORE, SIGNAL(newPosition(bncTime, QVector<double>)));
    8080
     81    Qt::ConnectionType conType = Qt::AutoConnection;
     82    if (BNC_CORE->mode() == t_bncCore::batchPostProcessing) {
     83      conType = Qt::BlockingQueuedConnection;
     84    }
     85
    8186    connect(BNC_CORE->caster(), SIGNAL(newObs(QByteArray, QList<t_obs>)),
    82             this, SLOT(slotNewObs(QByteArray, QList<t_obs>)));
     87            this, SLOT(slotNewObs(QByteArray, QList<t_obs>)),conType);
    8388
    8489    connect(BNC_CORE, SIGNAL(newEphGPS(gpsephemeris)),
    85             this, SLOT(slotNewEphGPS(gpsephemeris)));
     90            this, SLOT(slotNewEphGPS(gpsephemeris)),conType);
    8691 
    8792    connect(BNC_CORE, SIGNAL(newEphGlonass(glonassephemeris)),
    88             this, SLOT(slotNewEphGlonass(glonassephemeris)));
     93            this, SLOT(slotNewEphGlonass(glonassephemeris)),conType);
    8994 
    9095    connect(BNC_CORE, SIGNAL(newEphGalileo(galileoephemeris)),
    91             this, SLOT(slotNewEphGalileo(galileoephemeris)));
     96            this, SLOT(slotNewEphGalileo(galileoephemeris)),conType);
    9297
    9398    connect(BNC_CORE, SIGNAL(newCorrections(QStringList)),
    94             this, SLOT(slotNewCorrections(QStringList)));
     99            this, SLOT(slotNewCorrections(QStringList)),conType);
    95100  }
    96101  else {
  • trunk/BNC/src/bncmain.cpp

    r5926 r5945  
    212212    else {
    213213      BNC_CORE->setMode(t_bncCore::batchPostProcessing);
    214       BNC_CORE->startPPP(false);
     214      BNC_CORE->startPPP(true);
    215215
    216216      bncRawFile*   rawFile   = new bncRawFile(rawFileName, "", bncRawFile::input);
Note: See TracChangeset for help on using the changeset viewer.