![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2012 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 00008 00009 #pragma once 00010 00011 #include "vrfobjcore/objectSensorPSR.h" 00012 #include "vrfutil/rwBoolean.h" 00013 #include "vrfobjcore/vrfobjcoreDefines.h" 00014 00017 class DT_DLL_vrfobjcore DtRotaryWingFlightCommandControllerPSR : public DtObjectSensorPSR 00018 { 00019 public: 00020 00022 DtRotaryWingFlightCommandControllerPSR(DtVrfObject* vrfObject, 00023 const DtString& rwName = DtString::nullString(), 00024 DtReaderWriterRegistry* parentRegistry = 0); 00025 00027 DtRotaryWingFlightCommandControllerPSR(const DtRotaryWingFlightCommandControllerPSR& orig, 00028 const DtString& rwName = DtString::nullString(), 00029 DtReaderWriterRegistry* parentRegistry = 0); 00030 00032 virtual ~DtRotaryWingFlightCommandControllerPSR(); 00033 00035 DtRotaryWingFlightCommandControllerPSR& operator=(const DtRotaryWingFlightCommandControllerPSR& orig); 00036 00038 virtual DtVrfProcessStateRepository* clone( 00039 const DtString& rwName = DtString::nullString(), 00040 DtReaderWriterRegistry* parentRegistry = 0) const; 00041 00043 virtual DtString type() const; 00044 00046 00047 virtual void setLastCommandedHeading(double heading); 00048 virtual double lastCommandedHeading() const; 00050 00052 static DtVrfProcessStateRepository* creator (const DtString& rwName, 00053 DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry); 00054 00055 protected: 00056 DtRwReal myLastCommandedHeading; 00057 };