![]() |
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 DtMunitionEncoder_H_ 00008 #define DtMunitionEncoder_H_ 00009 00010 #if DtHLA 00011 00012 #include "hPhysEntEnc.h" 00013 #include "entitySR.h" 00014 00018 00024 00025 class DT_DLL_VL DtMunitionEncoder : public DtPhysicalEntityEncoder 00026 { 00027 public: 00028 00030 DtMunitionEncoder( 00031 DtExerciseConn* exConn, 00032 DtObjClassDesc* classDesc); 00033 00035 virtual ~DtMunitionEncoder(); 00036 00038 DtMunitionEncoder(const DtMunitionEncoder& orig); 00039 00041 DtMunitionEncoder& operator=(const DtMunitionEncoder& orig); 00042 00043 public: 00044 00047 static DtHlaStateEncoder* create( 00048 DtExerciseConn* exConn, 00049 DtObjClassDesc* classDesc); 00050 00051 protected: 00052 00054 DtDECLARE_ENTITY_ATTR_CHECKER(LauncherFlashPresent); 00055 00057 DtDECLARE_ENTITY_ATTR_ENCODER(LauncherFlashPresent); 00058 }; 00059 00065 #define DtDEFINE_SIMPLE_MUN_ATTR_ENCODER( \ 00066 attrName, netType, inspector) \ 00067 DtDEFINE_SIMPLE_ATTR_ENCODER(DtMunitionEncoder, \ 00068 DtEntityStateRepository, \ 00069 attrName, netType, inspector) 00070 00076 #define DtDEFINE_SIMPLE_MUN_ATTR_CHECKER( \ 00077 attrName, inspector) \ 00078 DtDEFINE_SIMPLE_ATTR_CHECKER(DtMunitionEncoder, \ 00079 DtEntityStateRepository, \ 00080 attrName, inspector) 00081 00082 #endif 00083 #endif 00084