source: pacpussensors/trunk/Gps/ui/polarxmainwindow.hpp@ 67

Last change on this file since 67 was 59, checked in by DHERBOMEZ Gérald, 10 years ago

Integration of new modules:

  • GPS NMEA0183 decoder
  • Span CPT Decoder

Update of:

File size: 2.1 KB
RevLine 
[59]1#ifndef __POLARXMAINWINDOW__
2#define __POLARXMAINWINDOW__
3
4#include <QtGui>
5#include <bitset>
6#include "structure/structure_septentrio.h"
7#include "../SeptentrioSocket.h"
8#include "PacpusTools/BinaryDecoder.h"
9
10class PolarxMainWindow : public QWidget
11{
12 Q_OBJECT
13
14 public :
15 PolarxMainWindow() ;
16 ~PolarxMainWindow() {} ;
17
18 void setData( unsigned char * data , int buf_size ) ;
19 void setReceiverStatus( SbfDataReceiverStatus * msg ) ;
20 void setTrackingStatus( SbfDataTrackingStatus * msg ) ;
21 void setPVTGeodetic( SbfDataPVTGeodetic * msg ) ;
22 void setSocket( SeptentrioSocket * socket ) ;
23
24 protected slots :
25
26
27 private :
28 int ipID ;
29 int elevMask_set ;
30 std::vector<unsigned char> buffer ;
31 QLabel * TOW ;
32 QLabel * WNC ;
33 QLabel * RXLOAD ;
34 QLabel * UPTIME ;
35 QLabel * CHAN_USED ;
36 QLabel * PVT_USED ;
37 QLabel * PVT_lat ;
38 QLabel * PVT_lon ;
39 QLabel * PVT_elv ;
40 QLabel * SYSTEM ;
41 QLabel * SYSTEM2 ;
42 QLabel * SYSTEM3 ;
43 QLabel * MODE ;
44 QStandardItemModel * TRACKINGSTATUS ;
45 SeptentrioSocket * socketIf_ ;
46 QStringList avFrame ;
47 QPushButton * upFrame ;
48 QPushButton * upSetup ;
49
50 QMap< QString , QCheckBox * > sbfBlock_disp ;
51 QMap< QString , QCheckBox * > pvtMode ;
52 QComboBox * pvtInterval ;
53 QComboBox * measInterval ;
54 QComboBox * trkMode ;
55 QSpinBox * elevMask ;
56 QString pvtInt_set ;
57 QString measInt_set ;
58 QString trkMode_set ;
59
60 void pvtError( QString err );
61 void getAvailableFrame( QString cmd );
62 void getPvtInterval( QString cmd );
63 void requestFrame();
64 void initSbfBlock(QWidget * parent);
65 void initStatusBlock( QWidget * parent ) ;
66 void initSetupBlock( QWidget * parent ) ;
67 void commandManager( QStringList cmdList );
68 void extractIpID( QString cmd ) ;
69 void getPvtMode( QString cmd ) ;
70 void getElevationMask( QString cmd ) ;
71 void getMeasInterval( QString cmd ) ;
72 void getTrackingMode( QString cmd ) ;
73
74 private slots :
75 void sendNewFrame() ;
76 void sendNewSetup() ;
77
78};
79
80
81#endif
Note: See TracBrowser for help on using the repository browser.