Changeset 55 in flair-src for trunk/lib/FlairSensorActuator/src/NmeaGps.h
- Timestamp:
- 07/28/16 17:55:31 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSensorActuator/src/NmeaGps.h
r51 r55 32 32 class Map; 33 33 class Label; 34 class GroupBox; 34 35 } 35 36 } … … 67 68 68 69 /*! 70 * \brief Constructor 71 * 72 * Construct a NmeaGps. \n 73 * This contructor must only be called for a simulated device. 74 * 75 * \param parent parent 76 * \param name name 77 */ 78 NmeaGps(const core::IODevice *parent, std::string name); 79 80 /*! 69 81 * \brief Destructor 70 82 * … … 173 185 NMEAFlags_t NMEAFlags; 174 186 175 protected: 187 /*! 188 * \brief Get GPS datas 189 * 190 * \param gpsData GPS datas 191 */ 192 void GetDatas(core::GpsData **gpsData) const; 193 194 /*! 195 * \brief Setup GroupBox 196 * 197 * \return setup GroupBox 198 */ 199 gui::GroupBox *GetGroupBox(void) const; 200 201 private: 202 gui::Tab *mainTab, *sensorTab; 203 gui::TabWidget *tab; 204 gui::GroupBox *setupGroupbox; 205 gui::PushButton *buttonRef; 206 gui::DataPlot1D *ePlot; 207 gui::DataPlot1D *nPlot; 208 gui::DataPlot1D *uPlot; 209 gui::DataPlot1D *vePlot; 210 gui::DataPlot1D *vnPlot; 211 gui::Tab *plotTab; 212 gui::Map *map; 213 gui::Label *nbSatLabel, *fixLabel; 176 214 core::GeoCoordinate *position; 177 178 /*! 179 * \brief Get GPS datas 180 * 181 * \param gpsData GPS datas 182 */ 183 void GetDatas(core::GpsData **gpsData) const; 184 185 private: 186 /*! 187 * \brief Update using provided datas 188 * 189 * Reimplemented from IODevice. 190 * 191 * \param data data from the parent to process 192 */ 193 void UpdateFrom(const core::io_data *data){}; 194 195 gui::Tab *main_tab, *sensor_tab; 196 gui::TabWidget *tab; 197 gui::PushButton *button_ref; 198 gui::DataPlot1D *e_plot; 199 gui::DataPlot1D *n_plot; 200 gui::DataPlot1D *u_plot; 201 gui::DataPlot1D *ve_plot; 202 gui::DataPlot1D *vn_plot; 203 gui::Tab *plot_tab; 204 gui::Map *map; 205 gui::Label *nb_sat_label, *fix_label; 206 bool take_ref; 215 bool takeRef; 207 216 nmeaINFO info; 208 217 nmeaPARSER parser; 209 218 nmeaGPGGA pack; 210 219 nmeaPOS pos; 211 double lat _ref, long_ref, alt_ref;220 double latRef, longRef, altRef; 212 221 core::GpsData* gpsData; 213 222 };
Note:
See TracChangeset
for help on using the changeset viewer.