VR-Forces 4.0.4 Class Documentation
include/vrfobjcore/fixWngLandingPSR.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2005 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: fixWngLandingPSR.h,v $ $Revision: 1.7 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DtVrfFixedWingLandingPSR_H_
00013 #define DtVrfFixedWingLandingPSR_H_
00014 
00015 #include "vrfobjcore/processSR.h"
00016 #include "vrfutil/rwString.h"
00017 #include "vrfutil/rwInt.h"
00018 #include "vrfutil/rwVector.h"
00019 #include "vrfutil/rwBoolean.h"
00020 
00025 
00026 #include "vrfobjcore/vrfobjcoreDefines.h"
00027 class DT_DLL_vrfobjcore DtVrfFixedWingLandingPSR : public DtVrfProcessStateRepository
00028 {
00029 public:
00030    enum DtLandingControllerState
00031    {
00032       DtLandingStateIdle = 0,
00033       DtLandingStateGenerateApproachPoint,
00034       DtFlyingTowardsApproachRoute,
00035       DtLandingStateFlyingAlongApproachRoute,
00036       DtLandingStateMovingAlongLandingStrip,
00037       DtLandingStateMovingAlongLandingRouteRemainder
00038    };
00039 
00040 public:
00042    DtVrfFixedWingLandingPSR(DtVrfObject* vrfObject, 
00043       const DtString& rwName = DtString::nullString(), 
00044       DtReaderWriterRegistry*  parentRegistry = 0);
00045 
00047    DtVrfFixedWingLandingPSR(const DtVrfFixedWingLandingPSR& orig,
00048       const DtString& rwName = DtString::nullString(), 
00049       DtReaderWriterRegistry*  parentRegistry = 0);
00050 
00052    virtual ~DtVrfFixedWingLandingPSR();
00053 
00055    DtVrfFixedWingLandingPSR& operator=(const DtVrfFixedWingLandingPSR& orig);
00056 
00058    virtual DtVrfProcessStateRepository* clone(
00059       const DtString& rwName = DtString::nullString(), 
00060       DtReaderWriterRegistry*  parentRegistry = 0) const;
00061 
00064    virtual DtString type() const;
00065 
00068    virtual void setControlPointName(const DtString&);
00069    virtual const DtString& controlPointName() const;
00071 
00075    virtual void setLandingStripName(const DtString&);
00076    virtual const DtString& landingStripName() const;
00078 
00081    virtual void setApproachSpeedSet(bool b);
00082    virtual bool approachSpeedSet() const;
00084 
00087    virtual void setLandingState(DtLandingControllerState state);
00088    virtual DtLandingControllerState landingState() const;
00090 
00091 public:
00092 
00094    static DtVrfProcessStateRepository* creator (const DtString& rwName,
00095       DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
00096 
00097 protected:
00098    DtRwInt        myLandingControllerState;
00099    DtRwString     myControlPointName;
00100    DtRwString     myLandingStripName;
00101    DtRwBoolean    myApproachSpeedSet;
00102 };
00103 
00104 #endif

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)