Line | |
---|
1 | /* -------------------------------------------------------------------------
|
---|
2 | * BKG NTRIP Server
|
---|
3 | * -------------------------------------------------------------------------
|
---|
4 | *
|
---|
5 | * Class: bncEphUploadCaster
|
---|
6 | *
|
---|
7 | * Purpose: Connection to NTRIP Caster for Ephemeris
|
---|
8 | *
|
---|
9 | * Author: L. Mervart
|
---|
10 | *
|
---|
11 | * Created: 03-Apr-2011
|
---|
12 | *
|
---|
13 | * Changes:
|
---|
14 | *
|
---|
15 | * -----------------------------------------------------------------------*/
|
---|
16 |
|
---|
17 | #include <math.h>
|
---|
18 | #include "bncephuploadcaster.h"
|
---|
19 | #include "bncsettings.h"
|
---|
20 |
|
---|
21 | using namespace std;
|
---|
22 |
|
---|
23 | // Constructor
|
---|
24 | ////////////////////////////////////////////////////////////////////////////
|
---|
25 | bncEphUploadCaster::bncEphUploadCaster() {
|
---|
26 | bncSettings settings;
|
---|
27 |
|
---|
28 | QString mountpoint = settings.value("uploadEphMountpoint").toString();
|
---|
29 | QString outHost = settings.value("uploadEphHost").toString();
|
---|
30 | int outPort = settings.value("uploadEphPort").toInt();
|
---|
31 | QString password = settings.value("uploadEphPassword").toString();
|
---|
32 |
|
---|
33 | _ephUploadCaster = new bncUploadCaster(mountpoint, outHost, outPort,
|
---|
34 | password, -1);
|
---|
35 | _ephUploadCaster->start();
|
---|
36 | }
|
---|
37 |
|
---|
38 | // Destructor
|
---|
39 | ////////////////////////////////////////////////////////////////////////////
|
---|
40 | bncEphUploadCaster::~bncEphUploadCaster() {
|
---|
41 | _ephUploadCaster->deleteSafely();
|
---|
42 | }
|
---|
43 |
|
---|
44 | // List of Stored Ephemeris changed (virtual)
|
---|
45 | ////////////////////////////////////////////////////////////////////////////
|
---|
46 | void bncEphUploadCaster::ephBufferChanged() {
|
---|
47 |
|
---|
48 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.