Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Timer by
map/map.h@40:ca4dd3faffa8, 2016-04-13 (annotated)
- Committer:
- IceTeam
- Date:
- Wed Apr 13 11:27:01 2016 +0000
- Revision:
- 40:ca4dd3faffa8
First publish;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| IceTeam | 40:ca4dd3faffa8 | 1 | #ifndef MAP_H |
| IceTeam | 40:ca4dd3faffa8 | 2 | #define MAP_H |
| IceTeam | 40:ca4dd3faffa8 | 3 | |
| IceTeam | 40:ca4dd3faffa8 | 4 | #include "obsCarr.h" |
| IceTeam | 40:ca4dd3faffa8 | 5 | #include "pointParcours.h" |
| IceTeam | 40:ca4dd3faffa8 | 6 | #include "nVector.h" |
| IceTeam | 40:ca4dd3faffa8 | 7 | #include "controle.h" |
| IceTeam | 40:ca4dd3faffa8 | 8 | |
| IceTeam | 40:ca4dd3faffa8 | 9 | class map { |
| IceTeam | 40:ca4dd3faffa8 | 10 | public: |
| IceTeam | 40:ca4dd3faffa8 | 11 | map (); |
| IceTeam | 40:ca4dd3faffa8 | 12 | void addObs (obsCarr nobs); |
| IceTeam | 40:ca4dd3faffa8 | 13 | void FindWay (point dep, point arr); |
| IceTeam | 40:ca4dd3faffa8 | 14 | nVector<pointParcours>& getParc () { return path; } |
| IceTeam | 40:ca4dd3faffa8 | 15 | bool& getEnded () { return endedParc; } |
| IceTeam | 40:ca4dd3faffa8 | 16 | |
| IceTeam | 40:ca4dd3faffa8 | 17 | protected: |
| IceTeam | 40:ca4dd3faffa8 | 18 | nVector<obsCarr> obs; |
| IceTeam | 40:ca4dd3faffa8 | 19 | nVector<pointParcours> path; |
| IceTeam | 40:ca4dd3faffa8 | 20 | bool endedParc; // Definit s'il existe un chemin parcourable dans le dernier FindWay |
| IceTeam | 40:ca4dd3faffa8 | 21 | }; |
| IceTeam | 40:ca4dd3faffa8 | 22 | |
| IceTeam | 40:ca4dd3faffa8 | 23 | #endif |
