Changeset 8275 in ntrip
- Timestamp:
- Feb 7, 2018, 2:26:39 PM (7 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncwindow.cpp
r8252 r8275 514 514 // Upload Results 515 515 // ------------- 516 _uploadTable = new QTableWidget(0,1 2);517 _uploadTable->setHorizontalHeaderLabels(QString("Host, Port, Mount, Password, System, CoM, SP3 File, RNX File, PID, SID, IOD, bytes").split(","));516 _uploadTable = new QTableWidget(0,14); 517 _uploadTable->setHorizontalHeaderLabels(QString("Host, Port, Mount, Ntrip, User, Password, System, CoM, SP3 File, RNX File, PID, SID, IOD, bytes").split(",")); 518 518 _uploadTable->setSelectionMode(QAbstractItemView::ExtendedSelection); 519 519 _uploadTable->setSelectionBehavior(QAbstractItemView::SelectRows); … … 521 521 _uploadTable->horizontalHeader()->resizeSection( 1, 5*ww); 522 522 _uploadTable->horizontalHeader()->resizeSection( 2, 6*ww); 523 _uploadTable->horizontalHeader()->resizeSection( 3, 8*ww);524 _uploadTable->horizontalHeader()->resizeSection( 4, 11*ww);525 _uploadTable->horizontalHeader()->resizeSection( 5, 4*ww);526 _uploadTable->horizontalHeader()->resizeSection( 6,1 5*ww);527 _uploadTable->horizontalHeader()->resizeSection( 7, 15*ww);528 _uploadTable->horizontalHeader()->resizeSection( 8, 4*ww);529 _uploadTable->horizontalHeader()->resizeSection( 9, 4*ww);523 _uploadTable->horizontalHeader()->resizeSection( 3, 6*ww); 524 _uploadTable->horizontalHeader()->resizeSection( 4, 8*ww); 525 _uploadTable->horizontalHeader()->resizeSection( 5, 8*ww); 526 _uploadTable->horizontalHeader()->resizeSection( 6,11*ww); 527 _uploadTable->horizontalHeader()->resizeSection( 7, 4*ww); 528 _uploadTable->horizontalHeader()->resizeSection( 8,15*ww); 529 _uploadTable->horizontalHeader()->resizeSection( 9,15*ww); 530 530 _uploadTable->horizontalHeader()->resizeSection(10, 4*ww); 531 _uploadTable->horizontalHeader()->resizeSection(11,12*ww); 531 _uploadTable->horizontalHeader()->resizeSection(11, 4*ww); 532 _uploadTable->horizontalHeader()->resizeSection(12, 4*ww); 533 _uploadTable->horizontalHeader()->resizeSection(13,12*ww); 532 534 #if QT_VERSION < 0x050000 533 535 _uploadTable->horizontalHeader()->setResizeMode(QHeaderView::Interactive); … … 598 600 // ---------------------- 599 601 _uploadEphTable = new QTableWidget(0,6); 600 _uploadEphTable->setColumnCount( 6);602 _uploadEphTable->setColumnCount(8); 601 603 _uploadEphTable->setRowCount(0); 602 _uploadEphTable->setHorizontalHeaderLabels(QString("Host, Port, Mount, Password, System, bytes").split(","));604 _uploadEphTable->setHorizontalHeaderLabels(QString("Host, Port, Mount, Ntrip, User, Password, System, bytes").split(",")); 603 605 _uploadEphTable->setSelectionMode(QAbstractItemView::ExtendedSelection); 604 606 _uploadEphTable->setSelectionBehavior(QAbstractItemView::SelectRows); … … 606 608 _uploadEphTable->horizontalHeader()->resizeSection( 1, 5*ww); 607 609 _uploadEphTable->horizontalHeader()->resizeSection( 2, 8*ww); 610 _uploadEphTable->horizontalHeader()->resizeSection( 3, 6*ww); 611 _uploadEphTable->horizontalHeader()->resizeSection( 4, 8*ww); 608 612 _uploadEphTable->horizontalHeader()->resizeSection( 3, 8*ww); 609 _uploadEphTable->horizontalHeader()->resizeSection( 4,10*ww);610 _uploadEphTable->horizontalHeader()->resizeSection( 5,12*ww);613 _uploadEphTable->horizontalHeader()->resizeSection( 5,10*ww); 614 _uploadEphTable->horizontalHeader()->resizeSection( 6,12*ww); 611 615 #if QT_VERSION < 0x050000 612 616 _uploadEphTable->horizontalHeader()->setResizeMode(QHeaderView::Interactive); … … 1423 1427 // WhatsThis, Upload Corrections 1424 1428 // ----------------------------- 1425 _uploadTable->setWhatsThis(tr("<p>BNC can upload clock and orbit corrections to Broadcast Ephemeris (Broadcast Corrections) in RTCM Version 3 SSR format. You may have a situation where clocks and orbits come from an external Real-time Network Engine (1) or a situation where clock and orbit corrections are combined within BNC (2).</p><p>(1) BNC identifies a stream as coming from a Real-time Network Engine if its format is specified as 'RTNET' and hence its decoder string in the 'Streams' canvas is 'RTNET'. It encodes and uploads that stream to the specified Ntrip Broadcaster Host and Port</p><p>(2) BNC understands that it is expected to encode and upload combined Broadcast Ephemeris Corrections if you specify correction streams in the 'Combine Corrections' table.</p><p>To fill the 'Upload Corrections' table, hit the 'Add Row' button, double click on the 'Host' field to enter the IP or URL of an Ntrip Broadcaster and hit Enter. Then double click on the 'Port', 'Mount' and 'Password' fields to enter the Ntrip Broadcaster IP port (default is 80), the mountpoint and the stream upload password. An empty 'Host' option field means that you don't want to upload corrections.</p><p>Select a target coordinate reference System (e.g. IGS14) for outgoing clock and orbit corrections.</p><p>By default orbit and clock corrections refer to Antenna Phase Center (APC). Tick 'CoM' to refer uploaded corrections to Center of Mass instead of APC.</p><p>Specify a path for saving generated Broadcast Corrections plus Broadcast Ephemeris as SP3 orbit files. If the specified directory does not exist, BNC will not create such files. The following is a path example for a Linux system: /home/user/BNC${GPSWD}.sp3<br>Note that '${GPSWD}' produces the GPS Week and Day number in the filename.</p><p>Specify a path for saving generated Broadcast Correction clocks plus Broadcast Ephemeris clocks as Clock RINEX files. If the specified directory does not exist, BNC will not create Clock RINEX files. The following is a path example for a Linux system: /home/user/BNC${GPSWD}.clk<br>Note that '${GPSWD}' produces the GPS Week and Day number in the filename.</p><p>Finally, specify a SSR Provider ID (issued by RTCM), SSR Solution ID, and SSR Issue of Data number.</p><p>In case the 'Combine Corrections' table contains only one Broadcast Correction stream, BNC will add that stream content to the Broadcast Ephemeris to save results in files specified via SP3 and/or Clock RINEX file path. You should then define only the SP3 and Clock RINEX file path and no further option in the 'Upload Corrections' table. <i>[key: uploadMountpointsOut]</i></p>"));1429 _uploadTable->setWhatsThis(tr("<p>BNC can upload clock and orbit corrections to Broadcast Ephemeris (Broadcast Corrections) in RTCM Version 3 SSR format. You may have a situation where clocks and orbits come from an external Real-time Network Engine (1) or a situation where clock and orbit corrections are combined within BNC (2).</p><p>(1) BNC identifies a stream as coming from a Real-time Network Engine if its format is specified as 'RTNET' and hence its decoder string in the 'Streams' canvas is 'RTNET'. It encodes and uploads that stream to the specified Ntrip Broadcaster Host and Port</p><p>(2) BNC understands that it is expected to encode and upload combined Broadcast Ephemeris Corrections if you specify correction streams in the 'Combine Corrections' table.</p><p>To fill the 'Upload Corrections' table, hit the 'Add Row' button, double click on the 'Host' field to enter the IP or URL of an Ntrip Broadcaster and hit Enter. Select the Ntrip Version that shall be used for data upload. Then double click on the 'Port', 'Mount' and 'Password' fields to enter the Ntrip Broadcaster IP port (default is 80), the mountpoint and the stream upload password. If Ntrip Version 2 is chosen, click to the 'User' field to enter a stream upload user name. An empty 'Host' option field means that you don't want to upload corrections.</p><p>Select a target coordinate reference System (e.g. IGS14) for outgoing clock and orbit corrections.</p><p>By default orbit and clock corrections refer to Antenna Phase Center (APC). Tick 'CoM' to refer uploaded corrections to Center of Mass instead of APC.</p><p>Specify a path for saving generated Broadcast Corrections plus Broadcast Ephemeris as SP3 orbit files. If the specified directory does not exist, BNC will not create such files. The following is a path example for a Linux system: /home/user/BNC${GPSWD}.sp3<br>Note that '${GPSWD}' produces the GPS Week and Day number in the filename.</p><p>Specify a path for saving generated Broadcast Correction clocks plus Broadcast Ephemeris clocks as Clock RINEX files. If the specified directory does not exist, BNC will not create Clock RINEX files. The following is a path example for a Linux system: /home/user/BNC${GPSWD}.clk<br>Note that '${GPSWD}' produces the GPS Week and Day number in the filename.</p><p>Finally, specify a SSR Provider ID (issued by RTCM), SSR Solution ID, and SSR Issue of Data number.</p><p>In case the 'Combine Corrections' table contains only one Broadcast Correction stream, BNC will add that stream content to the Broadcast Ephemeris to save results in files specified via SP3 and/or Clock RINEX file path. You should then define only the SP3 and Clock RINEX file path and no further option in the 'Upload Corrections' table. <i>[key: uploadMountpointsOut]</i></p>")); 1426 1430 addUploadRowButton->setWhatsThis(tr("<p>Hit 'Add Row' button to add another line to the 'Upload Corrections' table.</p>")); 1427 1431 delUploadRowButton->setWhatsThis(tr("<p>Hit 'Del Row' button to delete the highlighted line(s) from the 'Upload Corrections' table.</p>")); … … 1872 1876 for (int iCol = 0; iCol < _uploadTable->columnCount(); iCol++) { 1873 1877 if (_uploadTable->cellWidget(iRow, iCol) && 1874 (iCol == 3 || iCol == 4 || iCol == 5)) { 1875 if (iCol == 3) { 1878 (iCol == 3 || iCol == 4 || iCol == 5 || iCol == 6 || iCol == 7)) { 1879 if (iCol == 3) { 1880 QComboBox* ntripversion = (QComboBox*)(_uploadTable->cellWidget(iRow, iCol)); 1881 hlp += ntripversion->currentText() + ","; 1882 } 1883 else if (iCol == 4 ) { 1884 QLineEdit* user = (QLineEdit*)(_uploadTable->cellWidget(iRow, iCol)); 1885 hlp += user->text() + ","; 1886 } 1887 else if (iCol == 5) { 1876 1888 QLineEdit* passwd = (QLineEdit*)(_uploadTable->cellWidget(iRow, iCol)); 1877 1889 hlp += passwd->text() + ","; 1878 1890 } 1879 else if (iCol == 4) {1891 else if (iCol == 6) { 1880 1892 QComboBox* system = (QComboBox*)(_uploadTable->cellWidget(iRow, iCol)); 1881 1893 hlp += system->currentText() + ","; 1882 1894 } 1883 else if (iCol == 5) {1895 else if (iCol == 7) { 1884 1896 QCheckBox* com = (QCheckBox*)(_uploadTable->cellWidget(iRow, iCol)); 1885 1897 QString state; state.setNum(com->checkState()); … … 1901 1913 for (int iCol = 0; iCol < _uploadEphTable->columnCount(); iCol++) { 1902 1914 if (_uploadEphTable->cellWidget(iRow, iCol) && 1903 (iCol == 3 || iCol == 4)) { 1904 if (iCol == 3) { 1915 (iCol == 3 || iCol == 4 || iCol == 5 || iCol == 6)) { 1916 if (iCol == 3) { 1917 QComboBox* ntripversion = (QComboBox*)(_uploadTable->cellWidget(iRow, iCol)); 1918 hlp += ntripversion->currentText() + ","; 1919 } 1920 else if (iCol == 4 ) { 1921 QLineEdit* user = (QLineEdit*)(_uploadTable->cellWidget(iRow, iCol)); 1922 hlp += user->text() + ","; 1923 } 1924 else if (iCol == 5) { 1905 1925 QLineEdit* passwd = (QLineEdit*)(_uploadEphTable->cellWidget(iRow, iCol)); 1906 1926 hlp += passwd->text() + ","; 1907 1927 } 1908 else if (iCol == 4) {1928 else if (iCol == 6) { 1909 1929 QComboBox* system = (QComboBox*)(_uploadEphTable->cellWidget(iRow, iCol)); 1910 1930 hlp += system->currentText() + ","; … … 2666 2686 _uploadTable->insertRow(iRow); 2667 2687 for (int iCol = 0; iCol < _uploadTable->columnCount(); iCol++) { 2668 if (iCol == 3) { 2688 if (iCol == 3) { 2689 QComboBox* ntripversion = new QComboBox(); 2690 ntripversion->setEditable(false); 2691 ntripversion->addItems(QString("1,2,2s").split(",")); 2692 ntripversion->setFrame(false); 2693 _uploadTable->setCellWidget(iRow, iCol, ntripversion); 2694 2695 } 2696 else if (iCol == 4) { 2697 QLineEdit* user = new QLineEdit(); 2698 user->setFrame(false); 2699 _uploadTable->setCellWidget(iRow, iCol, user); 2700 } 2701 else if (iCol == 5) { 2669 2702 QLineEdit* passwd = new QLineEdit(); 2670 2703 passwd->setFrame(false); … … 2672 2705 _uploadTable->setCellWidget(iRow, iCol, passwd); 2673 2706 } 2674 else if (iCol == 4) {2707 else if (iCol == 6) { 2675 2708 QComboBox* system = new QComboBox(); 2676 2709 system->setEditable(false); … … 2679 2712 _uploadTable->setCellWidget(iRow, iCol, system); 2680 2713 } 2681 else if (iCol == 5) {2714 else if (iCol == 7) { 2682 2715 QCheckBox* com = new QCheckBox(); 2683 2716 _uploadTable->setCellWidget(iRow, iCol, com); 2684 2717 } 2685 else if (iCol == 1 1) {2718 else if (iCol == 13) { 2686 2719 bncTableItem* bncIt = new bncTableItem(); 2687 2720 bncIt->setFlags(bncIt->flags() & ~Qt::ItemIsEditable); … … 2739 2772 int iRow = -1; 2740 2773 QListIterator<QString> it(settings.value("uploadMountpointsOut").toStringList()); 2774 2741 2775 while (it.hasNext()) { 2742 2776 QStringList hlp = it.next().split(","); … … 2747 2781 for (int iCol = 0; iCol < hlp.size(); iCol++) { 2748 2782 if (iCol == 3) { 2783 QComboBox* ntripversion = new QComboBox(); 2784 ntripversion->setEditable(false); 2785 ntripversion->addItems(QString("1,2,2s").split(",")); 2786 ntripversion->setFrame(false); 2787 ntripversion->setCurrentIndex(ntripversion->findText(hlp[iCol])); 2788 _uploadTable->setCellWidget(iRow, iCol, ntripversion); 2789 } 2790 else if (iCol == 4) { 2791 QLineEdit* user = new QLineEdit(); 2792 user->setFrame(false); 2793 user->setText(hlp[iCol]); 2794 _uploadTable->setCellWidget(iRow, iCol, user); 2795 } 2796 else if (iCol == 5) { 2749 2797 QLineEdit* passwd = new QLineEdit(); 2750 2798 passwd->setFrame(false); … … 2753 2801 _uploadTable->setCellWidget(iRow, iCol, passwd); 2754 2802 } 2755 else if (iCol == 4) {2803 else if (iCol == 6) { 2756 2804 QComboBox* system = new QComboBox(); 2757 2805 system->setEditable(false); 2758 system->addItems(QString(" ,IGS14,ETRF2000,NAD83,GDA94,SIRGAS2000,DREF91,Custom").split(","));2806 system->addItems(QString("IGS14,ETRF2000,NAD83,GDA2020,SIRGAS2000,DREF91,Custom").split(",")); 2759 2807 system->setFrame(false); 2760 2808 system->setCurrentIndex(system->findText(hlp[iCol])); 2761 2809 _uploadTable->setCellWidget(iRow, iCol, system); 2762 2810 } 2763 else if (iCol == 5) {2811 else if (iCol == 7) { 2764 2812 QCheckBox* com = new QCheckBox(); 2765 2813 if (hlp[iCol].toInt() == Qt::Checked) { … … 2768 2816 _uploadTable->setCellWidget(iRow, iCol, com); 2769 2817 } 2770 else if (iCol == 1 1) {2818 else if (iCol == 13) { 2771 2819 bncTableItem* bncIt = new bncTableItem(); 2772 2820 bncIt->setFlags(bncIt->flags() & ~Qt::ItemIsEditable); … … 2796 2844 for (int iCol = 0; iCol < _uploadEphTable->columnCount(); iCol++) { 2797 2845 if (iCol == 3) { 2846 QComboBox* ntripversion = new QComboBox(); 2847 ntripversion->setEditable(false); 2848 ntripversion->addItems(QString("1,2,2s").split(",")); 2849 ntripversion->setFrame(false); 2850 _uploadEphTable->setCellWidget(iRow, iCol, ntripversion); 2851 2852 } 2853 else if (iCol == 4) { 2854 QLineEdit* user = new QLineEdit(); 2855 user->setFrame(false); 2856 _uploadEphTable->setCellWidget(iRow, iCol, user); 2857 } 2858 else if (iCol == 5) { 2798 2859 QLineEdit* passwd = new QLineEdit(); 2799 2860 passwd->setFrame(false); … … 2801 2862 _uploadEphTable->setCellWidget(iRow, iCol, passwd); 2802 2863 } 2803 else if (iCol == 4) {2864 else if (iCol == 6) { 2804 2865 QComboBox* system = new QComboBox(); 2805 2866 system->setEditable(false); … … 2808 2869 _uploadEphTable->setCellWidget(iRow, iCol, system); 2809 2870 } 2810 else if (iCol == 5) {2871 else if (iCol == 7) { 2811 2872 bncTableItem* bncIt = new bncTableItem(); 2812 2873 bncIt->setFlags(bncIt->flags() & ~Qt::ItemIsEditable); … … 2862 2923 while (it.hasNext()) { 2863 2924 QStringList hlp = it.next().split(","); 2864 if (hlp.size() > 4) {2925 if (hlp.size() > 6) { 2865 2926 ++iRow; 2866 2927 _uploadEphTable->insertRow(iRow); 2867 2928 } 2868 2929 for (int iCol = 0; iCol < hlp.size(); iCol++) { 2869 if (iCol == 3) { 2930 if (iCol == 3) { 2931 QComboBox* ntripversion = new QComboBox(); 2932 ntripversion->setEditable(false); 2933 ntripversion->addItems(QString("1,2,2s").split(",")); 2934 ntripversion->setFrame(false); 2935 ntripversion->setCurrentIndex(ntripversion->findText(hlp[iCol])); 2936 _uploadEphTable->setCellWidget(iRow, iCol, ntripversion); 2937 } 2938 else if (iCol == 4) { 2939 QLineEdit* user = new QLineEdit(); 2940 user->setFrame(false); 2941 _uploadEphTable->setCellWidget(iRow, iCol, user); 2942 } 2943 else if (iCol == 5) { 2870 2944 QLineEdit* passwd = new QLineEdit(); 2871 2945 passwd->setFrame(false); … … 2874 2948 _uploadEphTable->setCellWidget(iRow, iCol, passwd); 2875 2949 } 2876 else if (iCol == 4) {2950 else if (iCol == 6) { 2877 2951 QComboBox* system = new QComboBox(); 2878 2952 system->setEditable(false); … … 2882 2956 _uploadEphTable->setCellWidget(iRow, iCol, system); 2883 2957 } 2884 else if (iCol == 5) {2958 else if (iCol == 7) { 2885 2959 bncTableItem* bncIt = new bncTableItem(); 2886 2960 bncIt->setFlags(bncIt->flags() & ~Qt::ItemIsEditable); -
trunk/BNC/src/upload/bncephuploadcaster.cpp
r7889 r8275 35 35 while (it.hasNext()) { 36 36 QStringList hlp = it.next().split(","); 37 if (hlp.size() > 3) {37 if (hlp.size() > 5) { 38 38 ++iRow; 39 39 int outPort = hlp[1].toInt(); 40 40 bncUploadCaster* newCaster = new bncUploadCaster(hlp[2], hlp[0], outPort, 41 hlp[3], iRow, sampl); 41 hlp[3], hlp[4], 42 hlp[5], iRow, sampl); 42 43 43 44 connect(newCaster, SIGNAL(newBytes(QByteArray,double)), -
trunk/BNC/src/upload/bncrtnetdecoder.cpp
r4176 r8275 35 35 * Created: 28-Mar-2011 36 36 * 37 * Changes: 37 * Changes: 38 38 * 39 39 * -----------------------------------------------------------------------*/ … … 46 46 47 47 // Constructor 48 //////////////////////////////////////////////////////////////////////// 48 //////////////////////////////////////////////////////////////////////// 49 49 bncRtnetDecoder::bncRtnetDecoder() { 50 50 bncSettings settings; … … 59 59 ++iRow; 60 60 int outPort = hlp[1].toInt(); 61 bool CoM = (hlp[ 5].toInt() == Qt::Checked);61 bool CoM = (hlp[7].toInt() == Qt::Checked); 62 62 int PID = 0; 63 if (hlp.size() > 8) {64 PID = hlp[ 8].toInt();63 if (hlp.size() > 10) { 64 PID = hlp[10].toInt(); 65 65 } 66 66 int SID = 0; 67 if (hlp.size() > 9) {68 SID = hlp[ 9].toInt();67 if (hlp.size() > 11) { 68 SID = hlp[11].toInt(); 69 69 } 70 70 int IOD = 0; 71 if (hlp.size() > 1 0) {72 IOD = hlp[1 0].toInt();71 if (hlp.size() > 12) { 72 IOD = hlp[12].toInt(); 73 73 } 74 74 bncRtnetUploadCaster* newCaster = new bncRtnetUploadCaster( 75 hlp[2], hlp[0], outPort, 76 hlp[3], hlp[4], CoM, 77 hlp[6], hlp[7], 75 hlp[2], hlp[0], outPort, 76 hlp[3], hlp[4], 77 hlp[5], hlp[6], CoM, 78 hlp[8], hlp[9], 78 79 PID, SID, IOD, iRow); 79 80 newCaster->start(); … … 84 85 85 86 // Destructor 86 //////////////////////////////////////////////////////////////////////// 87 //////////////////////////////////////////////////////////////////////// 87 88 bncRtnetDecoder::~bncRtnetDecoder() { 88 89 for (int ic = 0; ic < _casters.size(); ic++) { … … 92 93 93 94 // Decode Method 94 //////////////////////////////////////////////////////////////////////// 95 //////////////////////////////////////////////////////////////////////// 95 96 t_irc bncRtnetDecoder::Decode(char* buffer, int bufLen, vector<string>& errmsg) { 96 97 errmsg.clear(); -
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r8204 r8275 28 28 //////////////////////////////////////////////////////////////////////////// 29 29 bncRtnetUploadCaster::bncRtnetUploadCaster(const QString& mountpoint, 30 const QString& outHost, int outPort, const QString& password, 30 const QString& outHost, int outPort, 31 const QString& ntripVersion, 32 const QString& userName, const QString& password, 31 33 const QString& crdTrafo, bool CoM, const QString& sp3FileName, 32 34 const QString& rnxFileName, int PID, int SID, int IOD, int iRow) : 33 bncUploadCaster(mountpoint, outHost, outPort, password, iRow, 0) {35 bncUploadCaster(mountpoint, outHost, outPort, ntripVersion, userName, password, iRow, 0) { 34 36 35 37 if (!outHost.isEmpty()) { -
trunk/BNC/src/upload/bncrtnetuploadcaster.h
r8145 r8275 20 20 bncRtnetUploadCaster(const QString& mountpoint, 21 21 const QString& outHost, int outPort, 22 const QString& password, 22 const QString& ntripVersion, 23 const QString& userName,const QString& password, 23 24 const QString& crdTrafo, bool CoM, 24 25 const QString& sp3FileName, -
trunk/BNC/src/upload/bncuploadcaster.cpp
r8204 r8275 27 27 bncUploadCaster::bncUploadCaster(const QString& mountpoint, 28 28 const QString& outHost, int outPort, 29 const QString& password, int iRow, 29 const QString& ntripVersion, 30 const QString& userName, const QString& password, 31 int iRow, 30 32 int rate) { 31 33 _mountpoint = mountpoint; 32 34 _outHost = outHost; 33 35 _outPort = outPort; 36 _ntripVersion = ntripVersion; 37 _userName = userName; 34 38 _password = password; 35 39 _outSocket = 0; -
trunk/BNC/src/upload/bncuploadcaster.h
r8252 r8275 11 11 public: 12 12 bncUploadCaster(const QString& mountpoint, 13 const QString& outHost, int outPort, 14 const QString& password, int iRow, int rate); 13 const QString& outHost, int outPort, 14 const QString& ntripVersion, 15 const QString& userName, const QString& password, 16 int iRow, int rate); 15 17 virtual void deleteSafely(); 16 18 void setOutBuffer(const QByteArray& outBuffer) { … … 21 23 protected: 22 24 virtual ~bncUploadCaster(); 23 QMutex _mutex; 25 QMutex _mutex; 24 26 QByteArray _outBuffer; 25 27 … … 35 37 QString _outHost; 36 38 int _outPort; 39 QString _userName; 37 40 QString _password; 41 QString _ntripVersion; 42 bool _secure; 38 43 QTcpSocket* _outSocket; 39 44 int _sOpenTrial;
Note:
See TracChangeset
for help on using the changeset viewer.