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

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

cosmetic

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