8 using namespace swift::misc::aviation;
9 using namespace swift::misc::physical_quantities;
11 namespace swift::misc::simulation
19 CCallsign COwnAircraftProviderDummy::getOwnCallsign()
const
22 return m_ownAircraft.getCallsign();
28 return m_ownAircraft.getComSystem(unit);
34 return m_ownAircraft.getTransponder();
40 return m_ownAircraft.getPosition();
46 return m_ownAircraft.getSituation();
52 return m_ownAircraft.getParts();
58 return m_ownAircraft.getModel();
63 return getOwnAircraft().calculateGreatCircleDistance(position);
71 m_ownAircraft.setCom1System(com1);
72 m_ownAircraft.setCom2System(com2);
73 m_ownAircraft.setTransponder(transponder);
84 CComSystem com = m_ownAircraft.getComSystem(comUnit);
86 m_ownAircraft.setComSystem(com, comUnit);
94 m_ownAircraft.setSelcal(selcal);
102 m_ownAircraft.setModel(model);
109 m_ownAircraft.setSituation(situation);
116 m_ownAircraft.setParts(parts);
120 bool COwnAircraftProviderDummy::updateOwnCG(
const CLength &cg)
123 return m_ownAircraft.setCG(cg);
126 bool COwnAircraftProviderDummy::updateOwnCallsign(
const CCallsign &callsign)
129 m_ownAircraft.setCallsign(callsign);
137 m_ownAircraft.setIcaoCodes(aircraftIcaoCode, airlineIcaoCode);
Value object encapsulating information identifying a component of a modular distributed swift process...
Value object for ICAO classification.
Value object encapsulating information of aircraft's parts.
Value object encapsulating information of an aircraft's situation.
Value object for ICAO classification.
Value object encapsulating information of a callsign.
static bool isValidComFrequency(const physical_quantities::CFrequency &f)
Valid COM frequency (either civil or military)
void setFrequencyActive(const physical_quantities::CFrequency &frequency)
Set active frequency.
Geodetic coordinate, a position in 3D space relative to the reference geoid.
Physical unit length (length)
Aircraft model (used by another pilot, my models on disk)
Comprehensive information of an aircraft.