VR-Link API Documentation for DIS
hDetEnc.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 
00006 
00007 #ifndef hDetEnc_H_
00008 #define hDetEnc_H_
00009 
00010 #if   DtHLA 
00011 
00012 #include "interEncoder.h"
00013 
00017 
00018 class DtDetonationInteraction;
00019 
00020 #define DtDECLARE_DETONATION_PARAM_ENCODER(paramName) \
00021    DtDECLARE_PARAM_ENCODER(DtDetonationInteraction, paramName)
00022 
00023 #define DtDEFINE_SIMPLE_DETONATION_PARAM_ENCODER(paramName, netType, inspector) \
00024    DtDEFINE_SIMPLE_PARAM_ENCODER(DtDetonationEncoder, DtDetonationInteraction, \
00025                               paramName, netType, \
00026                               inspector)
00027 
00032 
00033 class DT_DLL_VL DtDetonationEncoder : public DtInteractionEncoder
00034 {
00035 public:
00036 
00037    DtDetonationEncoder(DtExerciseConn* exConn,
00038       DtInterClassDesc* classDesc);
00039 
00041    virtual ~DtDetonationEncoder();
00042 
00044    DtDetonationEncoder(const DtDetonationEncoder& orig);
00045 
00047    DtDetonationEncoder& operator=(const DtDetonationEncoder& orig);
00048 
00049 protected:
00050 
00051    DtDECLARE_DETONATION_PARAM_ENCODER(ArticulatedPartData);
00052    DtDECLARE_DETONATION_PARAM_ENCODER(DetonationLocation);
00053    DtDECLARE_DETONATION_PARAM_ENCODER(DetonationResultCode);
00054    DtDECLARE_DETONATION_PARAM_ENCODER(EventIdentifier);
00055    DtDECLARE_DETONATION_PARAM_ENCODER(FiringObjectIdentifier);
00056    DtDECLARE_DETONATION_PARAM_ENCODER(FinalVelocityVector);
00057    DtDECLARE_DETONATION_PARAM_ENCODER(FuseType);
00058    DtDECLARE_DETONATION_PARAM_ENCODER(MunitionObjectIdentifier);
00059    DtDECLARE_DETONATION_PARAM_ENCODER(MunitionType);
00060    DtDECLARE_DETONATION_PARAM_ENCODER(QuantityFired);
00061    DtDECLARE_DETONATION_PARAM_ENCODER(RateOfFire);
00062    DtDECLARE_DETONATION_PARAM_ENCODER(RelativeDetonationLocation);
00063    DtDECLARE_DETONATION_PARAM_ENCODER(TargetObjectIdentifier);
00064    DtDECLARE_DETONATION_PARAM_ENCODER(WarheadType);
00065 
00067    DtDECLARE_DETONATION_PARAM_ENCODER(DetonationResult);
00068    DtDECLARE_DETONATION_PARAM_ENCODER(EventID);
00069    DtDECLARE_DETONATION_PARAM_ENCODER(FiringObjectID);
00070    DtDECLARE_DETONATION_PARAM_ENCODER(MunitionObjectID);
00071    DtDECLARE_DETONATION_PARAM_ENCODER(TargetObjectID);
00072    DtDECLARE_DETONATION_PARAM_ENCODER(ArticulatedPartsArray);
00073 };
00074 
00075 #endif
00076 #endif
00077 
00078 
00079 

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)