VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fireDecoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #ifndef DtFireDecoder_H_
8 #define DtFireDecoder_H_
9 
10 #if DtHLA
11 
12 #include "interactionDecoder.h"
13 
17 
19 
22 
23 #define DtDECLARE_FIRE_PARAM_DECODER(paramName) \
24  DtDECLARE_PARAM_DECODER(DtFireInteraction, paramName)
25 
26 #define DtDEFINE_SIMPLE_FIRE_PARAM_DECODER(paramName, netType, mutator) \
27  DtDEFINE_SIMPLE_PARAM_DECODER(DtFireDecoder, DtFireInteraction, \
28  paramName, netType, mutator)
29 
30 #define DtDEFINE_SIMPLE_FIRE_PARAM_DECODER_WITH_CAST( \
31  paramName, netType, mutator, castExpr) \
32  DtDEFINE_SIMPLE_PARAM_DECODER_WITH_CAST( \
33  DtFireDecoder, DtFireInteraction, \
34  paramName, netType, mutator, castExpr)
35 
40 
42 {
43 public:
44 
47  DtInterClassDesc* classDesc);
48 
50  virtual ~DtFireDecoder();
51 
53  DtFireDecoder(const DtFireDecoder& orig);
54 
57 
58 protected:
59 
61 
62  DtDECLARE_FIRE_PARAM_DECODER(EventIdentifier);
63  DtDECLARE_FIRE_PARAM_DECODER(FireControlSolutionRange);
64  DtDECLARE_FIRE_PARAM_DECODER(FireMissionIndex);
65  DtDECLARE_FIRE_PARAM_DECODER(FiringLocation);
66  DtDECLARE_FIRE_PARAM_DECODER(FiringObjectIdentifier);
68  DtDECLARE_FIRE_PARAM_DECODER(InitialVelocityVector);
69  DtDECLARE_FIRE_PARAM_DECODER(MunitionObjectIdentifier);
70  DtDECLARE_FIRE_PARAM_DECODER(MunitionType);
71  DtDECLARE_FIRE_PARAM_DECODER(QuantityFired);
72  DtDECLARE_FIRE_PARAM_DECODER(RateOfFire);
73  DtDECLARE_FIRE_PARAM_DECODER(TargetObjectIdentifier);
74  DtDECLARE_FIRE_PARAM_DECODER(WarheadType);
77  DtDECLARE_FIRE_PARAM_DECODER(FiringObjectID);
78  DtDECLARE_FIRE_PARAM_DECODER(MunitionObjectID);
79  DtDECLARE_FIRE_PARAM_DECODER(TargetObjectID);
80 };
81 
82 #endif
83 #endif
84 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Instances of DtInterClassDesc are used to represent HLA Object and Interaction classes.
Definition: interClassDesc.h:33
This file contains the declaration of DtInteractionDecoder.
class DtFireDecoder:
Definition: fireDecoder.h:41
#define DtDECLARE_FIRE_PARAM_DECODER(paramName)
This can be used to declare parameter processor functions which are static members of a class...
Definition: fireDecoder.h:23
Instances of DtFireInteraction are used to represent the firing of a weapon.
Definition: fireInteractionHLA.h:35
DtInteractionDecoder & operator=(const DtInteractionDecoder &orig)
assignment operator - not implemented.
Instances of DtInteractionDecoder are used to decode interactions from the network.
Definition: interactionDecoder.h:37

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)