[82] | 1 | /*********************************************************************
|
---|
| 2 | // created: 2007/07/28 - 11:51
|
---|
| 3 | // filename: DbtPlyGstManager.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 DBTPLYGSTMANAGER_H
|
---|
| 14 | #define DBTPLYGSTMANAGER_H
|
---|
| 15 |
|
---|
| 16 | #include <QLCDNumber>
|
---|
| 17 | #include <QGroupBox>
|
---|
| 18 | #include <QLabel>
|
---|
| 19 | #include <QLayout>
|
---|
| 20 |
|
---|
| 21 | #include "Pacpus/DbitePlayer/DbtPlyFileManager.h"
|
---|
[109] | 22 | #include "../Gps/structure_gps.h"
|
---|
[82] | 23 | #include "Pacpus/kernel/ComponentManager.h"//moved from .cpp
|
---|
| 24 | //#include "DbitePlayer/SensorTcpServer.h" //added
|
---|
| 25 | #include "Pacpus/PacpusTools/ShMem.h"
|
---|
| 26 |
|
---|
[150] | 27 |
|
---|
| 28 | #include <Pacpus/kernel/InputOutputInterface.h>
|
---|
| 29 |
|
---|
[82] | 30 | #include "DbtPlyGpsConfig.h"
|
---|
| 31 |
|
---|
| 32 | namespace pacpus {
|
---|
| 33 |
|
---|
[111] | 34 | class DBTPLYGPS_API DbtPlyGstManager
|
---|
[82] | 35 | : public DbtPlyFileManager
|
---|
| 36 | {
|
---|
[150] | 37 | Q_OBJECT
|
---|
| 38 |
|
---|
[82] | 39 | public:
|
---|
| 40 | DbtPlyGstManager(QString name);
|
---|
| 41 | ~DbtPlyGstManager();
|
---|
| 42 | virtual ComponentBase::COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config);
|
---|
| 43 |
|
---|
[150] | 44 | //virtual void addInputs();
|
---|
| 45 | virtual void addOutputs();
|
---|
| 46 |
|
---|
[82] | 47 | protected:
|
---|
| 48 | void processData(road_time_t t, road_timerange_t tr , void *buf);
|
---|
| 49 | virtual void startActivity();
|
---|
| 50 | virtual void stopActivity();
|
---|
| 51 | void displayUI();
|
---|
| 52 |
|
---|
| 53 | private:
|
---|
| 54 | trame_gst* val;
|
---|
| 55 |
|
---|
[150] | 56 | // Local copy of GGA data with timestamp
|
---|
| 57 | TimestampedGstFrame mGst;
|
---|
[82] | 58 |
|
---|
[150] | 59 | // Declaration of outputs
|
---|
| 60 | OutputInterface<TimestampedGstFrame, DbtPlyGstManager>* outGst;
|
---|
| 61 |
|
---|
[82] | 62 | };
|
---|
| 63 |
|
---|
| 64 | } // namespace pacpus
|
---|
| 65 |
|
---|
| 66 | #endif // DBTPLYGSTMANAGER_H
|
---|