Last change
on this file since 51 was 15, checked in by Bayard Gildas, 9 years ago |
sources reformatted with flair-format-dir script
|
File size:
1.3 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 | namespace core {
|
---|
21 | class FrameworkManager;
|
---|
22 | }
|
---|
23 | }
|
---|
24 |
|
---|
25 | namespace flair {
|
---|
26 | namespace sensor {
|
---|
27 | /*! \class SimuGps
|
---|
28 | *
|
---|
29 | * \brief Class for a simulation GPS
|
---|
30 | */
|
---|
31 | class SimuGps : public core::Thread, public Gps {
|
---|
32 | public:
|
---|
33 | /*!
|
---|
34 | * \brief Constructor
|
---|
35 | *
|
---|
36 | * Construct a Novatel.
|
---|
37 | *
|
---|
38 | * \param parent parent
|
---|
39 | * \param name name
|
---|
40 | * \param NMEAFlags NMEA sentances to enable
|
---|
41 | * \param priority priority of the Thread
|
---|
42 | */
|
---|
43 | SimuGps(const core::FrameworkManager *parent, std::string name,
|
---|
44 | Gps::NMEAFlags_t NMEAFlags, uint8_t priority);
|
---|
45 |
|
---|
46 | /*!
|
---|
47 | * \brief Destructor
|
---|
48 | *
|
---|
49 | */
|
---|
50 | ~SimuGps();
|
---|
51 |
|
---|
52 | private:
|
---|
53 | /*!
|
---|
54 | * \brief Update using provided datas
|
---|
55 | *
|
---|
56 | * Reimplemented from IODevice.
|
---|
57 | *
|
---|
58 | * \param data data from the parent to process
|
---|
59 | */
|
---|
60 | void UpdateFrom(const core::io_data *data){};
|
---|
61 |
|
---|
62 | /*!
|
---|
63 | * \brief Run function
|
---|
64 | *
|
---|
65 | * Reimplemented from Thread.
|
---|
66 | *
|
---|
67 | */
|
---|
68 | void Run(void);
|
---|
69 | };
|
---|
70 | } // end namespace sensor
|
---|
71 | } // end namespace framewor
|
---|
72 | #endif // SIMUGPS_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.