source: ntrip/trunk/BNS/bns.cpp@ 756

Last change on this file since 756 was 756, checked in by mervart, 16 years ago

* empty log message *

File size: 1.1 KB
Line 
1/* -------------------------------------------------------------------------
2 * BKG NTRIP Server
3 * -------------------------------------------------------------------------
4 *
5 * Class: bns
6 *
7 * Purpose: This class implements the main application behaviour
8 *
9 * Author: L. Mervart
10 *
11 * Created: 29-Mar-2008
12 *
13 * Changes:
14 *
15 * -----------------------------------------------------------------------*/
16
17#include <iostream>
18
19#include "bns.h"
20
21using namespace std;
22
23// Constructor
24////////////////////////////////////////////////////////////////////////////
25bns::bns(QObject* parent) : QThread(parent) {
26}
27
28// Destructor
29////////////////////////////////////////////////////////////////////////////
30bns::~bns() {
31}
32
33// Write a Program Message
34////////////////////////////////////////////////////////////////////////////
35void bns::slotMessage(const QByteArray msg) {
36 QMutexLocker locker(&_mutex);
37 cout << msg.data() << endl;
38}
39
40// Start
41////////////////////////////////////////////////////////////////////////////
42void bns::run() {
43 slotMessage("============ Start BNS ============");
44}
45
Note: See TracBrowser for help on using the repository browser.