Public Member Functions | Private Types | Private Member Functions | Private Attributes

program::P51Aircraft Class Reference

P-51D Mustang. More...

#include <_src_program_aircraft_models.hh>

List of all members.

Public Member Functions

 P51Aircraft (shptr< Graph > graph, const WorldVertex &pos)
 ~P51Aircraft ()
virtual const string GetName (void)
CLASS_METHOD const AircraftSpecsClassGetSpecs (void)
virtual const AircraftSpecsGetSpecs (void)
virtual void SetLandingGear (const bool down)
virtual bool IfHasPropeller (void)
virtual void RotateControlSurfaces (const uint axis, const fp controlFraction)

Private Types

typedef Aircraft Parent

Private Member Functions

virtual void Tick (const Milliseconds millisecElapsed)
void RotatePropeller (void)

Private Attributes

shptr< SubgraphmSubgraphPropeller1
 this particular P-51 model
shptr< SubgraphmSubgraphPropeller2
 has two nodes for a 4 bladed propeller
shptr< SubgraphmSubgraphLeftGearWheel
shptr< SubgraphmSubgraphLeftGearStrut
shptr< SubgraphmSubgraphLeftInnerGearCover
shptr< SubgraphmSubgraphLeftOuterGearCover
shptr< SubgraphmSubgraphLeftTailGearDoor
shptr< SubgraphmSubgraphRightGearWheel
shptr< SubgraphmSubgraphRightGearStrut
shptr< SubgraphmSubgraphRightInnerGearCover
shptr< SubgraphmSubgraphRightOuterGearCover
shptr< SubgraphmSubgraphRightTailGearDoor
shptr< SubgraphmSubgraphTailGearWheel
shptr< SubgraphmSubgraphTailGearStrut
shptr< SubgraphmSubgraphAileronLeft
shptr< SubgraphmSubgraphAileronRight
shptr< SubgraphmSubgraphElevatorLeft
shptr< SubgraphmSubgraphElevatorRight
shptr< SubgraphmSubgraphRudder
shptr< SubgraphmSubgraphJunk0
shptr< SubgraphmSubgraphJunk1

Detailed Description

P-51D Mustang.


Member Typedef Documentation

typedef Aircraft program::P51Aircraft::Parent [private]

Constructor & Destructor Documentation

program::P51Aircraft::P51Aircraft ( shptr< Graph graph,
const WorldVertex &  pos 
)
program::P51Aircraft::~P51Aircraft (  ) 

Member Function Documentation

const AircraftSpecs & program::P51Aircraft::ClassGetSpecs ( void   ) 
virtual const string program::P51Aircraft::GetName ( void   )  [inline, virtual]
const AircraftSpecs & program::P51Aircraft::GetSpecs ( void   )  [virtual]
Returns:
Aircraft specifications struct.
virtual bool program::P51Aircraft::IfHasPropeller ( void   )  [inline, virtual]
void program::P51Aircraft::RotateControlSurfaces ( const uint  axis,
const fp  controlFraction 
) [virtual]

Rotate control surfaces (ailerons etc).

void program::P51Aircraft::RotatePropeller ( void   )  [private]

Rotate propeller.

void program::P51Aircraft::SetLandingGear ( const bool  down  )  [virtual]

Retract/extend landing gear.

virtual void program::P51Aircraft::Tick ( const Milliseconds  millisecElapsed  )  [private, virtual]

Member Data Documentation

this particular P-51 model

has two nodes for a 4 bladed propeller


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:12