VR-Forces 4.1.1 Class Documentation
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 {
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;
68  };
69 
71  {
74 
76  virtual ~DtIffStateData();
77 
78  typedef std::map<makVrv::DtElementID, DtIffStateDataEntry> IffStateDataMap;
80  };
81 
85 
89 
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)