VR-Link API Documentation for HLA Evolved
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vl
lifeformEncoder.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 DtLifeformEncoder_H_
8
#define DtLifeformEncoder_H_
9
10
#if DtHLA
11
12
#include "
physicalEntityEncoder.h
"
13
#include "
entityStateRepository.h
"
14
18
24
25
class
DT_DLL_VL
DtLifeformEncoder
:
public
DtPhysicalEntityEncoder
26
{
27
public
:
28
30
DtLifeformEncoder
(
31
DtExerciseConn
* exConn,
32
DtObjClassDesc
* classDesc);
33
35
virtual
~
DtLifeformEncoder
();
36
38
DtLifeformEncoder
(
const
DtLifeformEncoder
& orig);
39
41
DtLifeformEncoder
&
operator=
(
const
DtLifeformEncoder
& orig);
42
43
public
:
44
47
static
DtHlaStateEncoder
*
create
(
48
DtExerciseConn
* exConn,
49
DtObjClassDesc
* classDesc);
50
51
protected
:
52
54
DtDECLARE_ENTITY_ATTR_CHECKER
(FlashLightsOn);
55
DtDECLARE_ENTITY_ATTR_CHECKER
(StanceCode);
56
DtDECLARE_ENTITY_ATTR_CHECKER
(PrimaryWeaponState);
57
DtDECLARE_ENTITY_ATTR_CHECKER
(SecondaryWeaponState);
58
DtDECLARE_ENTITY_ATTR_CHECKER
(ComplianceState);
59
61
DtDECLARE_ENTITY_ATTR_ENCODER
(FlashLightsOn);
62
DtDECLARE_ENTITY_ATTR_ENCODER
(StanceCode);
63
DtDECLARE_ENTITY_ATTR_ENCODER
(PrimaryWeaponState);
64
DtDECLARE_ENTITY_ATTR_ENCODER
(SecondaryWeaponState);
65
DtDECLARE_ENTITY_ATTR_ENCODER
(ComplianceState);
66
};
67
73
#define DtDEFINE_SIMPLE_LIFEFORM_ATTR_ENCODER( \
74
attrName, netType, inspector) \
75
DtDEFINE_SIMPLE_ATTR_ENCODER( \
76
DtLifeformEncoder, \
77
DtEntityStateRepository, \
78
attrName, netType, inspector)
79
85
#define DtDEFINE_SIMPLE_LIFEFORM_ATTR_CHECKER( \
86
attrName, inspector) \
87
DtDEFINE_SIMPLE_ATTR_CHECKER( \
88
DtLifeformEncoder, \
89
DtEntityStateRepository, \
90
attrName, inspector)
91
92
#define DtDEFINE_LIFEFORM_LIGHT_ATTR_CHECKER(attrName, arg1) \
93
DtDEFINE_LIGHT_ATTR_CHECKER(DtLifeformEncoder, attrName, arg1)
94
95
#define DtDEFINE_LIFEFORM_LIGHT_ATTR_ENCODER(attrName, arg1) \
96
DtDEFINE_LIGHT_ATTR_ENCODER(DtLifeformEncoder, attrName, arg1)
97
98
#endif
99
#endif
100
Document ID: Generated on Thu Feb 22 04:26:36 EST 2018 from SVN revision 186468
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)