VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfSimulatedSimObjectFacade.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
10 #include <vrfutil/echelonId.h>
11 
12 class DtRwProperties;
13 
14 #define CHECK_IS_VALID(Method) if (!isUsable()) throw DtUnimplementedMethod("The " #Method " is not applicable for the given object.");
15 
27 {
28 public:
32 
34  bool isUsable() const;
35 
37  int sessionId() const;
38 
40  bool activated() const;
41 
43  bool assumeUnknownIsHostile() const;
44 
46  bool independentlyTasked() const;
47 
49  bool underFire() const;
50 
52  bool isTasked() const;
53 
55  const DtString& extendedData(const DtString&) const;
56 
58  std::map<DtString, DtString> extendedDataMap() const;
59 
61  DtString extendedLabel(int index) const;
62 
64  std::map<int, DtString> extendedLabels() const;
65 
67  DtString label() const;
68 
70  bool invulnerable() const;
71 
73  bool invisible() const;
74 
76  DtEchelonId echelonId() const;
77 
79  bool sensorsKilled() const;
80 
82  bool occupantsHidden() const;
83 
85  bool hasPlan() const;
86 
88  bool executingPlan() const;
89 
91  const DtRwProperties& stateProperties() const;
92 
95  const DtRwProperties& parameterProperties() const;
96 
98  bool undetectable() const;
99 
101  DtString activity() const;
102 
104  DtString engagementRules() const;
105 
107  bool invisibleSetByUser() const;
108 
110  bool isVrfSimulated() const;
111 
113  DtString overlay() const;
114 
116  bool fuelLevelsFrozen() const;
117 
119  bool munitionLevelsFrozen() const;
120 
122  bool isSubordinateOfForceLevel() const;
123 
125  bool hasTarget() const;
126 
128  bool blockParachute() const;
129 
131  bool onTerrainSurface() const;
132 
133 protected:
135  virtual DtSimObjectReference simObject() const = 0;
136  virtual void setupDecorator();
137 };
138 
DtSimObjectFacade< DtVrfSimulatedSimObjectFacadeInterface > DtVrfSimulatedSimObjectFacade
Definition: vrfSimulatedSimObjectFacade.h:139
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Definition: echelonId.h:13
A list of properties. A DtPropertyInterface object that is a specialized version of DtRwVariableBindi...
Definition: rwProperties.h:126
This DtVrfSimulatedSimObjectFacadeInterface class will provide accessors for data that is available t...
Definition: vrfSimulatedSimObjectFacade.h:26

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)