![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2004 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: underFireDeterCompDesc.h,v $ $Revision: 1.7 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00014 00015 #ifndef underFireDeterCompDesc_H_ 00016 #define underFireDeterCompDesc_H_ 00017 00018 #include "vrfobjparam/compDesc.h" 00019 #include "vrfutil/rwReal.h" 00020 #include "vrfutil/vlClock.h" 00021 #include "vrfutil/rwBoolean.h" 00022 00025 #include "vrfobjparam/vrfobjparamDefines.h" 00026 class DT_DLL_vrfobjparam DtUnderFireDeterminationComponentDescriptor : public DtComponentDescriptor 00027 { 00028 public: 00030 DtUnderFireDeterminationComponentDescriptor(const DtSymbolString& name, 00031 DtReaderWriterRegistry* parentRegistry = NULL); 00032 00034 DtUnderFireDeterminationComponentDescriptor( 00035 const DtUnderFireDeterminationComponentDescriptor& orig, 00036 DtReaderWriterRegistry* parentRegistry = NULL); 00037 00039 DtUnderFireDeterminationComponentDescriptor& operator=( 00040 const DtUnderFireDeterminationComponentDescriptor& orig); 00041 00043 virtual ~DtUnderFireDeterminationComponentDescriptor(); 00044 00047 virtual DtString type() const; 00048 00049 virtual DtComponentDescriptor* clone( 00050 DtReaderWriterRegistry* parentRegistry = NULL) const; 00051 00054 virtual DtTime underFireTime() const; 00055 virtual void setUnderFireTime(DtTime underFireTime); 00057 00060 virtual DtReal underFireDistance() const; 00061 virtual void setUnderFireDistance(DtReal underFireDistance); 00063 00066 virtual bool underFireFromFriendly() const; 00067 virtual void setUnderFireFromFriendly(bool underFireFromFriendly); 00069 00071 static DtComponentDescriptor* creator(); 00072 00073 protected: 00075 DtUnderFireDeterminationComponentDescriptor(); 00076 00077 protected: 00081 00087 DtRwTime myUnderFireTime; 00088 00094 DtRwReal myUnderFireDistance; 00095 00100 DtRwBoolean myUnderFireFromFriendly; 00101 00103 }; 00104 00105 #endif 00106 00107 00108