#include <Airplane.h>
Inheritance diagram for CAirplane:

Public Member Functions | |
| CAirplane (const char *nfoFilename) | |
| ~CAirplane (void) | |
| virtual int | Read (SStream *stream, Tag tag) |
| virtual void | ReadFinished (void) |
| void | AileronIncr (void) |
| Increment aileron by one step. | |
| void | AileronDecr (void) |
| Decrement aileron by one step. | |
| void | ElevatorIncr (void) |
| Increment elevator by one step. | |
| void | ElevatorDecr (void) |
| Decrement elevator by one step. | |
| void | RudderIncr (void) |
| Increment rudder by one step. | |
| void | RudderDecr (void) |
| Decrement rudder by one step. | |
| void | AileronTrimIncr (void) |
| Increment aileron trim one step. | |
| void | AileronTrimDecr (void) |
| Decrement aileron trim one step. | |
| void | ElevatorTrimIncr (void) |
| Increment elevator trim one step. | |
| void | ElevatorTrimDecr (void) |
| Decrement elevator trim one step. | |
| void | RudderTrimIncr (void) |
| Increment rudder trim one step. | |
| void | RudderTrimDecr (void) |
| Decrement rudder trim one step. | |
| void | Timeslice (float dT) |
| Real-time timeslice processing. | |
Public Attributes | |
| CSimulatedVehicle * | svh |
| CElectricalSystem * | amp |
| CAerodynamicModel * | wng |
| CFuelSystem * | gas |
| CPitotStaticSystem * | pss |
| CGroundSuspension * | whl |
| CVariableLoadouts * | vld |
| CCockpitManager * | pit |
| CCameraManager * | cam |
| CLevelOfDetail * | lod |
| CRadioManager * | rdo |
| CExternalLights * | elt |
| CEngineManager * | eng |
| CControlMixer * | mix |
| CChecklists * | ckl |
| CFlightControlSystem * | fcs |
| CSlopeWindData * | swd |
Protected Attributes | |
| char | make [64] |
| Make or model of aircraft used as the text in the select menu. | |
| char | iconFilename [64] |
| Filename of PBM file for icon bitmap used as the image in the select menu. | |
| int | classification |
| Airplane classification as defined in ???? | |
| int | usage |
| Airplane usage type as defined in ???? | |
| char | svhFilename [64] |
| char | gasFilename [64] |
| char | wngFilename [64] |
| char | ampFilename [64] |
| char | pssFilename [64] |
| char | whlFilename [64] |
| char | vldFilename [64] |
| char | pitFilename [64] |
| char | camFilename [64] |
| char | lodFilename [64] |
| char | rdoFilename [64] |
| char | eltFilename [64] |
| char | engFilename [64] |
| char | mixFilename [64] |
| char | cklFilename [64] |
| char | fcsFilename [64] |
| char | swdFilename [64] |
| char | sitFilename [64] |
As a descendent of CStreamObject, it is initialized from an NFO file specified in the constructor. The Read and ReadFinished methods implement the parsing of specific data tags and further initialization after the object specification has been read.
The control surface methods AileronIncr etc. cause the appropriate control surface to be deflected "up" or "down" (as defined for that particular control) by one step. Step size is an aircraft-specific attribute that is set by the user in the Aircraft->Settings dialog and stored in the HST file for each particular aircraft.
Definition at line 49 of file Airplane.h.
|
|
Definition at line 42 of file Airplane.cpp. References amp, ampFilename, cam, camFilename, ckl, cklFilename, classification, CloseStream(), elt, eltFilename, eng, engFilename, fcs, fcsFilename, SStream::filename, gas, gasFilename, gtfo, iconFilename, lod, lodFilename, make, mix, mixFilename, SStream::mode, OpenStream(), pit, pitFilename, pss, pssFilename, rdo, rdoFilename, ReadFrom(), sitFilename, svh, svhFilename, swd, swdFilename, usage, vld, vldFilename, whl, whlFilename, wng, and wngFilename. |
|
|
Definition at line 99 of file Airplane.cpp. References amp, cam, ckl, elt, eng, fcs, gas, lod, mix, pit, pss, rdo, svh, swd, vld, whl, and wng. |
|
|
Definition at line 329 of file Airplane.cpp. References amp, CBaseControl::Decr(), and CElectricalSystem::pAileron. Referenced by KeyAirplane(). |
|
|
Definition at line 319 of file Airplane.cpp. References amp, CBaseControl::Incr(), and CElectricalSystem::pAileron. Referenced by KeyAirplane(). |
|
|
Definition at line 383 of file Airplane.cpp. References amp, CBaseControl::Decr(), and CElectricalSystem::pAileronTrim. Referenced by KeyAirplane(). |
|
|
Definition at line 374 of file Airplane.cpp. References amp, CBaseControl::Incr(), and CElectricalSystem::pAileronTrim. Referenced by KeyAirplane(). |
|
|
Definition at line 347 of file Airplane.cpp. References amp, CBaseControl::Decr(), and CElectricalSystem::pElevator. Referenced by KeyAirplane(). |
|
|
Definition at line 338 of file Airplane.cpp. References amp, CBaseControl::Incr(), and CElectricalSystem::pElevator. Referenced by KeyAirplane(). |
|
|
Definition at line 401 of file Airplane.cpp. References amp, CBaseControl::Decr(), and CElectricalSystem::pElevatorTrim. Referenced by KeyAirplane(). |
|
|
Definition at line 392 of file Airplane.cpp. References amp, CBaseControl::Incr(), and CElectricalSystem::pElevatorTrim. Referenced by KeyAirplane(). |
|
||||||||||||
|
Reimplemented from CStreamObject. Definition at line 120 of file Airplane.cpp. References ampFilename, camFilename, cklFilename, classification, eltFilename, engFilename, fcsFilename, gasFilename, gtfo, iconFilename, lodFilename, make, mixFilename, pitFilename, pssFilename, rdoFilename, ReadInt(), ReadString(), sitFilename, svhFilename, swdFilename, TAG_IGNORED, TagToString(), usage, vldFilename, whlFilename, and wngFilename. |
|
|
Reimplemented from CStreamObject. Definition at line 252 of file Airplane.cpp. References amp, ampFilename, cam, camFilename, CLevelOfDetail::day, CLevelOfDetail::daynight, gas, gasFilename, lod, lodFilename, pit, pitFilename, pss, pssFilename, rdo, rdoFilename, svh, svhFilename, vld, vldFilename, wng, and wngFilename. |
|
|
Definition at line 365 of file Airplane.cpp. References amp, CBaseControl::Decr(), and CElectricalSystem::pRudder. Referenced by KeyAirplane(). |
|
|
Definition at line 356 of file Airplane.cpp. References amp, CBaseControl::Incr(), and CElectricalSystem::pRudder. Referenced by KeyAirplane(). |
|
|
Definition at line 419 of file Airplane.cpp. References amp, CBaseControl::Decr(), and CElectricalSystem::pRudderTrim. |
|
|
Definition at line 410 of file Airplane.cpp. References amp, CBaseControl::Incr(), and CElectricalSystem::pRudderTrim. Referenced by KeyAirplane(). |
|
|
Definition at line 428 of file Airplane.cpp. References amp, and CElectricalSystem::Timeslice(). Referenced by CSituation::Timeslice(). |
|
|
Definition at line 75 of file Airplane.h. Referenced by AileronDecr(), AileronIncr(), AileronTrimDecr(), AileronTrimIncr(), CAirplane(), debug_dump_electrical_cb(), ElevatorDecr(), ElevatorIncr(), ElevatorTrimDecr(), ElevatorTrimIncr(), ReadFinished(), RudderDecr(), RudderIncr(), RudderTrimDecr(), RudderTrimIncr(), SendMessageToAirplane(), Timeslice(), and ~CAirplane(). |
|
|
Definition at line 104 of file Airplane.h. Referenced by CAirplane(), Read(), and ReadFinished(). |
|
|
Definition at line 82 of file Airplane.h. Referenced by CAirplane(), CAirplaneObject::GetCameraManager(), ReadFinished(), and ~CAirplane(). |
|
|
Definition at line 109 of file Airplane.h. Referenced by CAirplane(), Read(), and ReadFinished(). |
|
|
Definition at line 88 of file Airplane.h. Referenced by CAirplane(), and ~CAirplane(). |
|
|
Definition at line 115 of file Airplane.h. Referenced by CAirplane(), and Read(). |
|
|
Definition at line 98 of file Airplane.h. Referenced by CAirplane(), and Read(). |
|
|
Definition at line 85 of file Airplane.h. Referenced by CAirplane(), and ~CAirplane(). |
|
|
Definition at line 112 of file Airplane.h. Referenced by CAirplane(), and Read(). |
|
|
Definition at line 86 of file Airplane.h. Referenced by CAirplane(), and ~CAirplane(). |
|
|
Definition at line 113 of file Airplane.h. Referenced by CAirplane(), and Read(). |
|
|
Definition at line 89 of file Airplane.h. Referenced by CAirplane(), and ~CAirplane(). |
|
|
Definition at line 116 of file Airplane.h. Referenced by CAirplane(), and Read(). |
|
|
Definition at line 77 of file Airplane.h. Referenced by CAirplane(), ReadFinished(), SendMessageToAirplane(), and ~CAirplane(). |
|
|
Definition at line 102 of file Airplane.h. Referenced by CAirplane(), Read(), and ReadFinished(). |
|
|
Definition at line 96 of file Airplane.h. Referenced by CAirplane(), and Read(). |
|
|
Definition at line 83 of file Airplane.h. Referenced by CAirplane(), CAirplaneObject::ReadFinished(), ReadFinished(), and ~CAirplane(). |
|
|
Definition at line 110 of file Airplane.h. Referenced by CAirplane(), Read(), and ReadFinished(). |
|
|
Definition at line 94 of file Airplane.h. Referenced by CAirplane(), and Read(). |
|
|
Definition at line 87 of file Airplane.h. Referenced by CAirplane(), and ~CAirplane(). |
|
|
Definition at line 114 of file Airplane.h. Referenced by CAirplane(), and Read(). |
|
|
Definition at line 81 of file Airplane.h. Referenced by CAirplane(), CAirplaneObject::DrawPanel(), CAirplaneObject::GetCockpitManager(), CAirplaneObject::GetPanel(), ReadFinished(), CAirplaneObject::SetPanel(), and ~CAirplane(). |
|
|
Definition at line 108 of file Airplane.h. Referenced by CAirplane(), Read(), and ReadFinished(). |
|
|
Definition at line 78 of file Airplane.h. Referenced by CAirplane(), ReadFinished(), and ~CAirplane(). |
|
|
Definition at line 105 of file Airplane.h. Referenced by CAirplane(), Read(), and ReadFinished(). |
|
|
Definition at line 84 of file Airplane.h. Referenced by CAirplane(), ReadFinished(), and ~CAirplane(). |
|
|
Definition at line 111 of file Airplane.h. Referenced by CAirplane(), Read(), and ReadFinished(). |
|
|
Definition at line 118 of file Airplane.h. Referenced by CAirplane(), and Read(). |
|
|
Definition at line 74 of file Airplane.h. Referenced by CAirplane(), ReadFinished(), and ~CAirplane(). |
|
|
Definition at line 101 of file Airplane.h. Referenced by CAirplane(), Read(), and ReadFinished(). |
|
|
Definition at line 90 of file Airplane.h. Referenced by CAirplane(), and ~CAirplane(). |
|
|
Definition at line 117 of file Airplane.h. Referenced by CAirplane(), and Read(). |
|
|
Definition at line 100 of file Airplane.h. Referenced by CAirplane(), and Read(). |
|
|
Definition at line 80 of file Airplane.h. Referenced by CAirplane(), ReadFinished(), and ~CAirplane(). |
|
|
Definition at line 107 of file Airplane.h. Referenced by CAirplane(), Read(), and ReadFinished(). |
|
|
Definition at line 79 of file Airplane.h. Referenced by CAirplane(), and ~CAirplane(). |
|
|
Definition at line 106 of file Airplane.h. Referenced by CAirplane(), and Read(). |
|
|
Definition at line 76 of file Airplane.h. Referenced by CAirplane(), ReadFinished(), and ~CAirplane(). |
|
|
Definition at line 103 of file Airplane.h. Referenced by CAirplane(), Read(), and ReadFinished(). |
|
|
Documentation generated by
|