Changeset 826 in ntrip


Ignore:
Timestamp:
Apr 15, 2008, 9:57:05 AM (16 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bns.cpp

    r825 r826  
    196196  // ---------------------------------------
    197197  _bnseph = new t_bnseph(parent());
     198  _bnseph->start();
     199
     200  connect(_bnseph, SIGNAL(newEph(gpsEph*)), this, SLOT(slotNewEph(gpsEph*)));
     201
     202  connect(_bnseph, SIGNAL(newMessage(QByteArray)),
     203          this, SLOT(slotMessage(const QByteArray)));
     204
     205  connect(_bnseph, SIGNAL(error(QByteArray)),
     206          this, SLOT(slotError(const QByteArray)));
    198207
    199208  // Server listening for rtnet results
     
    203212  _clkServer->listen(QHostAddress::Any, settings.value("clkPort").toInt());
    204213
    205   // Start Thread that retrieves broadcast Ephemeris
    206   // -----------------------------------------------
    207   _bnseph->start();
    208 
    209   // Connect Slots-Signals
    210   // ---------------------
    211   connect(_bnseph, SIGNAL(newEph(gpsEph*)),
    212           this, SLOT(slotNewEph(gpsEph*)));
    213 
    214   connect(_bnseph, SIGNAL(newMessage(QByteArray)),
    215           this, SLOT(slotMessage(const QByteArray)));
    216 
    217   connect(_bnseph, SIGNAL(error(QByteArray)),
    218           this, SLOT(slotError(const QByteArray)));
    219 
    220   connect(_clkServer, SIGNAL(newConnection()),this,
    221           SLOT(slotNewConnection()));
     214  connect(_clkServer, SIGNAL(newConnection()),this, SLOT(slotNewConnection()));
    222215
    223216  // Endless loop
Note: See TracChangeset for help on using the changeset viewer.