VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rrbIffEncoder.h
Go to the documentation of this file.
1 #if DtHLA
2 
3 #ifndef DtRRBIffEncoder_H_
4 #define DtRRBIffEncoder_H_
5 
6 #include "iffEncoder.h"
7 
11 
13 
17 #define DtDECLARE_RRB_IFF_ATTR_ENCODER(attrName) \
18  DtDECLARE_ATTR_ENCODER(DtIffStateRepository, attrName)
19 
20 #define DtDECLARE_RRB_IFF_ATTR_CHECKER(attrName) \
21  DtDECLARE_ATTR_CHECKER(DtIffStateRepository, attrName)
22 
28 #define DtDEFINE_SIMPLE_RRB_IFF_ATTR_CHECKER( \
29  attrName, inspector) \
30  DtDEFINE_SIMPLE_ATTR_CHECKER(DtRRBIffEncoder, \
31  DtIffStateRepository, attrName, inspector)
32 
38 #define DtDEFINE_SIMPLE_RRB_IFF_ATTR_ENCODER( \
39  attrName, netType, mutator) \
40  DtDEFINE_SIMPLE_ATTR_ENCODER( \
41  DtRRBIffEncoder, DtIffStateRepository, \
42  attrName, netType, mutator)
43 
44 
46 {
47 public:
50  DtExerciseConn* exConn,
51  DtObjClassDesc* classDesc);
52 
54  virtual ~DtRRBIffEncoder();
55 
57  DtRRBIffEncoder(const DtRRBIffEncoder& orig);
58 
61 
62 public:
63 
64  static DtHlaStateEncoder* create(
65  DtExerciseConn* exConn,
66  DtObjClassDesc* classDesc);
67 
68 protected:
69 
71  DtDECLARE_RRB_IFF_ATTR_CHECKER(PowerReduction);
73  DtDECLARE_RRB_IFF_ATTR_CHECKER(IsMalfunctioning);
75  DtDECLARE_RRB_IFF_ATTR_CHECKER(RadarEnhancement);
76 
78  DtDECLARE_RRB_IFF_ATTR_ENCODER(PowerReduction);
80  DtDECLARE_RRB_IFF_ATTR_ENCODER(IsMalfunctioning);
82  DtDECLARE_RRB_IFF_ATTR_ENCODER(RadarEnhancement);
83 };
84 
85 #endif
86 #endif
87 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:58
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file provides a declaration of the class DtIffEncoder.
Defines a protocol independent repository of attributes for IFF objects.
Definition: iffStateRepository.h:57
#define DtDECLARE_RRB_IFF_ATTR_ENCODER(attrName)
This one can be used to declare the attribute decoding functions, which are static members of DtNatoI...
Definition: rrbIffEncoder.h:17
DtHlaStateEncoder is used to provide encoding of a state repository into a state message in an HLA (a...
Definition: hlaStateEncoder.h:30
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc1516.h:41
The DtIffEncoder class:
Definition: iffEncoder.h:90
#define DtDECLARE_RRB_IFF_ATTR_CHECKER(attrName)
Definition: rrbIffEncoder.h:20
static DtHlaStateEncoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
DtIffEncoder & operator=(const DtIffEncoder &orig)
assignment operator
Definition: rrbIffEncoder.h:45

Document ID: Generated on Tue Aug 10 00:12:31 EDT 2021 from SVN revision 232765
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)