#include <Schedule.hxx>
|
| FGAISchedule () |
|
| FGAISchedule (const std::string &model, const std::string &livery, const std::string &homePort, const std::string ®istration, const std::string &flightId, bool heavy, const std::string &acType, const std::string &airline, const std::string &m_class, const std::string &flight_type, double radius, double offset) |
|
| FGAISchedule (const FGAISchedule &other) |
|
| ~FGAISchedule () |
|
bool | update (time_t now, const SGVec3d &userCart) |
| Returns true when processing is complete.
|
|
bool | init () |
|
double | getSpeed () |
|
bool | next () |
|
time_t | getDepartureTime () |
|
FGAirport * | getDepartureAirport () |
|
FGAirport * | getArrivalAirport () |
|
int | getCruiseAlt () |
|
double | getRadius () |
|
double | getGroundOffset () |
|
const std::string & | getFlightType () |
|
const std::string & | getAirline () |
|
const std::string & | getAircraft () |
|
std::string | getCallSign () |
|
const std::string & | getRegistration () |
|
std::string | getFlightRules () |
|
bool | getHeavy () |
|
double | getCourse () |
|
unsigned int | getRunCount () |
|
unsigned int | getHits () |
|
void | setrunCount (unsigned int count) |
|
void | setHits (unsigned int count) |
|
void | setScore () |
|
double | getScore () |
|
void | setHeading () |
| Create an initial heading for user controlled aircraft.
|
|
void | assign (FGScheduledFlight *ref) |
|
void | clearAllFlights () |
| Warning - will empty the flights vector no matter what.
|
|
void | setFlightType (const std::string &val) |
|
FGScheduledFlight * | findAvailableFlight (const std::string ¤tDestination, const std::string &req, time_t min=0, time_t max=0) |
|
bool | operator< (const FGAISchedule &other) const |
|
int | getLastUsed () |
|
void | setLastUsed (unsigned int val) |
|
Definition at line 41 of file Schedule.hxx.
◆ FGAISchedule() [1/3]
FGAISchedule::FGAISchedule |
( |
| ) |
|
◆ FGAISchedule() [2/3]
FGAISchedule::FGAISchedule |
( |
const std::string & | model, |
|
|
const std::string & | livery, |
|
|
const std::string & | homePort, |
|
|
const std::string & | registration, |
|
|
const std::string & | flightId, |
|
|
bool | heavy, |
|
|
const std::string & | acType, |
|
|
const std::string & | airline, |
|
|
const std::string & | m_class, |
|
|
const std::string & | flight_type, |
|
|
double | radius, |
|
|
double | offset ) |
◆ FGAISchedule() [3/3]
◆ ~FGAISchedule()
FGAISchedule::~FGAISchedule |
( |
| ) |
|
◆ assign()
◆ clearAllFlights()
void FGAISchedule::clearAllFlights |
( |
| ) |
|
Warning - will empty the flights vector no matter what.
Use with caution!
Definition at line 421 of file Schedule.cxx.
◆ compareSchedules()
◆ findAvailableFlight()
FGScheduledFlight * FGAISchedule::findAvailableFlight |
( |
const std::string & | currentDestination, |
|
|
const std::string & | req, |
|
|
time_t | min = 0, |
|
|
time_t | max = 0 ) |
◆ getAircraft()
const std::string & FGAISchedule::getAircraft |
( |
| ) |
|
|
inline |
◆ getAirline()
const std::string & FGAISchedule::getAirline |
( |
| ) |
|
|
inline |
◆ getArrivalAirport()
FGAirport * FGAISchedule::getArrivalAirport |
( |
| ) |
|
◆ getCallSign()
std::string FGAISchedule::getCallSign |
( |
| ) |
|
◆ getCourse()
double FGAISchedule::getCourse |
( |
| ) |
|
|
inline |
◆ getCruiseAlt()
int FGAISchedule::getCruiseAlt |
( |
| ) |
|
◆ getDepartureAirport()
FGAirport * FGAISchedule::getDepartureAirport |
( |
| ) |
|
◆ getDepartureTime()
time_t FGAISchedule::getDepartureTime |
( |
| ) |
|
◆ getFlightRules()
std::string FGAISchedule::getFlightRules |
( |
| ) |
|
◆ getFlightType()
const std::string & FGAISchedule::getFlightType |
( |
| ) |
|
|
inline |
◆ getGroundOffset()
double FGAISchedule::getGroundOffset |
( |
| ) |
|
|
inline |
◆ getHeavy()
bool FGAISchedule::getHeavy |
( |
| ) |
|
|
inline |
◆ getHits()
unsigned int FGAISchedule::getHits |
( |
| ) |
|
|
inline |
◆ getLastUsed()
int FGAISchedule::getLastUsed |
( |
| ) |
|
|
inline |
◆ getRadius()
double FGAISchedule::getRadius |
( |
| ) |
|
|
inline |
◆ getRegistration()
const std::string & FGAISchedule::getRegistration |
( |
| ) |
|
|
inline |
◆ getRunCount()
unsigned int FGAISchedule::getRunCount |
( |
| ) |
|
|
inline |
◆ getScore()
double FGAISchedule::getScore |
( |
| ) |
|
|
inline |
◆ getSpeed()
double FGAISchedule::getSpeed |
( |
| ) |
|
◆ init()
bool FGAISchedule::init |
( |
| ) |
|
◆ next()
bool FGAISchedule::next |
( |
| ) |
|
◆ operator<()
bool FGAISchedule::operator< |
( |
const FGAISchedule & | other | ) |
const |
◆ resolveModelPath()
SGPath FGAISchedule::resolveModelPath |
( |
const std::string & | model | ) |
|
|
static |
◆ setFlightType()
void FGAISchedule::setFlightType |
( |
const std::string & | val | ) |
|
|
inline |
◆ setHeading()
void FGAISchedule::setHeading |
( |
| ) |
|
Create an initial heading for user controlled aircraft.
Definition at line 411 of file Schedule.cxx.
◆ setHits()
void FGAISchedule::setHits |
( |
unsigned int | count | ) |
|
|
inline |
◆ setLastUsed()
void FGAISchedule::setLastUsed |
( |
unsigned int | val | ) |
|
|
inline |
◆ setrunCount()
void FGAISchedule::setrunCount |
( |
unsigned int | count | ) |
|
|
inline |
◆ setScore()
void FGAISchedule::setScore |
( |
| ) |
|
◆ update()
bool FGAISchedule::update |
( |
time_t | now, |
|
|
const SGVec3d & | userCart ) |
Returns true when processing is complete.
Returns false when processing was aborted due to timeout, so more time required - and another call is requested (next sim iteration).
Definition at line 190 of file Schedule.cxx.
◆ validModelPath()
bool FGAISchedule::validModelPath |
( |
const std::string & | model | ) |
|
|
static |
The documentation for this class was generated from the following files: