Last change
on this file since 85 was 82, checked in by yuchunle, 10 years ago |
added GPS dbt replay (GGA, GST, VTG)
|
File size:
1.6 KB
|
Line | |
---|
1 | /*********************************************************************
|
---|
2 | // created: 2007/07/28 - 11:51
|
---|
3 | // filename: DbtPlyGgaManager.h
|
---|
4 | //
|
---|
5 | // author: Gerald Dherbomez
|
---|
6 | // Copyright Heudiasyc UMR UTC/CNRS 6599
|
---|
7 | //
|
---|
8 | // version: $Id: $
|
---|
9 | //
|
---|
10 | // purpose: Dbite Player GGA Manager
|
---|
11 | *********************************************************************/
|
---|
12 |
|
---|
13 | #ifndef DBTPLYGGAMANAGER_H
|
---|
14 | #define DBTPLYGGAMANAGER_H
|
---|
15 |
|
---|
16 | #include <qlcdnumber.h>
|
---|
17 | #include <qgroupbox.h>
|
---|
18 | #include <qlabel.h>
|
---|
19 | #include <qlayout.h>
|
---|
20 |
|
---|
21 | #include "Pacpus/DbitePlayer/DbtPlyFileManager.h"
|
---|
22 | #include <Pacpus/structure/structure_gps.h>
|
---|
23 | #include "Pacpus/kernel/ComponentManager.h"//moved from .cpp
|
---|
24 | //#include "DbitePlayer/SensorTcpServer.h" //added
|
---|
25 |
|
---|
26 | #include "Pacpus/PacpusTools/ShMem.h"
|
---|
27 |
|
---|
28 | #include "DbtPlyGpsConfig.h"
|
---|
29 |
|
---|
30 | namespace pacpus {
|
---|
31 |
|
---|
32 | class DBTPLYGPS_API DbtPlyGgaManager
|
---|
33 | : public DbtPlyFileManager
|
---|
34 | {
|
---|
35 | Q_OBJECT
|
---|
36 |
|
---|
37 | public:
|
---|
38 | DbtPlyGgaManager(QString name);
|
---|
39 | ~DbtPlyGgaManager();
|
---|
40 | virtual ComponentBase::COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config);
|
---|
41 |
|
---|
42 | Q_SIGNALS:
|
---|
43 | void displayLat(double);
|
---|
44 | void displayLon(double);
|
---|
45 |
|
---|
46 | protected:
|
---|
47 | void processData(road_time_t t, road_timerange_t tr , void *buf);
|
---|
48 | virtual void startActivity();
|
---|
49 | virtual void stopActivity();
|
---|
50 | void displayUI();
|
---|
51 |
|
---|
52 | private:
|
---|
53 | trame_gga_dbl* val;
|
---|
54 | QWidget *w;
|
---|
55 | QLabel* lat;
|
---|
56 | QLCDNumber *latVal;
|
---|
57 | QLabel* lon;
|
---|
58 | QLCDNumber *lonVal;
|
---|
59 | QGroupBox *prop;
|
---|
60 |
|
---|
61 | };
|
---|
62 |
|
---|
63 | } // namespace pacpus
|
---|
64 |
|
---|
65 | #endif // DBTPLYGGAMANAGER_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.