VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
munitionEntityDecoder.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 DtMunitionEntityDecoder_H_
8 #define DtMunitionEntityDecoder_H_
9 
10 #if DtHLA
11 
12 #include "militaryEntityDecoder.h"
13 
17 
19 
25 
26 class DT_DLL_VL DtMunitionEntityDecoder : public DtMilitaryEntityDecoder
27 {
28 public:
29 
31  DtMunitionEntityDecoder(
32  DtExerciseConn* exConn,
33  DtObjClassDesc* classDesc);
34 
36  virtual ~DtMunitionEntityDecoder();
37 
39  DtMunitionEntityDecoder(const DtMunitionEntityDecoder& orig);
40 
42  DtMunitionEntityDecoder& operator=(const DtMunitionEntityDecoder& orig);
43 
44 public:
45 
48  static DtHlaStateDecoder* create(
49  DtExerciseConn* exConn,
50  DtObjClassDesc* classDesc);
51 
52 protected:
53 
57  void addMyDecoders();
58 
60  DtDECLARE_ENTITY_ATTR_DECODER(LauncherFlashPresent);
61 };
62 
68 #define DtDEFINE_SIMPLE_MUN_ENTITY_ATTR_DECODER_WITH_CAST( \
69  attrName, netType, mutator, castExpr) \
70  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
71  DtMunitionEntityDecoder, DtEntityStateRepository, \
72  attrName, netType, mutator, castExpr)
73 
74 #define DtDEFINE_SIMPLE_MUN_ENTITY_ATTR_DECODER( \
75  attrName, netType, inspector) \
76  DtDEFINE_SIMPLE_MUN_ENTITY_ATTR_DECODER_WITH_CAST( \
77  attrName, netType, inspector, (netType))
78 
79 #endif
80 #endif
81 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.h:62
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a...
Definition: entityStateRepository.h:41

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)