|
swift
|
Delegating class which can be directly used to access an. More...
Protected Member Functions | |
| COwnAircraftAware (IOwnAircraftProvider *ownAircraftProvider) | |
| Constructor. | |
Protected Member Functions inherited from swift::misc::IProviderAware< IOwnAircraftProvider > | |
| IProviderAware (IOwnAircraftProvider *provider=nullptr) | |
| Ctor. | |
| virtual | ~IProviderAware ()=default |
| Dtor. | |
| bool | hasProvider () const |
| Has provider? | |
| IOwnAircraftProvider * | getProvider () const |
| Provider. | |
| void | setProvider (IOwnAircraftProvider *provider) |
| Set the provider. More... | |
| IOwnAircraftProvider * | provider () |
| Provider. | |
| const IOwnAircraftProvider * | provider () const |
| Const provider. | |
Delegating class which can be directly used to access an.
Definition at line 127 of file ownaircraftprovider.h.
| CLength swift::misc::simulation::COwnAircraftAware::getDistanceToOwnAircraft | ( | const swift::misc::geo::ICoordinateGeodetic & | position | ) | const |
Distance to own aircraft.
Definition at line 71 of file ownaircraftprovider.cpp.
| CSimulatedAircraft swift::misc::simulation::COwnAircraftAware::getOwnAircraft | ( | ) | const |
Own aircraft.
Definition at line 23 of file ownaircraftprovider.cpp.
| CAircraftModel swift::misc::simulation::COwnAircraftAware::getOwnAircraftModel | ( | ) | const |
Own aircraft model.
Definition at line 65 of file ownaircraftprovider.cpp.
| CAircraftParts swift::misc::simulation::COwnAircraftAware::getOwnAircraftParts | ( | ) | const |
Own aircraft's parts.
Definition at line 59 of file ownaircraftprovider.cpp.
| CCoordinateGeodetic swift::misc::simulation::COwnAircraftAware::getOwnAircraftPosition | ( | ) | const |
Own aircraft's position.
Definition at line 47 of file ownaircraftprovider.cpp.
| CAircraftSituation swift::misc::simulation::COwnAircraftAware::getOwnAircraftSituation | ( | ) | const |
Own aircraft's position.
Definition at line 53 of file ownaircraftprovider.cpp.
| CCallsign swift::misc::simulation::COwnAircraftAware::getOwnCallsign | ( | ) | const |
Own aircraft's callsign.
Definition at line 29 of file ownaircraftprovider.cpp.
| CComSystem swift::misc::simulation::COwnAircraftAware::getOwnComSystem | ( | aviation::CComSystem::ComUnit | unit | ) | const |
Own aircraft COM unit.
Definition at line 35 of file ownaircraftprovider.cpp.
| CTransponder swift::misc::simulation::COwnAircraftAware::getOwnTransponder | ( | ) | const |
Own aircraft XPDR.
Definition at line 41 of file ownaircraftprovider.cpp.
| bool swift::misc::simulation::COwnAircraftAware::updateActiveComFrequency | ( | const swift::misc::physical_quantities::CFrequency & | frequency, |
| aviation::CComSystem::ComUnit | comUnit, | ||
| const swift::misc::CIdentifier & | originator | ||
| ) |
Update cockpit, but only send signals when applicable.
Definition at line 90 of file ownaircraftprovider.cpp.
| bool swift::misc::simulation::COwnAircraftAware::updateCockpit | ( | const aviation::CComSystem & | com1, |
| const aviation::CComSystem & | com2, | ||
| const aviation::CTransponder & | transponder, | ||
| const swift::misc::CIdentifier & | originator | ||
| ) |
Update cockpit, but only send signals when applicable.
Definition at line 83 of file ownaircraftprovider.cpp.
| bool swift::misc::simulation::COwnAircraftAware::updateCockpit | ( | const swift::misc::simulation::CSimulatedAircraft & | aircraft, |
| const swift::misc::CIdentifier & | originator | ||
| ) |
Update cockpit, but only send signals when applicable.
Definition at line 77 of file ownaircraftprovider.cpp.
| bool swift::misc::simulation::COwnAircraftAware::updateOwnCallsign | ( | const aviation::CCallsign & | callsign | ) |
Update aircraft's callsign.
Definition at line 127 of file ownaircraftprovider.cpp.
| bool swift::misc::simulation::COwnAircraftAware::updateOwnCG | ( | const physical_quantities::CLength & | cg | ) |
Update own aircraft's CG (aka vertical offset)
Definition at line 121 of file ownaircraftprovider.cpp.
| bool swift::misc::simulation::COwnAircraftAware::updateOwnIcaoCodes | ( | const aviation::CAircraftIcaoCode & | aircraftIcaoData, |
| const aviation::CAirlineIcaoCode & | airlineIcaoCode | ||
| ) |
Update ICAO data.
Definition at line 133 of file ownaircraftprovider.cpp.
| bool swift::misc::simulation::COwnAircraftAware::updateOwnModel | ( | const swift::misc::simulation::CAircraftModel & | model | ) |
Update model.
Definition at line 103 of file ownaircraftprovider.cpp.
| bool swift::misc::simulation::COwnAircraftAware::updateOwnParts | ( | const aviation::CAircraftParts & | parts | ) |
Update own parts.
Definition at line 115 of file ownaircraftprovider.cpp.
| bool swift::misc::simulation::COwnAircraftAware::updateOwnSituation | ( | const aviation::CAircraftSituation & | situation | ) |
Update own situation.
Definition at line 109 of file ownaircraftprovider.cpp.
| bool swift::misc::simulation::COwnAircraftAware::updateSelcal | ( | const aviation::CSelcal & | selcal, |
| const swift::misc::CIdentifier & | originator | ||
| ) |
Update cockpit, but only send signals when applicable.
Definition at line 97 of file ownaircraftprovider.cpp.