VR-Link API Documentation for HLA Evolved
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
minefieldObjectDecoder.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 minefieldObjectDecoder_H_
10
#define minefieldObjectDecoder_H_
11
12
13
#include "
arealObjectDecoder.h
"
14
18
19
class
DT_DLL_VL
DtArealObjectRepository
;
20
23
#define DtDECLARE_MINE_FIELD_OBJ_ATTR_DECODER(attrName) \
24
DtDECLARE_ATTR_DECODER(DtArealObjectRepository, attrName)
25
30
31
class
DT_DLL_VL
DtMinefieldObjectDecoder
:
public
DtArealObjectDecoder
32
{
33
public
:
34
36
DtMinefieldObjectDecoder
(
37
DtExerciseConn
* exConn,
38
DtObjClassDesc
* classDesc);
39
41
virtual
~
DtMinefieldObjectDecoder
();
42
44
DtMinefieldObjectDecoder
(
const
DtMinefieldObjectDecoder
& orig);
45
47
DtMinefieldObjectDecoder
&
operator
=
48
(
const
DtMinefieldObjectDecoder
& orig);
49
50
public
:
51
53
static
DtHlaStateDecoder
*
create
(
54
DtExerciseConn
* exConn,
55
DtObjClassDesc
* classDesc);
56
57
protected
:
60
DtDECLARE_MINE_FIELD_OBJ_ATTR_DECODER
(BreachedStatus);
61
DtDECLARE_MINE_FIELD_OBJ_ATTR_DECODER
(MineCount);
62
};
63
69
#define DtDEFINE_SIMPLE_MINE_FIELD_OBJ_ATTR_DECODER_WITH_CAST( \
70
attrName, netType, mutator, castExpr) \
71
DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
72
DtMinefieldObjectDecoder, DtArealObjectRepository, \
73
attrName, netType, mutator, castExpr)
74
75
#define DtDEFINE_SIMPLE_MINE_FIELD_OBJ_ATTR_DECODER( \
76
attrName, netType, inspector) \
77
DtDEFINE_SIMPLE_MINE_FIELD_OBJ_ATTR_DECODER_WITH_CAST( \
78
attrName, netType, inspector, (netType))
79
80
#endif //hMinefldObjDec_H_
81
82
#endif //DtHLA
83
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
)