![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2003 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: aggregateMoveIntoFormDesc.h,v $ $Revision: 1.8 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00014 00015 #ifndef DtAggregateMoveIntoFormationDescriptor_H_ 00016 #define DtAggregateMoveIntoFormationDescriptor_H_ 00017 00018 00019 #include "vrfobjparam/compDesc.h" 00020 #include "vrfutil/rwBoolean.h" 00021 00022 class DtReaderWriterRegistry; 00023 00031 #include "vrfobjparam/vrfobjparamDefines.h" 00032 class DT_DLL_vrfobjparam DtAggregateMoveIntoFormationDescriptor : public DtComponentDescriptor 00033 { 00034 public: 00036 DtAggregateMoveIntoFormationDescriptor(const DtString& name, DtReaderWriterRegistry * 00037 parentRegistry = 0); 00038 00040 DtAggregateMoveIntoFormationDescriptor(const DtAggregateMoveIntoFormationDescriptor & orig, 00041 DtReaderWriterRegistry * parentRegistry = 0); 00042 00044 DtAggregateMoveIntoFormationDescriptor & operator=(const 00045 DtAggregateMoveIntoFormationDescriptor & orig); 00046 00048 virtual ~DtAggregateMoveIntoFormationDescriptor(); 00049 00053 virtual DtString type() const; 00054 00055 00058 virtual bool stopMovingUponArrival() const; 00059 virtual void setStopMovingUponArrival(bool yesNo); 00061 00064 virtual bool turnToHeadingUponArrival() const; 00065 virtual void setTurnToHeadingUponArrival(bool yesNo); 00067 00070 virtual bool groundClamp() const; 00071 virtual void setGroundClamp(bool yesNo); 00073 00074 virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry 00075 = 0) const; 00076 00078 static DtComponentDescriptor * creator(); 00079 00080 protected: 00082 DtAggregateMoveIntoFormationDescriptor(); 00083 00084 protected: 00085 00089 00096 DtRwBoolean myStopMovingUponArrival; 00097 00105 DtRwBoolean myTurnToHeadingUponArrival; 00106 00112 DtRwBoolean myGroundClamp; 00113 00115 }; 00116 00117 #endif 00118 00119 00120