[121] | 1 | /*********************************************************************
|
---|
| 2 | // created: 2016/02/03 - 17:26
|
---|
| 3 | // filename: DbtPlyVtgManager.h
|
---|
| 4 | //
|
---|
| 5 | // author: Huu-Phuc NGUYEN, Gerald Dherbomez
|
---|
| 6 | // Copyright Heudiasyc UMR UTC/CNRS 6599
|
---|
| 7 | //
|
---|
| 8 | // version: $Id: $
|
---|
| 9 | //
|
---|
| 10 | // purpose: Dbite Player Hdt Manager
|
---|
| 11 | *********************************************************************/
|
---|
| 12 |
|
---|
| 13 | #ifndef DBTPLYHDTMANAGER_H
|
---|
| 14 | #define DBTPLYHDTMANAGER_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 DBTPLYGPS_API DbtPlyHdtManager
|
---|
| 33 | : public DbtPlyFileManager
|
---|
| 34 | {
|
---|
| 35 | public:
|
---|
| 36 | DbtPlyHdtManager(QString name);
|
---|
| 37 | ~DbtPlyHdtManager();
|
---|
| 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 Hdt data with timestamp
|
---|
| 50 | TimestampedHdtFrame mHdt;
|
---|
| 51 |
|
---|
| 52 | // Declaration of outputs
|
---|
| 53 | OutputInterface<TimestampedHdtFrame, DbtPlyHdtManager>* outHdt;
|
---|
| 54 |
|
---|
| 55 | };
|
---|
| 56 |
|
---|
| 57 | } // namespace pacpus
|
---|
| 58 |
|
---|
| 59 | #endif // DBTPLYHDTMANAGER_H
|
---|