![]() |
VR-Forces Developer's Guide
|
Class definition for one dynamic point of a track.
Public Member Functions | |
| DtPathPoint () | |
| ~DtPathPoint () | |
| bool | hasSpeed () const |
| void | setHasSpeed (bool v) |
| bool | hasVerticalSpeed () const |
| void | setHasVerticalSpeed (bool v) |
| bool | hasHeading () const |
| void | setHasHeading (bool v) |
| bool | hasAltitude () const |
| void | setHasAltitude (bool v) |
| bool | isOnGround () const |
| void | setIsOnGround (bool v) |
Public Attributes | |
| DtTime | myTimeStamp |
| DtFixedPointAngle32 | myLatitude |
| DtFixedPointAngle32 | myLongitude |
| float | myAltitudeBarometric |
| float | mySpeed |
| float | myVerticalSpeed |
| float | myHeading |
| std::string | myCallSign |
| std::string | myFlightNumber |
| DtInt16 | mySquawkCode |
Protected Member Functions | |
| void | setBit (int position, bool value) |
| bool | getBit (int position) const |
Protected Attributes | |
| DtU8 | myBitfield |
Friends | |
| const int | DtBufferSerialize::getSize (const DtAdsb::DtPathPoint &point) |
| char * | DtBufferSerialize::encode (const DtAdsb::DtPathPoint &val, char *buffer) |
| const char * | DtBufferSerialize::decode (DtAdsb::DtPathPoint &val, const char *buffer) |
| DtAdsb::DtPathPoint::DtPathPoint | ( | ) |
| DtAdsb::DtPathPoint::~DtPathPoint | ( | ) |
|
inline |
Indicator for whether the above data has been specified in the data.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
| DtTime DtAdsb::DtPathPoint::myTimeStamp |
| DtFixedPointAngle32 DtAdsb::DtPathPoint::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.
| DtFixedPointAngle32 DtAdsb::DtPathPoint::myLongitude |
radians
| float DtAdsb::DtPathPoint::myAltitudeBarometric |
radians
| float DtAdsb::DtPathPoint::mySpeed |
meters
| float DtAdsb::DtPathPoint::myVerticalSpeed |
mps
| float DtAdsb::DtPathPoint::myHeading |
mps
| std::string DtAdsb::DtPathPoint::myCallSign |
radians, 0 - 2pi. Ignore if < 0.
These might change during the day as an aircraft lands at an airport and becomes a new flight to a new city
| std::string DtAdsb::DtPathPoint::myFlightNumber |
| DtInt16 DtAdsb::DtPathPoint::mySquawkCode |
This IFF code could change during a flight.
|
protected |
Data storage for bits set by above accessors. Use this instead of a series of bools to compact the data both in memory and on disk.