source: flair-dev/trunk/include/FlairSensorActuator/Mb800.h @ 76

Last change on this file since 76 was 50, checked in by Sanahuja Guillaume, 4 years ago

doc

File size: 1.4 KB
RevLine 
[4]1// %flair:license{
[13]2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
[4]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>
[32]17#include <NmeaGps.h>
[4]18
[13]19namespace flair {
20namespace core {
21class SerialPort;
[4]22}
[13]23}
[4]24
[13]25namespace flair {
26namespace sensor {
27/*! \class Mb800
28*
29* \brief Class for mb800 gps receiver
30*/
[32]31class Mb800 : public core::Thread, public NmeaGps {
[13]32public:
33  /*!
34  * \brief Constructor
35  *
36  * Construct a Mb800.
[50]37  * It will be child of the FrameworkManager.
38        *
[13]39  * \param name name
40  * \param serialport serialport
41  * \param NMEAFlags NMEA sentances to enable
42  * \param priority priority of the Thread
43  */
[50]44  Mb800(std::string name,
[32]45        core::SerialPort *serialport, NmeaGps::NMEAFlags_t NMEAFlags,
[13]46        uint8_t priority);
[4]47
[13]48  /*!
49  * \brief Destructor
50  *
51  */
52  ~Mb800();
[4]53
[13]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){};
[4]63
[13]64  /*!
65  * \brief Run function
66  *
67  * Reimplemented from Thread.
68  *
69  */
70  void Run(void);
[4]71
[13]72  void Sync(void);
73  core::SerialPort *serialport;
74};
[4]75} // end namespace sensor
[50]76} // end namespace flair
[4]77#endif // MB800_H
Note: See TracBrowser for help on using the repository browser.