VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
munitionEntityEncoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #ifndef DtMunitionEntityEncoder_H_
8 #define DtMunitionEntityEncoder_H_
9 
10 #if DtHLA
11 
12 #include "militaryEntityEncoder.h"
13 #include "entityStateRepository.h"
14 
18 
24 
26 {
27 public:
28 
31  DtExerciseConn* exConn,
32  DtObjClassDesc* classDesc);
33 
35  virtual ~DtMunitionEntityEncoder();
36 
39 
42 
43 public:
44 
47  static DtHlaStateEncoder* create(
48  DtExerciseConn* exConn,
49  DtObjClassDesc* classDesc);
50 
51 protected:
52 
54  DtDECLARE_ENTITY_ATTR_CHECKER(LauncherFlashPresent);
55 
57  DtDECLARE_ENTITY_ATTR_ENCODER(LauncherFlashPresent);
58 };
59 
65 #define DtDEFINE_SIMPLE_MUN_ENTITY_ATTR_ENCODER( \
66  attrName, netType, inspector) \
67  DtDEFINE_SIMPLE_ATTR_ENCODER(DtMunitionEntityEncoder, \
68  DtEntityStateRepository, \
69  attrName, netType, inspector)
70 
76 #define DtDEFINE_SIMPLE_MUN_ENTITY_ATTR_CHECKER( \
77  attrName, inspector) \
78  DtDEFINE_SIMPLE_ATTR_CHECKER(DtMunitionEntityEncoder, \
79  DtEntityStateRepository, \
80  attrName, inspector)
81 
82 #endif
83 #endif
84 

Document ID: Generated on Mon Feb 6 18:36:34 EST 2017 from SVN revision 173107
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)