VR-Forces 4.0.4 Class Documentation
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes
DtVrfFixedWingLandingPSR Class Reference

class DtVrfFixedWingLandingPSR: More...

Inheritance diagram for DtVrfFixedWingLandingPSR:
Inheritance graph
[legend]

List of all members.

Public Types

enum  DtLandingControllerState {
  DtLandingStateIdle = 0, DtLandingStateGenerateApproachPoint, DtFlyingTowardsApproachRoute, DtLandingStateFlyingAlongApproachRoute,
  DtLandingStateMovingAlongLandingStrip, DtLandingStateMovingAlongLandingRouteRemainder
}

Public Member Functions

 DtVrfFixedWingLandingPSR (DtVrfObject *vrfObject, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
 constructor
 DtVrfFixedWingLandingPSR (const DtVrfFixedWingLandingPSR &orig, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
 copy constructor
virtual ~DtVrfFixedWingLandingPSR ()
 destructor
DtVrfFixedWingLandingPSRoperator= (const DtVrfFixedWingLandingPSR &orig)
 assignment operator
virtual
DtVrfProcessStateRepository
clone (const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const
 returns a newly created copy of this object
virtual DtString type () const
 Returns the string type of the repository, as defined in procSRTypes.h.
virtual void setControlPointName (const DtString &)
 Set/get current route being followed for approach.
virtual const DtStringcontrolPointName () const
 Set/get current route being followed for approach.
virtual void setLandingStripName (const DtString &)
 Set/get the landing strip to land on once the approach route is complete.
virtual const DtStringlandingStripName () const
 Set/get the landing strip to land on once the approach route is complete.
virtual void setApproachSpeedSet (bool b)
 Whether the approach speed has been set for this landing.
virtual bool approachSpeedSet () const
 Whether the approach speed has been set for this landing.
virtual void setLandingState (DtLandingControllerState state)
 Set/get current state.
virtual DtLandingControllerState landingState () const
 Set/get current state.

Static Public Member Functions

static
DtVrfProcessStateRepository
creator (const DtString &rwName, DtVrfObject *vrfObject, DtReaderWriterRegistry *parentRegistry)
 Returns a newly created instance of this class.

Protected Attributes

DtRwInt myLandingControllerState
DtRwString myControlPointName
DtRwString myLandingStripName
DtRwBoolean myApproachSpeedSet

Detailed Description

class DtVrfFixedWingLandingPSR:

Instances of DtVrfFixedWingLandingPSR are used to hold the shared/checkpointable data for a fixed wing that is in the process of landing.


Member Enumeration Documentation

Enumerator:
DtLandingStateIdle 
DtLandingStateGenerateApproachPoint 
DtFlyingTowardsApproachRoute 
DtLandingStateFlyingAlongApproachRoute 
DtLandingStateMovingAlongLandingStrip 
DtLandingStateMovingAlongLandingRouteRemainder 

Constructor & Destructor Documentation

DtVrfFixedWingLandingPSR::DtVrfFixedWingLandingPSR ( DtVrfObject vrfObject,
const DtString rwName = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = 0 
)

constructor

DtVrfFixedWingLandingPSR::DtVrfFixedWingLandingPSR ( const DtVrfFixedWingLandingPSR orig,
const DtString rwName = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = 0 
)

copy constructor

destructor


Member Function Documentation

DtVrfFixedWingLandingPSR& DtVrfFixedWingLandingPSR::operator= ( const DtVrfFixedWingLandingPSR orig)

assignment operator

virtual DtVrfProcessStateRepository* DtVrfFixedWingLandingPSR::clone ( const DtString rwName = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = 0 
) const [virtual]

returns a newly created copy of this object

Implements DtVrfProcessStateRepository.

virtual DtString DtVrfFixedWingLandingPSR::type ( ) const [virtual]

Returns the string type of the repository, as defined in procSRTypes.h.

(DtVrfFixedWingLandingProcessStateRepositoryType).

Implements DtVrfProcessStateRepository.

virtual void DtVrfFixedWingLandingPSR::setControlPointName ( const DtString ) [virtual]

Set/get current route being followed for approach.

virtual const DtString& DtVrfFixedWingLandingPSR::controlPointName ( ) const [virtual]

Set/get current route being followed for approach.

virtual void DtVrfFixedWingLandingPSR::setLandingStripName ( const DtString ) [virtual]

Set/get the landing strip to land on once the approach route is complete.

virtual const DtString& DtVrfFixedWingLandingPSR::landingStripName ( ) const [virtual]

Set/get the landing strip to land on once the approach route is complete.

virtual void DtVrfFixedWingLandingPSR::setApproachSpeedSet ( bool  b) [virtual]

Whether the approach speed has been set for this landing.

virtual bool DtVrfFixedWingLandingPSR::approachSpeedSet ( ) const [virtual]

Whether the approach speed has been set for this landing.

Set/get current state.

Set/get current state.

static DtVrfProcessStateRepository* DtVrfFixedWingLandingPSR::creator ( const DtString rwName,
DtVrfObject vrfObject,
DtReaderWriterRegistry parentRegistry 
) [static]

Returns a newly created instance of this class.


Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)