VR-Forces 4.0.4 Class Documentation
include/vrfobjcore/fixWngTakeoffPSR.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2005 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: fixWngTakeoffPSR.h,v $ $Revision: 1.4 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DtVrfFixedWingTakeoffPSR_H_
00013 #define DtVrfFixedWingTakeoffPSR_H_
00014 
00015 #include "vrfobjcore/processSR.h"
00016 #include "vrfutil/rwString.h"
00017 #include "vrfutil/rwInt.h"
00018 #include "vrfutil/rwString.h"
00019 
00024 
00025 #include "vrfobjcore/vrfobjcoreDefines.h"
00026 class DT_DLL_vrfobjcore DtVrfFixedWingTakeoffPSR : public DtVrfProcessStateRepository
00027 {
00028 public:
00029    enum DtTakeoffControllerState
00030    {
00031       DtTakeoffStateIdle = 0,
00032       DtMovingAlongTakeoffRoute,
00033       DtFlyingTowardsTakeoffPoint
00034    };
00035 
00036 public:
00038    DtVrfFixedWingTakeoffPSR(DtVrfObject* vrfObject, 
00039       const DtString& rwName = DtString::nullString(), 
00040       DtReaderWriterRegistry*  parentRegistry = 0);
00041 
00043    DtVrfFixedWingTakeoffPSR(const DtVrfFixedWingTakeoffPSR& orig,
00044       const DtString& rwName = DtString::nullString(), 
00045       DtReaderWriterRegistry*  parentRegistry = 0);
00046 
00048    virtual ~DtVrfFixedWingTakeoffPSR();
00049 
00051    DtVrfFixedWingTakeoffPSR& operator=(const DtVrfFixedWingTakeoffPSR& orig);
00052 
00054    virtual DtVrfProcessStateRepository* clone(
00055       const DtString& rwName = DtString::nullString(), 
00056       DtReaderWriterRegistry*  parentRegistry = 0) const;
00057 
00060    virtual DtString type() const;
00061 
00065    virtual void setLandingStripName(const DtString&);
00066    virtual const DtString& landingStripName() const;
00068 
00071    virtual void setTakeoffState(DtTakeoffControllerState state);
00072    virtual DtTakeoffControllerState takeoffState() const;
00074 
00075 public:
00076 
00078    static DtVrfProcessStateRepository* creator (const DtString& rwName,
00079       DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
00080 
00081 protected:
00082    DtRwInt        myTakeoffControllerState;
00083    DtRwString     myLandingStripName;
00084 };
00085 
00086 #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)