source: pacpussensors/trunk/StdDbtPlayerComponents/DbtPlyGstManager.h@ 150

Last change on this file since 150 was 150, checked in by lifranck, 7 years ago

Changes to GstManager, sending the message now

File size: 1.6 KB
Line 
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"
22#include "../Gps/structure_gps.h"
23#include "Pacpus/kernel/ComponentManager.h"//moved from .cpp
24//#include "DbitePlayer/SensorTcpServer.h" //added
25#include "Pacpus/PacpusTools/ShMem.h"
26
27
28#include <Pacpus/kernel/InputOutputInterface.h>
29
30#include "DbtPlyGpsConfig.h"
31
32namespace pacpus {
33
34class DBTPLYGPS_API DbtPlyGstManager
35 : public DbtPlyFileManager
36{
37 Q_OBJECT
38
39public:
40 DbtPlyGstManager(QString name);
41 ~DbtPlyGstManager();
42 virtual ComponentBase::COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config);
43
44 //virtual void addInputs();
45 virtual void addOutputs();
46
47protected:
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
53private:
54 trame_gst* val;
55
56 // Local copy of GGA data with timestamp
57 TimestampedGstFrame mGst;
58
59 // Declaration of outputs
60 OutputInterface<TimestampedGstFrame, DbtPlyGstManager>* outGst;
61
62};
63
64} // namespace pacpus
65
66#endif // DBTPLYGSTMANAGER_H
Note: See TracBrowser for help on using the repository browser.