13 #include <vlutil/vlTime.h>
25 namespace DtBufferSerialize
77 void setBit(
int position,
bool value);
78 bool getBit(
int position)
const;
116 virtual int netRepSize()
const;
120 virtual bool setFromNet(
const char* contentBuffer,
121 unsigned contentSize = 0);
126 virtual bool setToNet(
char* contentBuffer);
129 void setIcaoAddress(
const int icaoAddr);
130 int icaoAddress()
const;
133 void setAircraftType(
const std::string);
134 std::string aircraftType()
const;
136 void setTailNumber(
const std::string);
137 std::string tailNumber()
const;
140 void setMaxSpeedFlown(
const double s);
141 double maxSpeedFlown()
const;
143 void checkAndSetMaxSpeed(
const double s);
146 void setMaxAltitudeFlown(
const double a);
147 double maxAltitudeFlown()
const;
149 void checkAndSetMaxAltitude(
const double a);
152 void setMaxFlightDistance(
const double d);
153 double maxFlightDistance()
const;
155 void checkAndsetMaxFlightDistance(
const double d);
167 void setSquawkChangedTimestamp(
const double t);
168 double squawkChangedTimestamp()
const;
171 bool isSquawkChanged(
const double t)
const;
202 bool myCrosses180Line;
double mySquawkChangedTimestamp
The timestamp when mySquawkCode changes in a future path point.
Definition: adsbTrack.h:191
DT_DLL_readerWriter int getSize(const DtString &val)
The number of bytes required to encode the value.
DtFixedPointAngle32 myLongitude
radians
Definition: adsbTrack.h:46
DtTime myTimeStamp
Definition: adsbTrack.h:42
float myAltitudeBarometric
radians
Definition: adsbTrack.h:47
void setHasVerticalSpeed(bool v)
Definition: adsbTrack.h:65
DtAdsbPathPointMap myPath
The key is the timestamp.
Definition: adsbTrack.h:184
DtInt16 mySquawkCode
This IFF code could change during a flight.
Definition: adsbTrack.h:58
double myMaxSpeedFlown
The maximum speed this aircraft flew in the processed data.
Definition: adsbTrack.h:177
std::string myCallSign
radians, 0 - 2pi. Ignore if < 0.
Definition: adsbTrack.h:55
void setHasSpeed(bool v)
Definition: adsbTrack.h:62
float myHeading
mps
Definition: adsbTrack.h:50
int myIcaoAddress
Integer representation of 6-hex-digit value in file.
Definition: adsbTrack.h:175
bool hasVerticalSpeed() const
Definition: adsbTrack.h:64
Class definition for one dynamic point of a track.
Definition: adsbTrack.h:36
float mySpeed
meters
Definition: adsbTrack.h:48
DtFixedPointAngle32 myLatitude
The representation of lat-lon in the ADSB data is 10e-4 minutes, or about 27-28 bits. Float is too low precision for this data.
Definition: adsbTrack.h:45
std::string myTailNumber
Definition: adsbTrack.h:188
std::string myAircraftType
ICAO type.
Definition: adsbTrack.h:187
bool hasHeading() const
Definition: adsbTrack.h:67
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...
void setIsOnGround(bool v)
Definition: adsbTrack.h:74
void setHasHeading(bool v)
Definition: adsbTrack.h:68
bool hasAltitude() const
Definition: adsbTrack.h:70
void setHasAltitude(bool v)
Definition: adsbTrack.h:71
bool hasSpeed() const
Indicator for whether the above data has been specified in the data.
Definition: adsbTrack.h:61
double myMaxAltitudeFlown
The maximum altitude this aircraft flew in the processed data.
Definition: adsbTrack.h:179
#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:97
bool isOnGround() const
Definition: adsbTrack.h:73
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:56
DtU8 myBitfield
Data storage for bits set by above accessors. Use this instead of a series of bools to compact the da...
Definition: adsbTrack.h:82
double myMaxFlightDistance
The maximum distance this aircraft flew in the processed data.
Definition: adsbTrack.h:181
std::map< double, DtAdsb::DtPathPoint > DtAdsbPathPointMap
This will map a time stamp to a point (location)
Definition: adsbTrack.h:91
float myVerticalSpeed
mps
Definition: adsbTrack.h:49