13 #include <vlutil/vlTime.h>
57 namespace DtBufferSerialize
90 virtual int netRepSize()
const;
94 virtual bool setFromNet(
const char* contentBuffer,
95 unsigned contentSize = 0);
100 virtual bool setToNet(
char* contentBuffer);
103 void setIcaoAddress(
const int icaoAddr);
104 int icaoAddress()
const;
107 void setAircraftType(
const std::string);
108 std::string aircraftType()
const;
110 void setTailNumber(
const std::string);
111 std::string tailNumber()
const;
114 void setMaxSpeedFlown(
const double s);
115 double maxSpeedFlown()
const;
117 void checkAndSetMaxSpeed(
const double s);
120 void setMaxAltitudeFlown(
const double a);
121 double maxAltitudeFlown()
const;
123 void checkAndSetMaxAltitude(
const double a);
126 void setMaxFlightDistance(
const double d);
127 double maxFlightDistance()
const;
129 void checkAndsetMaxFlightDistance(
const double d);
141 void setSquawkChangedTimestamp(
const double t);
142 double squawkChangedTimestamp()
const;
145 bool isSquawkChanged(
const double t)
const;
176 bool myCrosses180Line;
bool myHasHeading
radians, 0 - 2pi. Ignore if < 0. Indicator for whether the above data has been specif...
Definition: adsbTrack.h:43
double mySquawkChangedTimestamp
The timestamp when mySquawkCode changes in a future path point.
Definition: adsbTrack.h:165
DT_DLL_readerWriter int getSize(const DtString &val)
The number of bytes required to encode the value.
bool myHasVerticalSpeed
radians, 0 - 2pi. Ignore if < 0. Indicator for whether the above data has been specif...
Definition: adsbTrack.h:42
DtTime myTimeStamp
Definition: adsbTrack.h:30
bool myIsOnGround
radians, 0 - 2pi. Ignore if < 0. Indicator for whether the above data has been specif...
Definition: adsbTrack.h:45
DtAdsbPathPointMap myPath
The key is the timestamp.
Definition: adsbTrack.h:158
double myMaxSpeedFlown
The maximum speed this aircraft flew in the processed data.
Definition: adsbTrack.h:151
std::string myCallSign
These might change during the day as an aircraft lands at an airport and becomes a new flight to a ne...
Definition: adsbTrack.h:50
std::string mySquawkCode
This IFF code could change during a flight.
Definition: adsbTrack.h:53
float myHeading
mps
Definition: adsbTrack.h:38
int myIcaoAddress
Integer representation of 6-hex-digit value in file.
Definition: adsbTrack.h:149
Class definition for one dynamic point of a track.
Definition: adsbTrack.h:24
float mySpeed
meters
Definition: adsbTrack.h:36
std::string myTailNumber
Definition: adsbTrack.h:162
std::string myAircraftType
ICAO type.
Definition: adsbTrack.h:161
DT_DLL_readerWriter char * encode(const DtFilename &val, char *buffer)
Serializes the provided value val into buffer. buffer must have at least the number of bytes returned...
double myLongitude
radians
Definition: adsbTrack.h:34
double myAltitudeBarometric
radians
Definition: adsbTrack.h:35
double myMaxAltitudeFlown
The maximum altitude this aircraft flew in the processed data.
Definition: adsbTrack.h:153
double myLatitude
The representation of lat-lon in the ADSB data is 10e-4 minutes, or about 27-28 bits. Since float is (?) 24 bits, use double.
Definition: adsbTrack.h:33
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34
Class definition for one track created from ADSB messages, i.e. the identifying information and time-...
Definition: adsbTrack.h:71
DT_DLL_readerWriter const char * decode(DtString &val, const char *buffer)
Decodes a value from buffer and places the result in val of the type specified by val...
std::string myFlightNumber
Definition: adsbTrack.h:51
bool myHasAltitude
radians, 0 - 2pi. Ignore if < 0. Indicator for whether the above data has been specif...
Definition: adsbTrack.h:44
double myMaxFlightDistance
The maximum distance this aircraft flew in the processed data.
Definition: adsbTrack.h:155
std::map< double, DtAdsb::DtPathPoint > DtAdsbPathPointMap
This will map a time stamp to a point (location)
Definition: adsbTrack.h:65
float myVerticalSpeed
mps
Definition: adsbTrack.h:37