VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
minefieldObjectEncoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #if DtHLA
8 
9 #ifndef minefieldObjectEncoder_H_
10 #define minefieldObjectEncoder_H_
11 
12 
13 #include "arealObjectEncoder.h"
14 
18 
20 
23 #define DtDECLARE_MINE_FIELD_OBJ_ATTR_CHECKER(attrName) \
24  DtDECLARE_ATTR_CHECKER(DtArealObjectRepository, attrName)
25 
28 #define DtDECLARE_MINE_FIELD_OBJ_ATTR_ENCODER(attrName) \
29  DtDECLARE_ATTR_ENCODER(DtArealObjectRepository, attrName)
30 
35 
37 {
38 public:
39 
42  DtExerciseConn* exConn,
43  DtObjClassDesc* classDesc);
44 
46  virtual ~DtMinefieldObjectEncoder();
47 
50 
53 
54 public:
55 
57  static DtHlaStateEncoder* create(
58  DtExerciseConn* exConn,
59  DtObjClassDesc* classDesc);
60 
61 protected:
62 
65 
68 };
69 
75 #define DtDEFINE_SIMPLE_MINE_FIELD_OBJ_ATTR_ENCODER( \
76  attrName, netType, inspector) \
77  DtDEFINE_SIMPLE_ATTR_ENCODER(DtMinefieldObjectEncoder, \
78  DtArealObjectRepository, \
79  attrName, netType, inspector)
80 
86 #define DtDEFINE_SIMPLE_MINE_FIELD_OBJ_ATTR_CHECKER( \
87  attrName, inspector) \
88  DtDEFINE_SIMPLE_ATTR_CHECKER(DtMinefieldObjectEncoder, \
89  DtArealObjectRepository, \
90  attrName, inspector)
91 
92 #endif //hMinefldObjEnc_H_
93 
94 #endif //DtHLA
95 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:60
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
#define DtDECLARE_MINE_FIELD_OBJ_ATTR_ENCODER(attrName)
This is used to declare attribute encoding functions which are members of the class.
Definition: minefieldObjectEncoder.h:28
DtHlaStateEncoder is used to provide encoding of a state repository into a state message in an HLA (a...
Definition: hlaStateEncoder.h:30
Instances of DtArealObjectEncoder are used to encode areal object state messages from a state reposit...
Definition: arealObjectEncoderHLA.h:31
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc13.h:41
DtArealObjectEncoder & operator=(const DtArealObjectEncoder &orig)
Assignment operator.
#define DtDECLARE_MINE_FIELD_OBJ_ATTR_CHECKER(attrName)
This is used to declare static member functions for determining whether or not an attribute needs to ...
Definition: minefieldObjectEncoder.h:23
class DtMinefieldObjectEncoder:
Definition: minefieldObjectEncoder.h:36
static DtHlaStateEncoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtBaseEntityEncoder. Caller is responsible for deletion.
Instances of DtArealObjectRepository are used to maintain state information needed by areal object en...
Definition: arealObjectRepository.h:30
This file provides protocol independence for areal object encoder includes.

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)