Last change
on this file since 110 was 59, checked in by DHERBOMEZ Gérald, 10 years ago |
Integration of new modules:
- GPS NMEA0183 decoder
- Span CPT Decoder
Update of:
|
File size:
855 bytes
|
Rev | Line | |
---|
[59] | 1 | /*
|
---|
| 2 | 1 classe par bloc SBF avec un fichier qui contient toutes les classes
|
---|
| 3 | ex : SbfData.h et SbfData.cpp
|
---|
| 4 |
|
---|
| 5 | un fichier de structure pour le dbt
|
---|
| 6 |
|
---|
| 7 | une classe Socket
|
---|
| 8 | une classe composant de d�codage
|
---|
| 9 |
|
---|
| 10 |
|
---|
| 11 |
|
---|
| 12 | */
|
---|
| 13 |
|
---|
| 14 |
|
---|
| 15 |
|
---|
| 16 |
|
---|
| 17 | class SbfHeader
|
---|
| 18 | {
|
---|
| 19 | char sync[2];
|
---|
| 20 | unsigned short crc;
|
---|
| 21 | unsigned short id;
|
---|
| 22 | unsigned short length;
|
---|
| 23 | };
|
---|
| 24 |
|
---|
| 25 |
|
---|
| 26 |
|
---|
| 27 | class SbfBlock
|
---|
| 28 | {
|
---|
| 29 | SbfHeader header;
|
---|
| 30 | unsigned char data[4096];
|
---|
| 31 | };
|
---|
| 32 |
|
---|
| 33 |
|
---|
| 34 |
|
---|
| 35 | class SbfPVTCartesian
|
---|
| 36 | {
|
---|
| 37 | SbfBlock * rawData;
|
---|
| 38 | // definit les variables par rapport a la doc
|
---|
| 39 | struct
|
---|
| 40 |
|
---|
| 41 | // ecrire la fonction de d�codage
|
---|
| 42 |
|
---|
| 43 | };
|
---|
| 44 |
|
---|
| 45 | class SbfReceiverTime
|
---|
| 46 | {
|
---|
| 47 | public:
|
---|
| 48 | SbfReceiverTime();
|
---|
| 49 | ~SbfReceiverTime();
|
---|
| 50 |
|
---|
| 51 | void decode( Message &msg );
|
---|
| 52 |
|
---|
| 53 | protected:
|
---|
| 54 |
|
---|
| 55 | private:
|
---|
| 56 | SbfBlock *rawData;
|
---|
| 57 | SbfDataReceiverTime decodedData;
|
---|
| 58 | }; |
---|
Note:
See
TracBrowser
for help on using the repository browser.