VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfGuiCore
iffStateData.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
#pragma once
12
13
#include <
vrfGuiCore/vrfGuiCore.h
>
14
#include <
vrvCore/DtSimState.h
>
15
#include <
vrvCore/DtStateView.h
>
16
#include <
vrvCore/DtStateViewCollection.h
>
17
18
namespace
makVrv
19
{
20
class
DtMessage;
21
}
22
23
namespace
makVrf
24
{
25
struct
DT_DLL_VRFGUICORE
DtIffStateDataEntry
26
{
28
DtIffStateDataEntry
();
29
30
bool
operator==
(
const
DtIffStateDataEntry&)
const
;
31
bool
operator!=
(
const
DtIffStateDataEntry& rhs)
const
32
{
33
return
!(*
this
== rhs);
34
}
35
36
std::string
myGlobalId
;
37
std::string
myHostId
;
38
int
mySystemName
;
39
int
mySystemType
;
40
bool
mySystemOn
;
41
bool
mySystemOperational
;
42
bool
myPowerReduction
;
43
bool
myDamaged
;
44
bool
myMalfunctioning
;
45
bool
myRrbIsOn
;
46
bool
myRadarEnhancement
;
47
int
myRrbCode
;
48
49
struct
Mode
50
{
51
bool
isOn
;
52
short
code
;
53
bool
enabled
;
54
bool
malfunctioning
;
55
bool
damaged
;
56
};
57
58
Mode
myModes[6];
59
bool
myMode4CryptoAvailable
;
60
short
myMode4PseudoCrypto
;
61
int
myAlternateMode4
;
62
int
myModeCAltitude
;
63
bool
myLayer2DataAvailable
;
64
bool
myModeCAltitudeAvailable
;
65
bool
myModeSIsTcasI
;
66
bool
myIdentSquawkFlashOn
;
67
bool
myStiOn
;
68
bool
myEmergencyOn
;
69
bool
myUnmannedAircraftOn
;
70
int
myPin
;
71
bool
myMode5LevelSelection
;
72
unsigned
int
myMessageFormatsPresent
;
73
unsigned
int
myNationalOrigin
;
74
unsigned
int
myNavigationSource
;
75
unsigned
int
myFigureOfMerit
;
76
};
77
78
struct
DT_DLL_VRFGUICORE
DtIffStateData
:
public
makVrv::DtSimState
79
{
81
DtIffStateData
();
82
84
virtual
~DtIffStateData();
85
86
typedef
std::map<makVrv::DtElementID, DtIffStateDataEntry>
IffStateDataMap
;
87
IffStateDataMap
myStateData
;
88
};
89
91
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator<<
(
makVrv::DtMessage
& msg,
const
DtIffStateData
& state );
92
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator<<
(
makVrv::DtMessage
& msg,
const
DtIffStateDataEntry
& state );
93
95
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator>>
(
makVrv::DtMessage
& msg,
DtIffStateData
& state );
96
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator>>
(
makVrv::DtMessage
& msg,
DtIffStateDataEntry
& state );
97
99
typedef
makVrv::DtStateView<DtIffStateData>
DtIffStateDataView
;
100
102
class
DT_DLL_VRFGUICORE
DtIffStateDataViewCollection
:
public
makVrv::DtStateViewCollection
<DtIffStateData>
103
{
104
public
:
105
DtIffStateDataViewCollection
(
makVrv::DtDe
& de) :
106
makVrv::DtStateViewCollection<
DtIffStateData
>(de, makVrv::DtSimEntryUpdater::NoUpdates)
107
{
108
}
109
};
110
}
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)