source: flair-src/trunk/lib/FlairSensorActuator/src/Novatel.h

Last change on this file was 170, checked in by Sanahuja Guillaume, 5 years ago

cosmetic

File size: 1.5 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 Novatel.h
7 * \brief Class for Novatel gps receiver
8 * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
9 * \date 2013/08/23
10 * \version 4.0
11 */
12
13#ifndef Novatel_H
14#define Novatel_H
15
16#include <Thread.h>
[51]17#include <NmeaGps.h>
[3]18
[15]19namespace flair {
20namespace core {
21class FrameworkManager;
22class SerialPort;
[3]23}
[15]24}
[3]25
[15]26namespace flair {
27namespace sensor {
28/*! \class Novatel
29*
30* \brief Class for Novatel gps receiver
31*/
[51]32class Novatel : public core::Thread, public NmeaGps {
[15]33public:
34  /*!
35  * \brief Constructor
36  *
37  * Construct a Novatel.
[137]38        * It will be child of the FrameworkManager.
[15]39  *
40  * \param name name
41  * \param serialport serialport
42  * \param NMEAFlags NMEA sentances to enable
43  * \param priority priority of the Thread
44  */
[137]45  Novatel(std::string name,
[51]46          core::SerialPort *serialport, NmeaGps::NMEAFlags_t NMEAFlags,
[15]47          uint8_t priority);
[3]48
[15]49  /*!
50  * \brief Destructor
51  *
52  */
53  ~Novatel();
[3]54
[15]55private:
56  /*!
57  * \brief Update using provided datas
58  *
59  * Reimplemented from IODevice.
60  *
61  * \param data data from the parent to process
62  */
63  void UpdateFrom(const core::io_data *data){};
[3]64
[15]65  /*!
66  * \brief Run function
67  *
68  * Reimplemented from Thread.
69  *
70  */
71  void Run(void);
[3]72
[15]73  core::SerialPort *serialport;
74  void Sync(void);
75};
[3]76} // end namespace sensor
[170]77} // end namespace flair
[3]78#endif // Novatel_H
Note: See TracBrowser for help on using the repository browser.