Last change
on this file since 106 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:
754 bytes
|
Rev | Line | |
---|
[59] | 1 | //! Definition of the DataFrame class
|
---|
| 2 | /*!
|
---|
| 3 | * Description
|
---|
| 4 | *
|
---|
| 5 | * @author Gérald Dherbomez
|
---|
| 6 | * @date 28/09/2005
|
---|
| 7 | */
|
---|
| 8 |
|
---|
| 9 | #ifndef _DATAFRAME_H_
|
---|
| 10 | #define _DATAFRAME_H_
|
---|
| 11 |
|
---|
| 12 |
|
---|
| 13 | #include "Pacpus/kernel/road_time.h"
|
---|
| 14 |
|
---|
| 15 |
|
---|
| 16 | class DataFrame
|
---|
| 17 | {
|
---|
| 18 | public:
|
---|
| 19 | DataFrame() {data_ = NULL; length_ = 0; time_ = 0; timerange_ = 0;}
|
---|
| 20 | DataFrame( const char * frame, int length, road_time_t frameTime, road_timerange_t frameTimerange );
|
---|
| 21 | ~DataFrame ();
|
---|
| 22 |
|
---|
| 23 | // a faire : definir l'operateur egal
|
---|
| 24 | // DataFrame& operator= (const DataFrame& frame);
|
---|
| 25 |
|
---|
| 26 | /*
|
---|
| 27 | int getFrame(const char * frame);
|
---|
| 28 | road_time_t getTime();
|
---|
| 29 | road_timerange_t getTimerange();
|
---|
| 30 | */
|
---|
| 31 |
|
---|
| 32 | int length_;
|
---|
| 33 | char * data_;
|
---|
| 34 | road_time_t time_;
|
---|
| 35 | road_timerange_t timerange_;
|
---|
| 36 |
|
---|
| 37 |
|
---|
| 38 |
|
---|
| 39 |
|
---|
| 40 | };
|
---|
| 41 |
|
---|
| 42 | #endif |
---|
Note:
See
TracBrowser
for help on using the repository browser.