![]() |
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 hDetDec_H_ 00008 #define hDetDec_H_ 00009 00010 #if DtHLA 00011 00012 #include "interDecoder.h" 00013 00014 00015 00016 #include <vlpi/articulatedPartCollection.h> 00017 #include <vlpi/NetStructs.h> 00021 00022 class DtDetonationInteraction; 00023 00026 00027 #define DtDECLARE_DETONATION_PARAM_DECODER(paramName) \ 00028 DtDECLARE_PARAM_DECODER(DtDetonationInteraction, paramName) 00029 00030 #define DtDEFINE_SIMPLE_DETONATION_PARAM_DECODER( \ 00031 paramName, netType, mutator) \ 00032 DtDEFINE_SIMPLE_PARAM_DECODER( \ 00033 DtDetonationDecoder, DtDetonationInteraction, \ 00034 paramName, netType, mutator) 00035 00036 #define DtDEFINE_SIMPLE_DETONATION_PARAM_DECODER_WITH_CAST( \ 00037 paramName, netType, mutator, castExpr) \ 00038 DtDEFINE_SIMPLE_PARAM_DECODER_WITH_CAST( \ 00039 DtDetonationDecoder, DtDetonationInteraction, \ 00040 paramName, netType, mutator, castExpr) 00041 00046 00047 class DT_DLL_VL DtDetonationDecoder : public DtInteractionDecoder 00048 { 00049 public: 00050 00052 DtDetonationDecoder(DtExerciseConn* exConn, 00053 DtInterClassDesc* classDesc); 00054 00056 virtual ~DtDetonationDecoder(); 00057 00059 DtDetonationDecoder(const DtDetonationDecoder& orig); 00060 00062 DtDetonationDecoder& operator=(const DtDetonationDecoder& orig); 00063 00064 protected: 00065 00067 00068 DtDECLARE_DETONATION_PARAM_DECODER(ArticulatedPartData); 00069 DtDECLARE_DETONATION_PARAM_DECODER(DetonationLocation); 00070 DtDECLARE_DETONATION_PARAM_DECODER(DetonationResultCode); 00071 DtDECLARE_DETONATION_PARAM_DECODER(EventIdentifier); 00072 DtDECLARE_DETONATION_PARAM_DECODER(FiringObjectIdentifier); 00073 DtDECLARE_DETONATION_PARAM_DECODER(FinalVelocityVector); 00074 DtDECLARE_DETONATION_PARAM_DECODER(FuseType); 00075 DtDECLARE_DETONATION_PARAM_DECODER(MunitionObjectIdentifier); 00076 DtDECLARE_DETONATION_PARAM_DECODER(MunitionType); 00077 DtDECLARE_DETONATION_PARAM_DECODER(QuantityFired); 00078 DtDECLARE_DETONATION_PARAM_DECODER(RateOfFire); 00079 DtDECLARE_DETONATION_PARAM_DECODER(RelativeDetonationLocation); 00080 DtDECLARE_DETONATION_PARAM_DECODER(TargetObjectIdentifier); 00081 DtDECLARE_DETONATION_PARAM_DECODER(WarheadType); 00082 00084 DtDECLARE_DETONATION_PARAM_DECODER(DetonationResult); 00085 DtDECLARE_DETONATION_PARAM_DECODER(EventID); 00086 DtDECLARE_DETONATION_PARAM_DECODER(FiringObjectID); 00087 DtDECLARE_DETONATION_PARAM_DECODER(MunitionObjectID); 00088 DtDECLARE_DETONATION_PARAM_DECODER(TargetObjectID); 00089 DtDECLARE_DETONATION_PARAM_DECODER(ArticulatedPartsArray); 00090 }; 00091 00092 #endif 00093 #endif 00094