Changeset 2929 in ntrip


Ignore:
Timestamp:
Jan 29, 2011, 2:02:10 PM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/combination
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/combination/bnccomb.cpp

    r2928 r2929  
    4646
    4747  _caster = new cmbCaster();
     48
     49  connect(_caster, SIGNAL(error(const QByteArray)),
     50          this, SLOT(slotError(const QByteArray)));
     51
     52  connect(_caster, SIGNAL(newMessage(const QByteArray)),
     53          this, SLOT(slotMessage(const QByteArray)));
    4854}
    4955
     
    222228}
    223229
     230// Write an Error Message
     231////////////////////////////////////////////////////////////////////////////
     232void bncComb::slotError(const QByteArray msg) {
     233  cout << msg.data() << endl;
     234}
     235
     236// Write a Message
     237////////////////////////////////////////////////////////////////////////////
     238void bncComb::slotMessage(const QByteArray msg) {
     239  cout << msg.data() << endl;
     240}
     241
    224242// Process Epochs
    225243////////////////////////////////////////////////////////////////////////////
  • trunk/BNC/combination/bnccomb.h

    r2928 r2929  
    1818 signals:
    1919  void newMessage(QByteArray msg, bool showOnScreen);
     20
     21 private slots:
     22  void slotMessage(const QByteArray msg);
     23  void slotError(const QByteArray msg);
    2024
    2125 private:
Note: See TracChangeset for help on using the changeset viewer.