VR-Link API Documentation for HLA 1.3
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
packets
entityDamageStatusP.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2013 VT MAK
3
* All rights reserved.
4
****************************************************************************/
5
9
10
#pragma once
11
12
#include <
vl/packets/standardVariableRecordP.h
>
13
#include <
vl/packets/transmitterP.h
>
14
#include <
vl/packets/pduHeader.h
>
15
#include <
vlpi/netStructs.h
>
16
#include <
vl/eventId.h
>
17
18
typedef
struct
DtNetEntityDamageStatusPdu
19
{
20
DtNetPduHeader
myHeader
;
21
DtNetEntityIdentifier
myDamagedEntityId
;
22
DtNetU16
myPadding16_1
;
23
DtNetU16
myPadding16_2
;
24
DtNetU16
myNumberOfDamageRecords
;
25
// DtNetDirectedEnergyDamageDescriptionRecord damageRecords[];
26
}
DtNetEntityDamageStatusPdu
;
27
28
29
typedef
struct
DtNetDirectedEnergyDamageDescriptionRecord
:
public
DtNetStandardVariableRecord
30
{
31
32
bool
operator ==
(
const
DtNetDirectedEnergyDamageDescriptionRecord
& rhs )
const
33
{
34
return
(
myRecordType
== rhs.
myRecordType
)
35
&& (
myRecordLength
== rhs.
myRecordLength
)
36
&& (
myDamageLocation
== rhs.
myDamageLocation
)
37
&& (
myDamageDiameter
== rhs.
myDamageDiameter
)
38
&& (
myTemperature
== rhs.
myTemperature
)
39
&& (
myComponentIdentification
== rhs.
myComponentIdentification
)
40
&& (
myComponentDamageStatus
== rhs.
myComponentDamageStatus
)
41
&& (
myComponentVisualDamageStatus
== rhs.
myComponentVisualDamageStatus
)
42
&& (
myComponentVisualSmokeColor
== rhs.
myComponentVisualSmokeColor
)
43
&& (
myFireEventId
== rhs.
myFireEventId
);
44
}
45
46
bool
operator !=
(
const
DtNetDirectedEnergyDamageDescriptionRecord
& rhs )
const
47
{
48
return
!( *
this
== rhs );
49
}
50
51
DtNetU16
myPadding16_1
;
52
DtNetEntityCoordinates
myDamageLocation
;
53
DtNetFloat32
myDamageDiameter
;
54
DtNetFloat32
myTemperature
;
55
DtNetU8
myComponentIdentification
;
56
DtNetU8
myComponentDamageStatus
;
57
DtNetU8
myComponentVisualDamageStatus
;
58
DtNetU8
myComponentVisualSmokeColor
;
59
DtNetEventId
myFireEventId
;
60
DtNetU16
myPadding16_2
;
61
62
}
DtNetDirectedEnergyDamageDescriptionRecord
;
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
)