source: pacpussensors/trunk/StdDbtPlayerComponents/DbtPlyCPTComponent.h@ 110

Last change on this file since 110 was 110, checked in by DHERBOMEZ Gérald, 9 years ago
  • minor modifications about dllexport and dllimport macros usages
File size: 2.0 KB
Line 
1/*********************************************************************
2// created: 20011/07/06 - 16:51
3// filename: DbtPlyCPTComponent.h
4//
5// author: Sergio Rodriguez
6// Copyright Heudiasyc UMR UTC/CNRS 6599
7//
8// version: $Id: $
9//
10// purpose:
11*********************************************************************/
12
13#ifndef DBTPLYCPTCOMPONENT_H
14#define DBTPLYCPTCOMPONENT_H
15
16#include "DbitePlayer/DbtPlyFileManager.h"
17#include "../NMEA0183/include/nmea0183.h"
18
19
20#define UNKNOWN_NMEA_FRAME -1
21
22struct PACPUSLIB_API Stream8Position
23{
24 int32_t dataPos;
25 int32_t length;
26};
27
28
29#include <Pacpus/structures/structure_gps.h>
30#include <Pacpus/structures/genericStructures.h>
31#include <Pacpus/kernel/road_time.h>
32#include <QVector3D>
33#include <QMatrix4x4>
34
35namespace pacpus {
36class ShMem;
37
38class PACPUSLIB_API DbtPlyCPTComponent
39 : public DbtPlyFileManager
40{
41 Q_OBJECT
42
43public:
44 DbtPlyCPTComponent(QString name);
45 ~DbtPlyCPTComponent();
46
47protected:
48 void processData(road_time_t t, road_timerange_t tr , void * buf);
49 void displayUI();
50
51 ComponentBase::COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config);
52 void startActivity();
53 void stopActivity();
54
55 virtual void addInputs();
56 virtual void addOutputs();
57
58private:
59 //ShMems
60 ShMem * mShMem;
61 //ShMem data variables
62 char * allFramesBuffer;
63
64 QString mDataFilename;
65
66 // NMEA0183
67 trame_gga_dbl ggaFrame_;
68 trame_gsa gsaFrame_;
69 trame_gst gstFrame_;
70 trame_gsv gsvFrame_;
71 trame_hdt hdtFrame_;
72 trame_rmc rmcFrame_;
73 trame_rot rotFrame_;
74 trame_vtg vtgFrame_;
75 trame_zda zdaFrame_;
76
77 //SPAN done
78 TimestampedBestgpsposaFrame bestgpsposaFrame_;
79 TimestampedInspvaaFrame inspvaFrame_;
80 TimestampedInscovFrame inscovFrame_;
81 TimestampedRawimusaFrame rawimuFrame_;
82
83 Pose3D genericEnuPose_;
84};
85
86} // namespace pacpus
87
88#endif // DBTPLYCPTCOMPONENT_H
Note: See TracBrowser for help on using the repository browser.