![]() |
VR-Link API Documentation for HLA 1.3
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00006 00007 #ifndef DtMilitaryPlatformEntityEncoder_H_ 00008 #define DtMilitaryPlatformEntityEncoder_H_ 00009 00010 #if DtHLA 00011 00012 #include "hMilEntEnc.h" 00013 #include "entitySR.h" 00014 00018 00024 00025 class DT_DLL_VL DtMilitaryPlatformEntityEncoder : public DtMilitaryEntityEncoder 00026 { 00027 public: 00028 00030 DtMilitaryPlatformEntityEncoder( 00031 DtExerciseConn* exConn, 00032 DtObjClassDesc* classDesc); 00033 00035 virtual ~DtMilitaryPlatformEntityEncoder(); 00036 00038 DtMilitaryPlatformEntityEncoder( 00039 const DtMilitaryPlatformEntityEncoder& orig); 00040 00042 DtMilitaryPlatformEntityEncoder& operator=( 00043 const DtMilitaryPlatformEntityEncoder& orig); 00044 00045 public: 00046 00049 static DtHlaStateEncoder* create( 00050 DtExerciseConn* exConn, 00051 DtObjClassDesc* classDesc); 00052 00053 protected: 00054 00056 DtDECLARE_ENTITY_ATTR_CHECKER(AfterburnerOn); 00057 DtDECLARE_ENTITY_ATTR_CHECKER(HasAmmunitionSupplyCap); 00058 DtDECLARE_ENTITY_ATTR_CHECKER(LauncherRaised); 00059 00061 DtDECLARE_ENTITY_ATTR_ENCODER(AfterburnerOn); 00062 DtDECLARE_ENTITY_ATTR_ENCODER(HasAmmunitionSupplyCap); 00063 DtDECLARE_ENTITY_ATTR_ENCODER(LauncherRaised); 00064 }; 00065 00071 #define DtDEFINE_SIMPLE_MIL_PLAT_ENTITY_ATTR_ENCODER( \ 00072 attrName, netType, inspector) \ 00073 DtDEFINE_SIMPLE_ATTR_ENCODER(DtMilitaryPlatformEntityEncoder, \ 00074 DtEntityStateRepository, \ 00075 attrName, netType, inspector) 00076 00082 #define DtDEFINE_SIMPLE_MIL_PLAT_ENTITY_ATTR_CHECKER( \ 00083 attrName, inspector) \ 00084 DtDEFINE_SIMPLE_ATTR_CHECKER(DtMilitaryPlatformEntityEncoder, \ 00085 DtEntityStateRepository, \ 00086 attrName, inspector) 00087 00088 #endif 00089 #endif 00090