source: pacpussensors/trunk/StdDbtPlayerComponents/DbtPlyGgaManager.h@ 118

Last change on this file since 118 was 111, checked in by DHERBOMEZ Gérald, 9 years ago

Delete deprecated call to shared memories. Use I/O mechanism instead.
Adjustement of dllimport and dllexport macros;

File size: 1.8 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 <iostream>
22
23#include "Pacpus/DbitePlayer/DbtPlyFileManager.h"
24//#include <Pacpus/structure/structure_gps.h>
25#include "../Gps/structure_gps.h"
26#include "Pacpus/kernel/ComponentManager.h"//moved from .cpp
27
28#include <Pacpus/kernel/InputOutputInterface.h>
29//#include "DbitePlayer/SensorTcpServer.h" //added
30//#include "Pacpus/PacpusTools/ShMem.h"
31
32#include "DbtPlyGpsConfig.h"
33
34namespace pacpus {
35
36class DBTPLYGPS_API DbtPlyGgaManager
37 : public DbtPlyFileManager
38{
39 Q_OBJECT
40
41public:
42 DbtPlyGgaManager(QString name);
43 ~DbtPlyGgaManager();
44
45 virtual void startActivity();
46 virtual void stopActivity();
47 virtual ComponentBase::COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config);
48
49 virtual void addInputs();
50 virtual void addOutputs();
51
52protected:
53 void processData(road_time_t t, road_timerange_t tr , void *buf);
54 void displayUI();
55
56private:
57 // Local copy of GGA data with timestamp
58 TimestampedGgaFrame mGga;
59
60 // Declaration of outputs
61 OutputInterface<TimestampedGgaFrame, DbtPlyGgaManager>* outGga;
62
63 // Variables for GUI : TODO
64 /*QWidget *w;
65 QLabel* lat;
66 QLCDNumber *latVal;
67 QLabel* lon;
68 QLCDNumber *lonVal;
69 QGroupBox *prop;*/
70
71};
72
73} // namespace pacpus
74
75#endif // DBTPLYGGAMANAGER_H
Note: See TracBrowser for help on using the repository browser.