VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
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
19
class
DT_DLL_VL
DtArealObjectRepository
;
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
36
class
DT_DLL_VL
DtMinefieldObjectEncoder
:
public
DtArealObjectEncoder
37
{
38
public
:
39
41
DtMinefieldObjectEncoder
(
42
DtExerciseConn
* exConn,
43
DtObjClassDesc
* classDesc);
44
46
virtual
~
DtMinefieldObjectEncoder
();
47
49
DtMinefieldObjectEncoder
(
const
DtMinefieldObjectEncoder
& orig);
50
52
DtMinefieldObjectEncoder
&
operator=
(
const
DtMinefieldObjectEncoder
& orig);
53
54
public
:
55
57
static
DtHlaStateEncoder
*
create
(
58
DtExerciseConn
* exConn,
59
DtObjClassDesc
* classDesc);
60
61
protected
:
62
63
DtDECLARE_MINE_FIELD_OBJ_ATTR_CHECKER
(BreachedStatus);
64
DtDECLARE_MINE_FIELD_OBJ_ATTR_CHECKER
(MineCount);
65
66
DtDECLARE_MINE_FIELD_OBJ_ATTR_ENCODER
(BreachedStatus);
67
DtDECLARE_MINE_FIELD_OBJ_ATTR_ENCODER
(MineCount);
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
Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)