Inherited by Eaagles::Simulation::Bullseye.
Inheritance diagram for Eaagles::Simulation::Steerpoint:


Public Types | |
| enum | StptType { DEST, MARK, FIX, OAP, IP, TGT, TGT_GRP } |
Public Member Functions | |
| Steerpoint () | |
| StptType | getSteerpointType () const |
| bool | isPosVecValid () const |
| bool | isLatLonValid () const |
| bool | isNavDataValid () const |
| bool | isWarnSCA () const |
| bool | isCmdAltValid () const |
| bool | isCmdAirspeedValid () const |
| const osg::Vec3 & | getPosition () const |
| double | getLatitude () const |
| double | getLongitude () const |
| LCreal | getElevation () const |
| LCreal | getElevationM () const |
| LCreal | getElevationFt () const |
| LCreal | getSCA () const |
| LCreal | getPTA () const |
| const char * | getDescription () const |
| LCreal | getMagVarDeg () const |
| LCreal | getCmdAltitude () const |
| LCreal | getCmdAltitudeM () const |
| LCreal | getCmdAltitudeFt () const |
| LCreal | getCmdAirspeedKts () const |
| LCreal | getTrueBrgDeg () const |
| LCreal | getMagBrgDeg () const |
| LCreal | getDistNM () const |
| LCreal | getTTG () const |
| LCreal | getCrossTrackErrNM () const |
| LCreal | getTrueCrsDeg () const |
| LCreal | getMagCrsDeg () const |
| LCreal | getLegDistNM () const |
| LCreal | getLegTime () const |
| LCreal | getDistEnrouteNM () const |
| LCreal | getETE () const |
| LCreal | getETA () const |
| LCreal | getELT () const |
| virtual bool | compute (const Navigation *const nav, const Steerpoint *const from=0) |
| virtual void | clearNavData () |
| virtual void | setSteerpointType (const StptType t) |
| virtual void | setPosition (const LCreal x, const LCreal y, const LCreal z) |
| virtual void | setElevation (const LCreal x) |
| virtual void | setPosition (const osg::Vec3 &newPos) |
| virtual void | setLatitude (const double v) |
| virtual void | setLongitude (const double v) |
| virtual void | setPTA (const float v) |
| virtual void | setSCA (const float v) |
| virtual void | setDescription (const Basic::LcString *const d) |
| virtual void | setCmdAltitude (const float v) |
| virtual void | setCmdAirspeedKts (const float v) |
| virtual void | setTrueBrgDeg (const LCreal v) |
| virtual void | setMagBrgDeg (const LCreal v) |
| virtual void | setDistNM (const LCreal v) |
| virtual void | setTTG (const LCreal v) |
| virtual void | setCrossTrackErrNM (const LCreal v) |
| virtual void | setTrueCrsDeg (const LCreal v) |
| virtual void | setMagCrsDeg (const LCreal v) |
| virtual void | setLegDistNM (const LCreal v) |
| virtual void | setLegTime (const LCreal v) |
| virtual void | setDistEnrouteNM (const LCreal v) |
| virtual void | setETE (const LCreal v) |
| virtual void | setETA (const LCreal v) |
| virtual void | setELT (const LCreal v) |
| virtual void | setInitLatitude (const double lat) |
| virtual void | setInitLongitude (const double lon) |
| SteerpointAction * | getAction () |
| const SteerpointAction * | getAction () const |
| virtual bool | setAction (SteerpointAction *const act) |
| virtual bool | setSlotSteerpointType (const Basic::LcIdent *const msg) |
| virtual bool | setSlotLatitude (const Basic::LcLatLon *const msg) |
| virtual bool | setSlotLatitude (const Basic::LcNumber *const msg) |
| virtual bool | setSlotLongitude (const Basic::LcLatLon *const msg) |
| virtual bool | setSlotLongitude (const Basic::LcNumber *const msg) |
| virtual bool | setSlotPosition (const Basic::LcList *const numList) |
| virtual bool | setSlotXPos (const Basic::LcDistance *const num) |
| virtual bool | setSlotYPos (const Basic::LcDistance *const num) |
| virtual bool | setSlotElevation (const Basic::LcDistance *const num) |
| virtual bool | setSlotElevation (const Basic::LcNumber *const num) |
| virtual bool | setSlotPTA (const Basic::LcTime *const msg) |
| virtual bool | setSlotPTA (const Basic::LcNumber *const msg) |
| virtual bool | setSlotSCA (const Basic::LcDistance *const msg) |
| virtual bool | setSlotSCA (const Basic::LcNumber *const msg) |
| virtual bool | setSlotDescription (const Basic::LcString *const msg) |
| virtual bool | setSlotMagVar (const Basic::LcAngle *const msg) |
| virtual bool | setSlotMagVar (const Basic::LcNumber *const msg) |
| virtual bool | setSlotCmdAltitude (const Basic::LcDistance *const num) |
| virtual bool | setSlotCmdAltitude (const Basic::LcNumber *const num) |
| virtual bool | setSlotCmdAirspeed (const Basic::LcNumber *const num) |
| virtual bool | setSlotNext (const Basic::LcIdent *const num) |
| virtual bool | setSlotNext (const Basic::LcNumber *const num) |
| virtual void | reset () |
Protected Member Functions | |
| virtual Basic::LcPairStream * | processComponents (Basic::LcPairStream *const list, const std::type_info &filter, Basic::LcPair *const add=0, Basic::LcComponent *const remove=0) |
Private Attributes | |
| double | latitude |
| double | longitude |
| osg::Vec3 | posVec |
| StptType | stptType |
| LCreal | pta |
| LCreal | sca |
| LCreal | magvar |
| SPtr< const Basic::LcString > | description |
| bool | needPosVec |
| bool | needLL |
| LCreal | cmdAlt |
| bool | haveCmdAlt |
| LCreal | cmdAirspeed |
| bool | haveCmdAs |
| SPtr< Basic::LcPair > | next |
| SPtr< SteerpointAction > | action |
| double | initLatitude |
| double | initLongitude |
| osg::Vec3 | initPosVec |
| LCreal | initMagVar |
| bool | haveInitLat |
| bool | haveInitLon |
| bool | haveInitPos |
| bool | haveInitMagVar |
| LCreal | initElev |
| bool | haveInitElev |
| LCreal | initCmdAlt |
| bool | haveInitCmdAlt |
| LCreal | initCmdAirspeed |
| bool | haveInitCmdAs |
| SPtr< const Basic::LcString > | initNextStptName |
| int | initNextStptIdx |
| LCreal | tbrg |
| LCreal | mbrg |
| LCreal | dst |
| LCreal | ttg |
| LCreal | xte |
| LCreal | tcrs |
| LCreal | mcrs |
| LCreal | tlt |
| LCreal | tld |
| LCreal | tde |
| LCreal | ete |
| LCreal | eta |
| LCreal | elt |
| bool | scaWarn |
| bool | navDataValid |
Generic steerpoint; contains positional and navigational data;
component list contains associated steerpoints (FIX, OAP, etc.)
Slots:
stptType ! Steerpoint type (Ident) { ROUTE, DEST, MARK, FIX, OAP, TGT }; default: DEST
latitude ! Latitude (latLon)
longitude ! Longitude (latLon)
xPos ! X position (Distance)
yPos ! Y position (Distance)
elevation ! Terrain Elevation (Distance)
altitude ! Commanded altitude (Distance)
airspeed ! Commanded airspeed (Kts) (Number)
pta ! Planned Time of Arrival (Time)
sca ! Safe Clearance Altitude (Distance)
description ! Description (String)
magvar ! Magnetic Var @ point (Angle)
next ! Next steerpoing number (Number)
| Eaagles::Simulation::Steerpoint::Steerpoint | ( | ) |
| StptType Eaagles::Simulation::Steerpoint::getSteerpointType | ( | ) | const [inline] |
| bool Eaagles::Simulation::Steerpoint::isPosVecValid | ( | ) | const [inline] |
| bool Eaagles::Simulation::Steerpoint::isLatLonValid | ( | ) | const [inline] |
| bool Eaagles::Simulation::Steerpoint::isNavDataValid | ( | ) | const [inline] |
| bool Eaagles::Simulation::Steerpoint::isWarnSCA | ( | ) | const [inline] |
| bool Eaagles::Simulation::Steerpoint::isCmdAltValid | ( | ) | const [inline] |
| bool Eaagles::Simulation::Steerpoint::isCmdAirspeedValid | ( | ) | const [inline] |
| const osg::Vec3& Eaagles::Simulation::Steerpoint::getPosition | ( | ) | const [inline] |
Steerpoint parameters.
| double Eaagles::Simulation::Steerpoint::getLatitude | ( | ) | const |
| double Eaagles::Simulation::Steerpoint::getLongitude | ( | ) | const |
| LCreal Eaagles::Simulation::Steerpoint::getElevation | ( | ) | const |
| LCreal Eaagles::Simulation::Steerpoint::getElevationM | ( | ) | const |
| LCreal Eaagles::Simulation::Steerpoint::getElevationFt | ( | ) | const |
| LCreal Eaagles::Simulation::Steerpoint::getSCA | ( | ) | const [inline] |
Feet.
| LCreal Eaagles::Simulation::Steerpoint::getPTA | ( | ) | const [inline] |
Seconds.
| const char * Eaagles::Simulation::Steerpoint::getDescription | ( | ) | const |
| LCreal Eaagles::Simulation::Steerpoint::getMagVarDeg | ( | ) | const [inline] |
| LCreal Eaagles::Simulation::Steerpoint::getCmdAltitude | ( | ) | const [inline] |
| LCreal Eaagles::Simulation::Steerpoint::getCmdAltitudeM | ( | ) | const [inline] |
| LCreal Eaagles::Simulation::Steerpoint::getCmdAltitudeFt | ( | ) | const |
| LCreal Eaagles::Simulation::Steerpoint::getCmdAirspeedKts | ( | ) | const [inline] |
| LCreal Eaagles::Simulation::Steerpoint::getTrueBrgDeg | ( | ) | const [inline] |
Nav Steering: 'direct-to' data.
| LCreal Eaagles::Simulation::Steerpoint::getMagBrgDeg | ( | ) | const [inline] |
| LCreal Eaagles::Simulation::Steerpoint::getDistNM | ( | ) | const [inline] |
| LCreal Eaagles::Simulation::Steerpoint::getTTG | ( | ) | const [inline] |
| LCreal Eaagles::Simulation::Steerpoint::getCrossTrackErrNM | ( | ) | const [inline] |
| LCreal Eaagles::Simulation::Steerpoint::getTrueCrsDeg | ( | ) | const [inline] |
Nav Steering: 'leg' data.
| LCreal Eaagles::Simulation::Steerpoint::getMagCrsDeg | ( | ) | const [inline] |
| LCreal Eaagles::Simulation::Steerpoint::getLegDistNM | ( | ) | const [inline] |
| LCreal Eaagles::Simulation::Steerpoint::getLegTime | ( | ) | const [inline] |
| LCreal Eaagles::Simulation::Steerpoint::getDistEnrouteNM | ( | ) | const [inline] |
Nav Steering: 'enroute' data.
| LCreal Eaagles::Simulation::Steerpoint::getETE | ( | ) | const [inline] |
| LCreal Eaagles::Simulation::Steerpoint::getETA | ( | ) | const [inline] |
| LCreal Eaagles::Simulation::Steerpoint::getELT | ( | ) | const [inline] |
| bool Eaagles::Simulation::Steerpoint::compute | ( | const Navigation *const | nav, | |
| const Steerpoint *const | from = 0 | |||
| ) | [virtual] |
Compute have data 'to' this point.
| void Eaagles::Simulation::Steerpoint::clearNavData | ( | ) | [virtual] |
Clear the nav data.
| virtual void Eaagles::Simulation::Steerpoint::setSteerpointType | ( | const StptType | t | ) | [inline, virtual] |
Set parameters.
| void Eaagles::Simulation::Steerpoint::setPosition | ( | const LCreal | x, | |
| const LCreal | y, | |||
| const LCreal | z | |||
| ) | [virtual] |
| void Eaagles::Simulation::Steerpoint::setElevation | ( | const LCreal | x | ) | [virtual] |
| void Eaagles::Simulation::Steerpoint::setPosition | ( | const osg::Vec3 & | newPos | ) | [virtual] |
| void Eaagles::Simulation::Steerpoint::setLatitude | ( | const double | v | ) | [virtual] |
| void Eaagles::Simulation::Steerpoint::setLongitude | ( | const double | v | ) | [virtual] |
| virtual void Eaagles::Simulation::Steerpoint::setPTA | ( | const float | v | ) | [inline, virtual] |
| virtual void Eaagles::Simulation::Steerpoint::setSCA | ( | const float | v | ) | [inline, virtual] |
| void Eaagles::Simulation::Steerpoint::setDescription | ( | const Basic::LcString *const | d | ) | [virtual] |
| void Eaagles::Simulation::Steerpoint::setCmdAltitude | ( | const float | v | ) | [virtual] |
| void Eaagles::Simulation::Steerpoint::setCmdAirspeedKts | ( | const float | v | ) | [virtual] |
| virtual void Eaagles::Simulation::Steerpoint::setTrueBrgDeg | ( | const LCreal | v | ) | [inline, virtual] |
Set nav data.
| virtual void Eaagles::Simulation::Steerpoint::setMagBrgDeg | ( | const LCreal | v | ) | [inline, virtual] |
| virtual void Eaagles::Simulation::Steerpoint::setDistNM | ( | const LCreal | v | ) | [inline, virtual] |
| virtual void Eaagles::Simulation::Steerpoint::setTTG | ( | const LCreal | v | ) | [inline, virtual] |
| virtual void Eaagles::Simulation::Steerpoint::setCrossTrackErrNM | ( | const LCreal | v | ) | [inline, virtual] |
| virtual void Eaagles::Simulation::Steerpoint::setTrueCrsDeg | ( | const LCreal | v | ) | [inline, virtual] |
| virtual void Eaagles::Simulation::Steerpoint::setMagCrsDeg | ( | const LCreal | v | ) | [inline, virtual] |
| virtual void Eaagles::Simulation::Steerpoint::setLegDistNM | ( | const LCreal | v | ) | [inline, virtual] |
| virtual void Eaagles::Simulation::Steerpoint::setLegTime | ( | const LCreal | v | ) | [inline, virtual] |
| virtual void Eaagles::Simulation::Steerpoint::setDistEnrouteNM | ( | const LCreal | v | ) | [inline, virtual] |
| virtual void Eaagles::Simulation::Steerpoint::setETE | ( | const LCreal | v | ) | [inline, virtual] |
| virtual void Eaagles::Simulation::Steerpoint::setETA | ( | const LCreal | v | ) | [inline, virtual] |
| virtual void Eaagles::Simulation::Steerpoint::setELT | ( | const LCreal | v | ) | [inline, virtual] |
| virtual void Eaagles::Simulation::Steerpoint::setInitLatitude | ( | const double | lat | ) | [inline, virtual] |
Sets the initial lat/lon (reset()) values.
| virtual void Eaagles::Simulation::Steerpoint::setInitLongitude | ( | const double | lon | ) | [inline, virtual] |
| SteerpointAction* Eaagles::Simulation::Steerpoint::getAction | ( | ) | [inline] |
Get/set steerpoint action.
| const SteerpointAction* Eaagles::Simulation::Steerpoint::getAction | ( | ) | const [inline] |
| bool Eaagles::Simulation::Steerpoint::setAction | ( | SteerpointAction *const | act | ) | [virtual] |
| bool Eaagles::Simulation::Steerpoint::setSlotSteerpointType | ( | const Basic::LcIdent *const | msg | ) | [virtual] |
Slot functions.
| bool Eaagles::Simulation::Steerpoint::setSlotLatitude | ( | const Basic::LcLatLon *const | msg | ) | [virtual] |
| bool Eaagles::Simulation::Steerpoint::setSlotLatitude | ( | const Basic::LcNumber *const | msg | ) | [virtual] |
| bool Eaagles::Simulation::Steerpoint::setSlotLongitude | ( | const Basic::LcLatLon *const | msg | ) | [virtual] |
| bool Eaagles::Simulation::Steerpoint::setSlotLongitude | ( | const Basic::LcNumber *const | msg | ) | [virtual] |
| bool Eaagles::Simulation::Steerpoint::setSlotPosition | ( | const Basic::LcList *const | numList | ) | [virtual] |
| bool Eaagles::Simulation::Steerpoint::setSlotXPos | ( | const Basic::LcDistance *const | num | ) | [virtual] |
| bool Eaagles::Simulation::Steerpoint::setSlotYPos | ( | const Basic::LcDistance *const | num | ) | [virtual] |
| bool Eaagles::Simulation::Steerpoint::setSlotElevation | ( | const Basic::LcDistance *const | num | ) | [virtual] |
| bool Eaagles::Simulation::Steerpoint::setSlotElevation | ( | const Basic::LcNumber *const | num | ) | [virtual] |
| bool Eaagles::Simulation::Steerpoint::setSlotPTA | ( | const Basic::LcTime *const | msg | ) | [virtual] |
| bool Eaagles::Simulation::Steerpoint::setSlotPTA | ( | const Basic::LcNumber *const | msg | ) | [virtual] |
| bool Eaagles::Simulation::Steerpoint::setSlotSCA | ( | const Basic::LcDistance *const | msg | ) | [virtual] |
| bool Eaagles::Simulation::Steerpoint::setSlotSCA | ( | const Basic::LcNumber *const | msg | ) | [virtual] |
| bool Eaagles::Simulation::Steerpoint::setSlotDescription | ( | const Basic::LcString *const | msg | ) | [virtual] |
| bool Eaagles::Simulation::Steerpoint::setSlotMagVar | ( | const Basic::LcAngle *const | msg | ) | [virtual] |
| bool Eaagles::Simulation::Steerpoint::setSlotMagVar | ( | const Basic::LcNumber *const | msg | ) | [virtual] |
| bool Eaagles::Simulation::Steerpoint::setSlotCmdAltitude | ( | const Basic::LcDistance *const | num | ) | [virtual] |
| bool Eaagles::Simulation::Steerpoint::setSlotCmdAltitude | ( | const Basic::LcNumber *const | num | ) | [virtual] |
| bool Eaagles::Simulation::Steerpoint::setSlotCmdAirspeed | ( | const Basic::LcNumber *const | num | ) | [virtual] |
| bool Eaagles::Simulation::Steerpoint::setSlotNext | ( | const Basic::LcIdent *const | num | ) | [virtual] |
| bool Eaagles::Simulation::Steerpoint::setSlotNext | ( | const Basic::LcNumber *const | num | ) | [virtual] |
| void Eaagles::Simulation::Steerpoint::reset | ( | ) | [virtual] |
| Basic::LcPairStream * Eaagles::Simulation::Steerpoint::processComponents | ( | Basic::LcPairStream *const | list, | |
| const std::type_info & | filter, | |||
| Basic::LcPair *const | add = 0, |
|||
| Basic::LcComponent *const | remove = 0 | |||
| ) | [protected, virtual] |
Process our subcomponent list (which should be other steerpoints).
Basic::LcComponent interface
| list | Source list of components |
| filter | Type filter |
| add | Optional pair to add |
| remove | Optional subcomponent to remove |
Reimplemented from Eaagles::Basic::LcComponent.
double Eaagles::Simulation::Steerpoint::latitude [private] |
latitude
Steerpoint parameters
double Eaagles::Simulation::Steerpoint::longitude [private] |
Longitude.
osg::Vec3 Eaagles::Simulation::Steerpoint::posVec [private] |
Position vector (m) [ x, y, z ] NED.
Steerpoint type.
LCreal Eaagles::Simulation::Steerpoint::pta [private] |
Planned Time of Arrival (sec).
LCreal Eaagles::Simulation::Steerpoint::sca [private] |
Safe Clearance Alt (ft).
Mag Var (degs).
SPtr<const Basic::LcString> Eaagles::Simulation::Steerpoint::description [private] |
Description.
bool Eaagles::Simulation::Steerpoint::needPosVec [private] |
Request calucaltion of 'posVec' from Lat/Lon.
bool Eaagles::Simulation::Steerpoint::needLL [private] |
Request calucaltion of Lat/Lon from 'posVec'.
Commanded Altitude (m).
bool Eaagles::Simulation::Steerpoint::haveCmdAlt [private] |
Have commanded altitude.
Commanded Airspeed (kts).
bool Eaagles::Simulation::Steerpoint::haveCmdAs [private] |
Have commanded airspeed.
"next" Steerpoint pair [ name steerpoint ]
Steerpoint action.
double Eaagles::Simulation::Steerpoint::initLatitude [private] |
Initial (reset) data.
double Eaagles::Simulation::Steerpoint::initLongitude [private] |
latitude
osg::Vec3 Eaagles::Simulation::Steerpoint::initPosVec [private] |
Longitude.
Init Position vector (m) [ x, y, z ] NED.
bool Eaagles::Simulation::Steerpoint::haveInitLat [private] |
Mag Var entered for this point (deg).
bool Eaagles::Simulation::Steerpoint::haveInitLon [private] |
Have initial latitude.
bool Eaagles::Simulation::Steerpoint::haveInitPos [private] |
Have initial longitude.
bool Eaagles::Simulation::Steerpoint::haveInitMagVar [private] |
Have initial pos vector.
Have initial mag var.
bool Eaagles::Simulation::Steerpoint::haveInitElev [private] |
Elevation.
Have initial elevation.
bool Eaagles::Simulation::Steerpoint::haveInitCmdAlt [private] |
Initial commanded altitude (m).
Have initial cmd altitude.
bool Eaagles::Simulation::Steerpoint::haveInitCmdAs [private] |
Initial commanded airspeed (kts).
SPtr<const Basic::LcString> Eaagles::Simulation::Steerpoint::initNextStptName [private] |
Have commanded airspeed.
int Eaagles::Simulation::Steerpoint::initNextStptIdx [private] |
Name of the inital "next" steerpoint.
LCreal Eaagles::Simulation::Steerpoint::tbrg [private] |
True bearing direct-to point (deg).
Computed data
LCreal Eaagles::Simulation::Steerpoint::mbrg [private] |
Mag bearing direct-to point (deg).
LCreal Eaagles::Simulation::Steerpoint::dst [private] |
Distance direct-to point (nm).
LCreal Eaagles::Simulation::Steerpoint::ttg [private] |
Time-To-Go (direct) (sec).
LCreal Eaagles::Simulation::Steerpoint::xte [private] |
Cross-Track Error (nm).
LCreal Eaagles::Simulation::Steerpoint::tcrs [private] |
TRUE Course to point (degs).
LCreal Eaagles::Simulation::Steerpoint::mcrs [private] |
Mag Course to point (degs).
LCreal Eaagles::Simulation::Steerpoint::tlt [private] |
Total Time this Leg (sec).
LCreal Eaagles::Simulation::Steerpoint::tld [private] |
Total Leg Distance (nm).
LCreal Eaagles::Simulation::Steerpoint::tde [private] |
Total Distance Enroute (nm).
LCreal Eaagles::Simulation::Steerpoint::ete [private] |
Est Time Enroute (sec).
LCreal Eaagles::Simulation::Steerpoint::eta [private] |
Est Time of Arrival (UTC)(sec).
LCreal Eaagles::Simulation::Steerpoint::elt [private] |
Early/Late time (sec).
bool Eaagles::Simulation::Steerpoint::scaWarn [private] |
Safe clearance Alt warning flag.
bool Eaagles::Simulation::Steerpoint::navDataValid [private] |
Nav data is valid.
1.5.0