VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 {
25  {
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;
39  bool mySystemOn;
42  bool myDamaged;
44  bool myRrbIsOn;
46  int myRrbCode;
47 
48  struct Mode
49  {
50  bool isOn;
51  short code;
52  bool enabled;
54  bool damaged;
55  };
56 
57  Mode myModes[6];
66  bool myStiOn;
69  int myPin;
72  unsigned int myNationalOrigin;
73  unsigned int myNavigationSource;
74  unsigned int myFigureOfMerit;
75  };
76 
78  {
81 
83  virtual ~DtIffStateData();
84 
85  typedef std::map<makVrv::DtElementID, DtIffStateDataEntry> IffStateDataMap;
87  };
88 
92 
96 
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)