source: flair-src/trunk/lib/FlairSensorActuator/src/SimuGps.h@ 51

Last change on this file since 51 was 51, checked in by Sanahuja Guillaume, 7 years ago

gps

File size: 1.3 KB
RevLine 
[3]1// %flair:license{
[15]2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
[3]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>
[51]17#include <NmeaGps.h>
[3]18
[15]19namespace flair {
20namespace core {
21class FrameworkManager;
[3]22}
[15]23}
[3]24
[15]25namespace flair {
26namespace sensor {
27/*! \class SimuGps
28*
29* \brief Class for a simulation GPS
30*/
[51]31class SimuGps : public core::Thread, public NmeaGps {
[15]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,
[51]44 NmeaGps::NMEAFlags_t NMEAFlags, uint8_t priority);
[3]45
[15]46 /*!
47 * \brief Destructor
48 *
49 */
50 ~SimuGps();
[3]51
[15]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){};
[3]61
[15]62 /*!
63 * \brief Run function
64 *
65 * Reimplemented from Thread.
66 *
67 */
68 void Run(void);
69};
[3]70} // end namespace sensor
71} // end namespace framewor
72#endif // SIMUGPS_H
Note: See TracBrowser for help on using the repository browser.