![]() |
VR-Forces 4.0.4 Class Documentation
|
class DtVrfFixedWingLandingPSR: More...

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 | |
| DtVrfFixedWingLandingPSR & | operator= (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 DtString & | controlPointName () 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 DtString & | landingStripName () 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 |
class DtVrfFixedWingLandingPSR:
Instances of DtVrfFixedWingLandingPSR are used to hold the shared/checkpointable data for a fixed wing that is in the process of landing.
| 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
| virtual DtVrfFixedWingLandingPSR::~DtVrfFixedWingLandingPSR | ( | ) | [virtual] |
destructor
| 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.
| virtual void DtVrfFixedWingLandingPSR::setLandingState | ( | DtLandingControllerState | state | ) | [virtual] |
Set/get current state.
| virtual DtLandingControllerState DtVrfFixedWingLandingPSR::landingState | ( | ) | const [virtual] |
Set/get current state.
| static DtVrfProcessStateRepository* DtVrfFixedWingLandingPSR::creator | ( | const DtString & | rwName, |
| DtVrfObject * | vrfObject, | ||
| DtReaderWriterRegistry * | parentRegistry | ||
| ) | [static] |
Returns a newly created instance of this class.