VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCore
DtIffStateData.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2012 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
};
69
70
struct
DT_DLL_VRFGUICORE
DtIffStateData
:
public
makVrv::DtSimState
71
{
73
DtIffStateData
();
74
76
virtual
~DtIffStateData();
77
78
typedef
std::map<makVrv::DtElementID, DtIffStateDataEntry>
IffStateDataMap
;
79
IffStateDataMap
myStateData
;
80
};
81
83
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator<<
(
makVrv::DtMessage
& msg,
const
DtIffStateData
& state );
84
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator<<
(
makVrv::DtMessage
& msg,
const
DtIffStateDataEntry
& state );
85
87
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator>>
(
makVrv::DtMessage
& msg,
DtIffStateData
& state );
88
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator>>
(
makVrv::DtMessage
& msg,
DtIffStateDataEntry
& state );
89
91
typedef
makVrv::DtStateView<DtIffStateData>
DtIffStateDataView
;
92
}
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)