FlightGear next
FGAIWaypoint Class Reference

#include <AIFlightPlan.hxx>

Public Member Functions

 FGAIWaypoint ()
 
virtual ~FGAIWaypoint ()
 
void setName (const std::string &nam)
 
void setLatitude (double lat)
 
void setLongitude (double lon)
 
void setAltitude (double alt)
 
void setPos (const SGGeod &aPos)
 
void setSpeed (double spd)
 
void setCrossat (double val)
 
void setFinished (bool fin)
 
void setGear_down (bool grd)
 
void setFlaps (double val)
 
void setSpoilers (double val)
 
void setSpeedBrakes (double val)
 
void setOn_ground (bool grn)
 
void setRouteIndex (int rte)
 
void setTime_sec (double ts)
 
void setTrackLength (double tl)
 
void setTime (const std::string &tme)
 
void setLights (bool beacon, bool cabin, bool ldg, bool nav, bool strobe, bool taxi)
 
void setPowerDownLights ()
 
void setGroundLights ()
 
void setCruiseLights ()
 
void setTakeOffLights ()
 
void setApproachLights ()
 
void setBeaconLight (bool beacon)
 
void setCabinLight (bool cabin)
 
void setLandingLight (bool ldg)
 
void setNavLight (bool nav)
 
void setStrobeLight (bool strobe)
 
void setTaxiLight (bool taxi)
 
bool contains (const std::string &name)
 
const std::string & getName ()
 
const SGGeod & getPos ()
 
double getLatitude () const
 
double getLongitude () const
 
double getAltitude () const
 
double getSpeed ()
 
double getCrossat ()
 
bool getGear_down ()
 
double getFlaps ()
 
double getSpoilers ()
 
double getSpeedBrakes ()
 
bool getOn_ground ()
 
bool getInAir ()
 
int getRouteIndex ()
 
bool isFinished ()
 
double getTime_sec ()
 
double getTrackLength ()
 
const std::string & getTime ()
 
bool getBeaconLight ()
 
bool getCabinLight ()
 
bool getLandingLight ()
 
bool getNavLight ()
 
bool getStrobeLight ()
 
bool getTaxiLight ()
 

Detailed Description

Definition at line 24 of file AIFlightPlan.hxx.

Constructor & Destructor Documentation

◆ FGAIWaypoint()

FGAIWaypoint::FGAIWaypoint ( )

Definition at line 43 of file AIFlightPlan.cxx.

◆ ~FGAIWaypoint()

virtual FGAIWaypoint::~FGAIWaypoint ( )
inlinevirtual

Definition at line 51 of file AIFlightPlan.hxx.

Member Function Documentation

◆ contains()

bool FGAIWaypoint::contains ( const std::string & name)

Definition at line 56 of file AIFlightPlan.cxx.

◆ getAltitude()

double FGAIWaypoint::getAltitude ( ) const

Definition at line 75 of file AIFlightPlan.cxx.

◆ getBeaconLight()

bool FGAIWaypoint::getBeaconLight ( )
inline

Definition at line 114 of file AIFlightPlan.hxx.

◆ getCabinLight()

bool FGAIWaypoint::getCabinLight ( )
inline

Definition at line 115 of file AIFlightPlan.hxx.

◆ getCrossat()

double FGAIWaypoint::getCrossat ( )
inline

Definition at line 102 of file AIFlightPlan.hxx.

◆ getFlaps()

double FGAIWaypoint::getFlaps ( )
inline

Definition at line 104 of file AIFlightPlan.hxx.

◆ getGear_down()

bool FGAIWaypoint::getGear_down ( )
inline

Definition at line 103 of file AIFlightPlan.hxx.

◆ getInAir()

bool FGAIWaypoint::getInAir ( )
inline

Definition at line 108 of file AIFlightPlan.hxx.

◆ getLandingLight()

bool FGAIWaypoint::getLandingLight ( )
inline

Definition at line 116 of file AIFlightPlan.hxx.

◆ getLatitude()

double FGAIWaypoint::getLatitude ( ) const

Definition at line 65 of file AIFlightPlan.cxx.

◆ getLongitude()

double FGAIWaypoint::getLongitude ( ) const

Definition at line 70 of file AIFlightPlan.cxx.

◆ getName()

const std::string & FGAIWaypoint::getName ( )
inline

Definition at line 95 of file AIFlightPlan.hxx.

◆ getNavLight()

bool FGAIWaypoint::getNavLight ( )
inline

Definition at line 117 of file AIFlightPlan.hxx.

◆ getOn_ground()

bool FGAIWaypoint::getOn_ground ( )
inline

Definition at line 107 of file AIFlightPlan.hxx.

◆ getPos()

const SGGeod & FGAIWaypoint::getPos ( )
inline

Definition at line 96 of file AIFlightPlan.hxx.

◆ getRouteIndex()

int FGAIWaypoint::getRouteIndex ( )
inline

Definition at line 109 of file AIFlightPlan.hxx.

◆ getSpeed()

double FGAIWaypoint::getSpeed ( )
inline

Definition at line 100 of file AIFlightPlan.hxx.

◆ getSpeedBrakes()

double FGAIWaypoint::getSpeedBrakes ( )
inline

Definition at line 106 of file AIFlightPlan.hxx.

◆ getSpoilers()

double FGAIWaypoint::getSpoilers ( )
inline

Definition at line 105 of file AIFlightPlan.hxx.

◆ getStrobeLight()

