VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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>
17 
18 namespace makVrv
19 {
20  class DtMessage;
21 }
22 
23 namespace makVrf
24 {
26  {
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;
40  bool mySystemOn;
43  bool myDamaged;
45  bool myRrbIsOn;
47  int myRrbCode;
48 
49  struct Mode
50  {
51  bool isOn;
52  short code;
53  bool enabled;
55  bool damaged;
56  };
57 
58  Mode myModes[6];
67  bool myStiOn;
70  int myPin;
73  unsigned int myNationalOrigin;
74  unsigned int myNavigationSource;
75  unsigned int myFigureOfMerit;
76  };
77 
79  {
82 
84  virtual ~DtIffStateData();
85 
86  typedef std::map<makVrv::DtElementID, DtIffStateDataEntry> IffStateDataMap;
88  };
89 
93 
97 
100 
103  {
104  public:
106  makVrv::DtStateViewCollection<DtIffStateData>(de, makVrv::DtSimEntryUpdater::NoUpdates)
107  {
108  }
109  };
110 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)