1 | /*********************************************************************
|
---|
2 | // created: 2007/07/28 - 11:51
|
---|
3 | // filename: DbtPlyVtgManager.h
|
---|
4 | //
|
---|
5 | // author: Gerald Dherbomez
|
---|
6 | // Copyright Heudiasyc UMR UTC/CNRS 6599
|
---|
7 | //
|
---|
8 | // version: $Id: $
|
---|
9 | //
|
---|
10 | // purpose: Dbite Player GST Manager
|
---|
11 | *********************************************************************/
|
---|
12 |
|
---|
13 | #ifndef DBTPLYVTGMANAGER_H
|
---|
14 | #define DBTPLYVTGMANAGER_H
|
---|
15 |
|
---|
16 | #include <QLCDNumber>
|
---|
17 | #include <QGroupBox>
|
---|
18 | #include <QLabel>
|
---|
19 | #include <QLayout>
|
---|
20 |
|
---|
21 | #include "Pacpus/DbitePlayer/DbtPlyFileManager.h"
|
---|
22 | #include "../Gps/structure_gps.h"
|
---|
23 | //#include "DbitePlayer/SensorTcpServer.h" //added
|
---|
24 | #include "Pacpus/PacpusTools/ShMem.h"
|
---|
25 |
|
---|
26 | #include "DbtPlyGpsConfig.h"
|
---|
27 |
|
---|
28 | namespace pacpus {
|
---|
29 |
|
---|
30 | class ComponentManager;
|
---|
31 |
|
---|
32 | class PACPUSLIB_API DbtPlyVtgManager
|
---|
33 | : public DbtPlyFileManager
|
---|
34 | {
|
---|
35 | public:
|
---|
36 | DbtPlyVtgManager(QString name);
|
---|
37 | ~DbtPlyVtgManager();
|
---|
38 | virtual ComponentBase::COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config);
|
---|
39 |
|
---|
40 | virtual void addInputs();
|
---|
41 | virtual void addOutputs();
|
---|
42 | protected:
|
---|
43 | void processData(road_time_t t, road_timerange_t tr , void * buffer);
|
---|
44 | virtual void startActivity();
|
---|
45 | virtual void stopActivity();
|
---|
46 |
|
---|
47 | private:
|
---|
48 | trame_vtg * val;
|
---|
49 | // Local copy of Vtg data with timestamp
|
---|
50 | TimestampedVtgFrame mVtg;
|
---|
51 |
|
---|
52 | // Declaration of outputs
|
---|
53 | OutputInterface<TimestampedVtgFrame, DbtPlyVtgManager>* outVtg;
|
---|
54 |
|
---|
55 | };
|
---|
56 |
|
---|
57 | } // namespace pacpus
|
---|
58 |
|
---|
59 | #endif // DBTPLYVTGMANAGER_H
|
---|