Last change
on this file since 9 was 3, checked in by Sanahuja Guillaume, 9 years ago |
sensoractuator
|
File size:
1.7 KB
|
Line | |
---|
1 | // %flair:license{
|
---|
2 | // This file is part of the Flair framework distributed under the
|
---|
3 | // CECILL-C License, Version 1.0.
|
---|
4 | // %flair:license}
|
---|
5 | /*!
|
---|
6 | * \file SimuGps.h
|
---|
7 | * \brief Class for a simulation GPS
|
---|
8 | * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
|
---|
9 | * \date 2013/08/23
|
---|
10 | * \version 4.0
|
---|
11 | */
|
---|
12 |
|
---|
13 | #ifndef SIMUGPS_H
|
---|
14 | #define SIMUGPS_H
|
---|
15 |
|
---|
16 | #include <Thread.h>
|
---|
17 | #include <Gps.h>
|
---|
18 |
|
---|
19 | namespace flair
|
---|
20 | {
|
---|
21 | namespace core
|
---|
22 | {
|
---|
23 | class FrameworkManager;
|
---|
24 | }
|
---|
25 | }
|
---|
26 |
|
---|
27 | namespace flair
|
---|
28 | {
|
---|
29 | namespace sensor
|
---|
30 | {
|
---|
31 | /*! \class SimuGps
|
---|
32 | *
|
---|
33 | * \brief Class for a simulation GPS
|
---|
34 | */
|
---|
35 | class SimuGps : public core::Thread, public Gps
|
---|
36 | {
|
---|
37 | public:
|
---|
38 | /*!
|
---|
39 | * \brief Constructor
|
---|
40 | *
|
---|
41 | * Construct a Novatel.
|
---|
42 | *
|
---|
43 | * \param parent parent
|
---|
44 | * \param name name
|
---|
45 | * \param NMEAFlags NMEA sentances to enable
|
---|
46 | * \param priority priority of the Thread
|
---|
47 | */
|
---|
48 | SimuGps(const core::FrameworkManager* parent,std::string name,Gps::NMEAFlags_t NMEAFlags,uint8_t priority);
|
---|
49 |
|
---|
50 | /*!
|
---|
51 | * \brief Destructor
|
---|
52 | *
|
---|
53 | */
|
---|
54 | ~SimuGps();
|
---|
55 |
|
---|
56 | private:
|
---|
57 | /*!
|
---|
58 | * \brief Update using provided datas
|
---|
59 | *
|
---|
60 | * Reimplemented from IODevice.
|
---|
61 | *
|
---|
62 | * \param data data from the parent to process
|
---|
63 | */
|
---|
64 | void UpdateFrom(const core::io_data *data){};
|
---|
65 |
|
---|
66 | /*!
|
---|
67 | * \brief Run function
|
---|
68 | *
|
---|
69 | * Reimplemented from Thread.
|
---|
70 | *
|
---|
71 | */
|
---|
72 | void Run(void);
|
---|
73 | };
|
---|
74 | } // end namespace sensor
|
---|
75 | } // end namespace framewor
|
---|
76 | #endif // SIMUGPS_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.