bool FGAIWaypoint::getStrobeLight ( )
inline

Definition at line 118 of file AIFlightPlan.hxx.

◆ getTaxiLight()

bool FGAIWaypoint::getTaxiLight ( )
inline

Definition at line 119 of file AIFlightPlan.hxx.

◆ getTime()

const std::string & FGAIWaypoint::getTime ( )
inline

Definition at line 113 of file AIFlightPlan.hxx.

◆ getTime_sec()

double FGAIWaypoint::getTime_sec ( )
inline

Definition at line 111 of file AIFlightPlan.hxx.

◆ getTrackLength()

double FGAIWaypoint::getTrackLength ( )
inline

Definition at line 112 of file AIFlightPlan.hxx.

◆ isFinished()

bool FGAIWaypoint::isFinished ( )
inline

Definition at line 110 of file AIFlightPlan.hxx.

◆ setAltitude()

void FGAIWaypoint::setAltitude ( double alt)

Definition at line 90 of file AIFlightPlan.cxx.

◆ setApproachLights()

void FGAIWaypoint::setApproachLights ( )
inline

Definition at line 85 of file AIFlightPlan.hxx.

◆ setBeaconLight()

void FGAIWaypoint::setBeaconLight ( bool beacon)
inline

Definition at line 86 of file AIFlightPlan.hxx.

◆ setCabinLight()

void FGAIWaypoint::setCabinLight ( bool cabin)
inline

Definition at line 87 of file AIFlightPlan.hxx.

◆ setCrossat()

void FGAIWaypoint::setCrossat ( double val)
inline

Definition at line 59 of file AIFlightPlan.hxx.

◆ setCruiseLights()

void FGAIWaypoint::setCruiseLights ( )
inline

Definition at line 83 of file AIFlightPlan.hxx.

◆ setFinished()

void FGAIWaypoint::setFinished ( bool fin)
inline

Definition at line 60 of file AIFlightPlan.hxx.

◆ setFlaps()

void FGAIWaypoint::setFlaps ( double val)
inline

Definition at line 62 of file AIFlightPlan.hxx.

◆ setGear_down()

void FGAIWaypoint::setGear_down ( bool grd)
inline

Definition at line 61 of file AIFlightPlan.hxx.

◆ setGroundLights()

void FGAIWaypoint::setGroundLights ( )
inline

Definition at line 82 of file AIFlightPlan.hxx.

◆ setLandingLight()

void FGAIWaypoint::setLandingLight ( bool ldg)
inline

Definition at line 88 of file AIFlightPlan.hxx.

◆ setLatitude()

void FGAIWaypoint::setLatitude ( double lat)

Definition at line 80 of file AIFlightPlan.cxx.

◆ setLights()

void FGAIWaypoint::setLights ( bool beacon,
bool cabin,
bool ldg,
bool nav,
bool strobe,
bool taxi )
inline

Definition at line 70 of file AIFlightPlan.hxx.

◆ setLongitude()

void FGAIWaypoint::setLongitude ( double lon)

Definition at line 85 of file AIFlightPlan.cxx.

◆ setName()

void FGAIWaypoint::setName ( const std::string & nam)
inline

Definition at line 53 of file AIFlightPlan.hxx.

◆ setNavLight()

void FGAIWaypoint::setNavLight ( bool nav)
inline

Definition at line 89 of file AIFlightPlan.hxx.

◆ setOn_ground()

void FGAIWaypoint::setOn_ground ( bool grn)
inline

Definition at line 65 of file AIFlightPlan.hxx.

◆ setPos()

void FGAIWaypoint::setPos ( const SGGeod & aPos)
inline

Definition at line 57 of file AIFlightPlan.hxx.

◆ setPowerDownLights()

void FGAIWaypoint::setPowerDownLights ( )
inline

Definition at line 81 of file AIFlightPlan.hxx.

◆ setRouteIndex()

void FGAIWaypoint::setRouteIndex ( int rte)
inline

Definition at line 66 of file AIFlightPlan.hxx.

◆ setSpeed()

void FGAIWaypoint::setSpeed ( double spd)
inline

Definition at line 58 of file AIFlightPlan.hxx.

◆ setSpeedBrakes()

void FGAIWaypoint::setSpeedBrakes ( double val)
inline

Definition at line 64 of file AIFlightPlan.hxx.

◆ setSpoilers()

void FGAIWaypoint::setSpoilers ( double val)
inline

Definition at line 63 of file AIFlightPlan.hxx.

◆ setStrobeLight()

void FGAIWaypoint::setStrobeLight ( bool strobe)
inline

Definition at line 90 of file AIFlightPlan.hxx.

◆ setTakeOffLights()

void FGAIWaypoint::setTakeOffLights ( )
inline

Definition at line 84 of file AIFlightPlan.hxx.

◆ setTaxiLight()

void FGAIWaypoint::setTaxiLight ( bool taxi)
inline

Definition at line 91 of file AIFlightPlan.hxx.

◆ setTime()

void FGAIWaypoint::setTime ( const std::string & tme)
inline

Definition at line 69 of file AIFlightPlan.hxx.

◆ setTime_sec()

void FGAIWaypoint::setTime_sec ( double ts)
inline

Definition at line 67 of file AIFlightPlan.hxx.

◆ setTrackLength()

void FGAIWaypoint::setTrackLength ( double tl)
inline

Definition at line 68 of file AIFlightPlan.hxx.


The documentation for this class was generated from the following files: