Changeset 2182 in ntrip for trunk


Ignore:
Timestamp:
Jan 4, 2010, 3:39:55 PM (15 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnccaster.cpp

    r2035 r2182  
    3838 *
    3939 * -----------------------------------------------------------------------*/
     40
     41#include <iostream>
    4042
    4143#include <math.h>
     
    244246  connect(getThread, SIGNAL(getThreadFinished(QByteArray)),
    245247          this, SLOT(slotGetThreadFinished(QByteArray)));
     248
     249  connect(getThread, SIGNAL(newNMEAstr(QByteArray)),
     250          this, SLOT(slotNewNMEAstr(QByteArray)));
    246251
    247252  connect(((bncApp*)qApp), SIGNAL(newEphGPS(gpsephemeris)),
     
    510515  return -1;
    511516}
     517
     518//
     519////////////////////////////////////////////////////////////////////////////
     520void bncCaster::slotNewNMEAstr(QByteArray str) {
     521
     522  std::cout << str.data();
     523
     524}
  • trunk/BNC/bnccaster.h

    r2030 r2182  
    4646   void newObs(QByteArray staID, bool firstObs, p_obs obs);
    4747   void slotReadMountPoints();
     48   void slotNewNMEAstr(QByteArray str);
    4849
    4950 signals:
  • trunk/BNC/bncgetthread.cpp

    r2145 r2182  
    291291    connect(_PPPclient, SIGNAL(newPosition(bncTime, double, double, double)),
    292292            this, SIGNAL(newPosition(bncTime, double, double, double)));
     293  connect(_PPPclient, SIGNAL(newNMEAstr(QByteArray)),
     294          this,       SIGNAL(newNMEAstr(QByteArray)));
    293295  }
    294296
  • trunk/BNC/bncgetthread.h

    r2145 r2182  
    8383   void getThreadFinished(QByteArray staID);
    8484   void newPosition(bncTime time, double x, double y, double z);
     85   void newNMEAstr(QByteArray str);
    8586
    8687 protected:
  • trunk/BNC/bncpppclient.cpp

    r2145 r2182  
    6363  _epoData = 0;
    6464  _model   = new bncModel(staID);
     65  connect(_model, SIGNAL(newNMEAstr(QByteArray)),
     66          this,   SIGNAL(newNMEAstr(QByteArray)));
    6567}
    6668
  • trunk/BNC/bncpppclient.h

    r2145 r2182  
    9494 signals:
    9595  void newPosition(bncTime time, double x, double y, double z);
     96  void newNMEAstr(QByteArray str);
    9697
    9798 private:
Note: See TracChangeset for help on using the changeset viewer.