VR-Forces 4.3 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
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
17
namespace
makVrv
18
{
19
class
DtMessage;
20
}
21
22
namespace
makVrf
23
{
24
struct
DT_DLL_VRFGUICORE
DtIffStateDataEntry
25
{
27
DtIffStateDataEntry
();
28
29
bool
operator==
(
const
DtIffStateDataEntry&)
const
;
30
bool
operator!=
(
const
DtIffStateDataEntry& rhs)
const
31
{
32
return
!(*
this
== rhs);
33
}
34
35
std::string
myGlobalId
;
36
std::string
myHostId
;
37
int
mySystemName
;
38
int
mySystemType
;
39
bool
mySystemOn
;
40
bool
mySystemOperational
;
41
bool
myPowerReduction
;
42
bool
myDamaged
;
43
bool
myMalfunctioning
;
44
bool
myRrbIsOn
;
45
bool
myRadarEnhancement
;
46
int
myRrbCode
;
47
48
struct
Mode
49
{
50
bool
isOn
;
51
short
code
;
52
bool
enabled
;
53
bool
malfunctioning
;
54
bool
damaged
;
55
};
56
57
Mode
myModes[6];
58
bool
myMode4CryptoAvailable
;
59
short
myMode4PseudoCrypto
;
60
int
myAlternateMode4
;
61
int
myModeCAltitude
;
62
bool
myLayer2DataAvailable
;
63
bool
myModeCAltitudeAvailable
;
64
bool
myModeSIsTcasI
;
65
bool
myIdentSquawkFlashOn
;
66
bool
myStiOn
;
67
bool
myEmergencyOn
;
68
bool
myUnmannedAircraftOn
;
69
int
myPin
;
70
bool
myMode5LevelSelection
;
71
unsigned
int
myMessageFormatsPresent
;
72
unsigned
int
myNationalOrigin
;
73
unsigned
int
myNavigationSource
;
74
unsigned
int
myFigureOfMerit
;
75
};
76
77
struct
DT_DLL_VRFGUICORE
DtIffStateData
:
public
makVrv::DtSimState
78
{
80
DtIffStateData
();
81
83
virtual
~DtIffStateData();
84
85
typedef
std::map<makVrv::DtElementID, DtIffStateDataEntry>
IffStateDataMap
;
86
IffStateDataMap
myStateData
;
87
};
88
90
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator<<
(
makVrv::DtMessage
& msg,
const
DtIffStateData
& state );
91
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator<<
(
makVrv::DtMessage
& msg,
const
DtIffStateDataEntry
& state );
92
94
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator>>
(
makVrv::DtMessage
& msg,
DtIffStateData
& state );
95
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator>>
(
makVrv::DtMessage
& msg,
DtIffStateDataEntry
& state );
96
98
typedef
makVrv::DtStateView<DtIffStateData>
DtIffStateDataView
;
99
}
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)