source: pacpussensors/trunk/StdDbtPlayerComponents/DbtPlyVtgManager.cpp@ 101

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

added GPS dbt replay (GGA, GST, VTG)

File size: 1.9 KB
Line 
1/*********************************************************************
2// created: 2007/04/12 - 16:30
3
4//
5// author: Elie Al Alam & Gerald Dherbomez
6//
7// version: $Id: DbtPlyVtgManager.cpp 676 2008-06-26 10:33:57Z gdherbom $
8//
9// purpose: Dbite Player GGA Manager implementation
10*********************************************************************/
11
12#include "DbtPlyVtgManager.h"
13
14#include <cmath>
15#include <qapplication.h>
16
17#include "Pacpus/kernel/ComponentManager.h"
18
19namespace pacpus {
20
21//////////////////////////////////////////////////////////////////////////
22// Construction de la fabrique de composant DbtPlyVtgManager
23//////////////////////////////////////////////////////////////////////////
24static ComponentFactory<DbtPlyVtgManager> sFactory("DbtPlyVtgManager");
25
26// double dist1[2];
27// double dist2[2];
28
29//////////////////////////////////////////////////////////////////////////
30// Constructor
31//////////////////////////////////////////////////////////////////////////
32DbtPlyVtgManager::DbtPlyVtgManager(QString name)
33 : DbtPlyFileManager (name)
34{
35
36}
37
38//////////////////////////////////////////////////////////////////////////
39// Destructor
40DbtPlyVtgManager::~DbtPlyVtgManager()
41{
42
43}
44
45//////////////////////////////////////////////////////////////////////////
46// Processes data
47void DbtPlyVtgManager::processData(road_time_t /*t*/, road_timerange_t /*tr*/ , void * buf)
48{
49 val = (trame_vtg*)(buf);
50
51}
52
53ComponentBase::COMPONENT_CONFIGURATION DbtPlyVtgManager::configureComponent(XmlComponentConfig config)
54{
55 DbtPlyFileManager::configureComponent(config);
56
57 return ComponentBase::CONFIGURED_OK;
58}
59
60void DbtPlyVtgManager::startActivity()
61{
62 DbtPlyFileManager::startActivity();
63 // user interface
64}
65
66void DbtPlyVtgManager::stopActivity()
67{
68 DbtPlyFileManager::stopActivity();
69}
70
71} // namespace pacpus
Note: See TracBrowser for help on using the repository browser.