![]() |
VR-Forces Developer's Guide
|
A handle to a point, for the same reasons as above. Functions return 0 or "" if the point is not valid.
Public Member Functions | |
| virtual | ~DtAdsbPathPointHandle () |
| virtual bool | isValid () const =0 |
| virtual double | timeStamp () const =0 |
| virtual double | latitude () const =0 |
| virtual double | longitude () const =0 |
| virtual double | altitude () const =0 |
| virtual double | speed () const =0 |
| virtual double | heading () const =0 |
| virtual std::string | callSign () const =0 |
| virtual std::string | flightNumber () const =0 |
| virtual std::string | squawkCode () const =0 |
| virtual bool | isOnGround () const =0 |
| virtual int | icaoAddress () const =0 |
| virtual DtAdsbPathPointHandle & | operator++ ()=0 |
| virtual bool | operator== (const DtAdsbPathPointHandle &other) const =0 |
Protected Member Functions | |
| DtAdsbPathPointHandle () | |
|
inlinevirtual |
|
inlineprotected |
Users of this interface will not need to construct objects. The manager that implements the interface will use a different constructor that has arguments for the implementation.
Note that the implementation of this class needs to have a copy constructor too.
|
pure virtual |
Point is valid if track is valid and the point exists in the track's (current) path.
|
pure virtual |
Time of point in ADSB data (not sim time). Epoch time.
|
pure virtual |
Radians.
|
pure virtual |
|
pure virtual |
Barometric altitude in ADSB data, in meters.
|
pure virtual |
Airspeed in ADSB data, in mps.
|
pure virtual |
True heading in ADSB data, in radians.
|
pure virtual |
|
pure virtual |
|
pure virtual |
String representation of octal number.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Makes this handle point to the next path point. If it starts at the last point, incrementing it will make the point invalid. This is a prefix function, i.e. ++ comes before the object. Note that when using the defined type DtPointHandlePtr, the typical usage will be
++(*handle)
|
pure virtual |
Note that when using the defined type DtPointHandlePtr, the typical usage will be
(*pHandle1) == (*pHandle2)