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 APP4 by
readfile.hpp@0:71df0feee697, 2014-02-23 (annotated)
- Committer:
- joGenie
- Date:
- Sun Feb 23 23:32:09 2014 +0000
- Revision:
- 0:71df0feee697
- Child:
- 3:350f07072089
First time;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
joGenie | 0:71df0feee697 | 1 | #ifndef READFILE_HPP |
joGenie | 0:71df0feee697 | 2 | #define READFILE_HPP |
joGenie | 0:71df0feee697 | 3 | |
joGenie | 0:71df0feee697 | 4 | #include <iostream> |
joGenie | 0:71df0feee697 | 5 | #include <fstream> |
joGenie | 0:71df0feee697 | 6 | #include <string> |
joGenie | 0:71df0feee697 | 7 | |
joGenie | 0:71df0feee697 | 8 | #include "mbed.h" |
joGenie | 0:71df0feee697 | 9 | #include "coordinateur.hpp" |
joGenie | 0:71df0feee697 | 10 | #include "routeur.hpp" |
joGenie | 0:71df0feee697 | 11 | |
joGenie | 0:71df0feee697 | 12 | using namespace std; |
joGenie | 0:71df0feee697 | 13 | |
joGenie | 0:71df0feee697 | 14 | class ReadFile |
joGenie | 0:71df0feee697 | 15 | { |
joGenie | 0:71df0feee697 | 16 | public: |
joGenie | 0:71df0feee697 | 17 | |
joGenie | 0:71df0feee697 | 18 | // Constructeur |
joGenie | 0:71df0feee697 | 19 | ReadFile(); |
joGenie | 0:71df0feee697 | 20 | |
joGenie | 0:71df0feee697 | 21 | //Set information of the coordinateur |
joGenie | 0:71df0feee697 | 22 | void setConfigCoord(Coordinateur *coord, const string filename); |
joGenie | 0:71df0feee697 | 23 | |
joGenie | 0:71df0feee697 | 24 | //Set information of the routeur |
joGenie | 0:71df0feee697 | 25 | void setConfigRouteur(Routeur *rout, const string filename); |
joGenie | 0:71df0feee697 | 26 | }; |
joGenie | 0:71df0feee697 | 27 | |
joGenie | 0:71df0feee697 | 28 | #endif |