source: pacpussensors/trunk/StdDbtPlayerComponents/DbtPlyGstManager.cpp@ 87

Last change on this file since 87 was 82, checked in by yuchunle, 10 years ago

added GPS dbt replay (GGA, GST, VTG)

File size: 1.5 KB
RevLine 
[82]1/*********************************************************************
2// created: 2007/04/12 - 16:30
3
4//
5// author: Elie Al Alam & Gerald Dherbomez
6//
7// version: $Id: DbtPlyGstManager.cpp 1203 2012-08-02 11:58:15Z morasjul $
8//
9// purpose: Dbite Player Gst Manager implementation
10*********************************************************************/
11
12#include "DbtPlyGstManager.h"
13
14#include <qapplication.h>
15
16//#include "kernel/ComponentManager.h"
17
18namespace pacpus {
19
20// Construction de la fabrique de composant DbtPlyTrigger
21static ComponentFactory<DbtPlyGstManager> sFactory("DbtPlyGstManager");
22
23DbtPlyGstManager::DbtPlyGstManager(QString name)
24 : DbtPlyFileManager (name)
25{
26
27}
28
29DbtPlyGstManager::~DbtPlyGstManager()
30{
31
32}
33
34void DbtPlyGstManager::processData(road_time_t /*t*/, road_timerange_t /*tr*/ , void * buf)
35{
36 // no data available
37 if (buf == NULL)
38 return;
39
40 val = (trame_gst*)(buf);
41
42}
43
44ComponentBase::COMPONENT_CONFIGURATION DbtPlyGstManager::configureComponent(XmlComponentConfig config)
45{
46 DbtPlyFileManager::configureComponent(config);
47
48 return ComponentBase::CONFIGURED_OK;
49}
50
51
52void DbtPlyGstManager::startActivity()
53{
54 DbtPlyFileManager::startActivity();
55
56 // user interface
57 if (mShowGui)
58 displayUI();
59
60}
61
62
63void DbtPlyGstManager::stopActivity()
64{
65 DbtPlyFileManager::stopActivity();
66}
67
68
69
70void DbtPlyGstManager::displayUI()
71{
72 // todo
73 printf (" No graphical interface implemented\n");
74}
75
76} // namespace pacpus
Note: See TracBrowser for help on using the repository browser.