source: flair-dev/trunk/include/FlairSensorActuator/SimuGps.h@ 30

Last change on this file since 30 was 13, checked in by Bayard Gildas, 8 years ago

formatting script + include reformatted

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
19namespace flair {
20namespace core {
21class FrameworkManager;
22}
23}
24
25namespace flair {
26namespace sensor {
27/*! \class SimuGps
28*
29* \brief Class for a simulation GPS
30*/
31class SimuGps : public core::Thread, public Gps {
32public:
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
52private:
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.